tags:

views:

198

answers:

1

It seems like it's a fairly common thing to do. I want to create a new Java application that does not have any existing source files, but be able to edit the Ant scripts.

+1  A: 

You should be able to edit any Ant file that Netbeans generates as part of a new project. They're stored in the project folder (the one that contains the nbproject directory) as build.xml, which in turn references build-impl.xml.

The idea is that you can edit build.xml in order to override the Ant targets in build-impl.xml.

yalestar
I don't see a way to edit them inside of NetBeans, however, but I'll poke around some more.
Thomas Owens
build.xml will be in the root of your project. You'll see it in the "Files" window but not in the "Project" window.
Dave Smith