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.
The template used to have a Sample Ant Project is not usable like that. So my proposal is to replace it by a reworked template, permetting to click on run without having nothing to change. And, if any, the user can modify it.
Created attachment 10762 [details] the new proposed template
I would make some stylistic changes: - I think e.g. ${class.dir} is preferred in the Ant world to ${classDir} - ${projectName}.jar should maybe be its own var - should use only '/' and not '\' for paths - should avoid uppercase letters in paths such as "Doc"
Please, do it. No problem for me
Any news ? Is it checked in somewhere ? If no, what's the reason ? Do you need more info ? Vincent
Why a so simple fix than a template is not yet commited in the trunk after 5 months now ? Please give me rights to commit it myself then. Thanks a lot. Vincent
I can do it for the next release.
Had to make a number changes to the submitted script - the comments listed before, plus various Ant usage corrections, fixes to format the XML in such a way that it will not be reformatted by using the Explorer structure manipulation, etc. ant/src/org/apache/tools/ant/module/resources/SampleProject.xml_ 1.11