Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 107831

Summary: Removing generated classes doesn't trigger automatic rebuild
Product: [Eclipse Project] JDT Reporter: Max Gilead <max.gilead>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: iyers
Version: 3.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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. ***