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.
We have the .class files in the source tree for internal reasons. We have configured build.classes.dir=${src.dir} in the project properties and we have hidden .class files for the view. In previous q-builds, cleaning the .class files for build-clean was accomplished by putting this into build.xml (as advised by the experts in the newsgroups): <target name="post-clean" depends="init"> <echo message="Deleting all classes from ${build.classes.dir}"/> <delete> <fileset dir="${build.classes.dir}" includes="**/*.class"/> </delete> </target> This does not work anymore in the current q-build. The .class files are just not being deleted. Any advice would be greatly appreciated (we cannot post to the newsgroups anymore at the moment). Using JDK 1.4.2_05.
First of all, do not use the nbbuild component. This is for the nb.org build process. If you are unsure which component to use, use 'ide', or 'projects' if it is definitely related to the project system.
So to answer your question, post-clean was renamed -post-clean. Check build-impl.xml.