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.
Seen while building, invoking nbbuild/build.xml from a different dir to build an installer: Process 'mdr/jmiutils' location with 'clean' target clean: init: deps-clean: clean: Deleting directory /space/nb_another/nbbuild As you can imagine, this causes some problems with the build continuing :-/ java/parser has the same problem. The problem is in your build-impl.xml - I have no idea why, but there is this: <target name="-do-clean" depends="init"> <delete dir="${build.dir}"/> <---!!!!!!!!!!!!!! <delete dir="${dist.dir}"/> </target> Best would simply be to use the standard netbeans module project type. At any rate, deleting nbbuild is not acceptable and some sort of check is needed.
Tomasi, please take a look at it.
I've done the following on my Linux: cd nb_all ant -f nbbuild/build.xml clean and the clean process has finished as it was expected: [delete] Deleting directory /home/tom/Projects/netbeans/trunk/nb_all/mdr/jmiutils/build [delete] Deleting directory /home/tom/Projects/netbeans/trunk/nb_all/mdr/jmiutils/dist If you did something else please describe what you did. Honza was testing it on Windows and it worked fine, the same holds for MacOS X.
Ah. The problem is that the ant script which is calling nbbuild/build.xml is overriding ${build.dir}.