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.
I run "ant clean" in core-main repository (with modified files) and it failed with compile error. It seems to be something wrong in build scripts because test-clean tries to compile dependent modules: test-clean: [echo] test.unit.folder [parseprojectxml] d:\Development\hg\core-main\nbbuild\netbeans\java3\modules\org-netbeans-modules-form.jar missing for d:\Development\hg\core-main\form.j2ee; will first try to build d:\Development\hg\core-main\form
Might be a problem of excessive target dependencies in nbbuild/templates/common.xml. Anyway the real problem is likely that 'ant clean' fell back to module-by-module cleaning, which is unreliable and slow; normally 'hg clean' will be used, but only if you have no files with status '?'. See my message of a couple weeks ago on nbdev.