Bug 27532 - Rebuild sometimes introduces invalid errors
Summary: Rebuild sometimes introduces invalid errors
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.2   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-02 16:17 EST by Judy Mullins CLA
Modified: 2013-04-24 08:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Judy Mullins CLA 2002-12-02 16:17:45 EST
If a project contains two source folders, and one of the folders is also an 
output folder, a rebuild of the project can result in a number of errors that 
are not valid. Performing the rebuild again appears to correct the invalid 
errors. If the project only contains one source folder, that is also an output 
folder, the problem does not occur. 

The problem can be reproduced the first time a rebuild is done on a project 
that does not contain *.class files yet. The customer also occasionally sees 
the issue when doing builds (the customer stated that it appears to do a 
rebuild in some cases). 

Please note that along with having two source folders, with one of the folders 
also being an output folder, the problem is not reproducible using just any 
source code. The structure of the source code also appears to play a role 
regarding whether the problem occurs. 

The test case is not publicly available.  Please contact support@oti.com for 
the test case.
Comment 1 Adam Kiezun CLA 2002-12-03 03:35:19 EST
moving to jcore
Comment 2 Kent Johnson CLA 2002-12-03 13:37:55 EST
Please email the testcase.
Comment 3 Kent Johnson CLA 2002-12-03 16:08:35 EST
Fixed & released into latest 2.1 build.

This problem requires that the output folder is the same as one of the source 
folders, while another source folder has 'new' packages & types AND there are 
more than 1000 (our current limit) source files to compile.

To work around this problem in 2.0.x builds, perform 2 full builds... the first 
full build will create all the packages in the 'output' folder & everything 
should work fine from then on.
Comment 4 David Audel CLA 2002-12-19 09:17:11 EST
Verified.
Comment 5 Herbert Neureiter CLA 2013-04-24 08:06:20 EDT
Ramp down policy was defined under http://wiki.eclipse.org/Stardust/Project_Plan/Ramp_Down
Comment 6 Herbert Neureiter CLA 2013-04-24 08:07:45 EDT
Sorry, ignore previous comment, was meant to be added to a different ticket...