Bug 107831 - Removing generated classes doesn't trigger automatic rebuild
Summary: Removing generated classes doesn't trigger automatic rebuild
Status: RESOLVED DUPLICATE of bug 99497
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 112053 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-24 07:40 EDT by Max Gilead CLA
Modified: 2005-10-19 15:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Gilead CLA 2005-08-24 07:40:15 EDT
Removing generated classes from output directory doesn't trigger automatic
rebuild. I'm not sure if this is intended or not, but Project->Build Project
menu entry is disabled when automatic rebuilding is enabled so I suppose it's
not intended behavior. However if current behavior is correct then I suggest to
enable Project->Build Project and Project->Build All menu entries so that there
is an intuitive way to trigger rebuild manually.

Workaround is to clean the project, but it may not be obvious, especially for
less experienced users.
Comment 1 Olivier Thomann CLA 2005-08-24 08:31:51 EDT
As far as I know, the output folder is not supposed to be managed by the user.
The builder is responsible of putting files there.
Kent any comment?
Comment 2 Kent Johnson CLA 2005-08-24 10:10:56 EDT
Why are you removing .class files?
Comment 3 Max Gilead CLA 2005-08-24 10:44:35 EDT
Our release script did it, which I ran by accident. It was obviously my fault
but the point is, I believe there should be an obvious way of fixing such
situation or detect it and fix automatically.
Comment 4 Kent Johnson CLA 2005-08-24 12:11:17 EDT
The obvious way is to clean the project so its rebuilt.

We are looking into some automated detection, but that is being tracked in bug 
99497

*** This bug has been marked as a duplicate of 99497 ***
Comment 5 Kent Johnson CLA 2005-10-19 15:18:53 EDT
*** Bug 112053 has been marked as a duplicate of this bug. ***