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'm using NetBeans IDE 6.5 Beta (Build 200808111757) under Sun's JDK 1.6.0_02 on Windows XP. I have created a new empty SQL Module type project, and noticed that although the comments in build.xml include pre-dist: called before jar building empty "extension" targets, that target is not in fact empty. In addition to the <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> comments it also contains tasks to create the ${build.dir}/META-INF directory and calls the generate-wsdl-artifacts task. If I were to follow the advice in build.xml and override the target, I would inadvertently break the generation... If these steps truly need to be done before dist_se, then following the examples of the compile & test sections they ought to be moved into a pre-pre-dist target. That certainly makes sense for the mkdir tasks (by comparison with pre-pre-compile which contains the mkdir for ${build.classes.dir}) though the generate-wsdl-artifacts task should probably be moved into dist_se or given its own target. One other observation; the SQL Module's build-impl.xml uses "pre-dist" and "post-dist" etc., while other project types generally use "-post-dist" and "-post-dist" to hide such targets from 'ant -projecthelp' since they're not intended to be called from outside the build script.
Another thing I noticed - pre-dist creates the ${build.dir} and ${build.dir}/META-INF directories, but the do-clean target only removes ${dist.dir}. After running the "clean" target, the build directory is still present.
Changed target milestone.