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.
IDE could create build script for custom task created from template, easy one just for compilation and jarring and possible deploying. It's likely that the custom task will be used also outside of IDE (and one would need to compile it). It could be also pasted into some existing script for building the project which is the custom task used in.
I don't think this could be useful enough. Typical use of a custom task: <javac srcdir="tasks" destdir="tasks"/> <taskdef name="mytask" classname="my.Task" classpath="tasks"/> Given that the template would not know for sure (1) what your task would be called, (2) what its class name would be (might be able to guess at this), (3) what its class path would be, there would be pretty much nothing left for it to provide; you would do as much work fixing what the template provided, as you would writing it from scratch. And the Ant code to build the task would probably be in some other script anyway, so the user would have to copy and paste the generated code elsewhere, then delete the silly 2- or 3-line script it was in. If there is ever a general Ant wizard for adding entries to build scripts when new objects are made, then for the type of new object "Ant task" this could insert a couple lines like those above--just as "Java source" or "JSP" would insert something. Until then I don't think this would work well though.
OK.
Resolved for 3.3.x or earlier, no new info since then -> closing.