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:
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.