This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It is undesirable for "ant compile" (or test-compile) to leave behind *.class files corresponding to sources which have been deleted (or renamed). It is worse if it leaves behind entries in META-INF/generated-layer.xml, as these can lead to runtime errors.
Attempting to fix in core-main #ec6cd43f5ba0; hope there will not be side effects.
Integrated into 'main-golden', will be available in build *200906120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ec6cd43f5ba0 User: Jesse Glick <jglick@netbeans.org> Log: #166888: turn off incremental builds for a module if it looks like a source file has been deleted.
contrib #1d7977c9a430 fixes an issue in j2ee.blueprints. This module creates build/gensrc and then compiles it (to build/classes), independently of src. CustomJavac.cleanUpStaleClasses caused problems sometimes: ant -f contrib/j2ee.blueprints/build.xml clean netbeans touch contrib/j2ee.blueprints/src/org/netbeans/modules/j2ee/blueprints/BluePrintsComponent.java ant -f contrib/j2ee.blueprints/build.xml netbeans => failure, since Nbcatalog.class looks stale, so build/classes recreated, but then gensrc not found.
(In reply to comment #3) > contrib #1d7977c9a430 fixes an issue in j2ee.blueprints (in conjunction with #8530b93f5c0d)