What does ant mean for netbeans "Clean & Build"?

I try to automatically copy files after the "dist" directory has been created and populated. The "-post-jar" and "-post-compile" targets provided by ant seem to run before the dist directory is created. I cannot find the actual build target in the build-impl.xml file. So I tried to put the command directly in build-impl.xml, but I can’t determine the correct target.

edit: -post-jar really works, however I'm still wondering what target is being called.

+4
source share
2 answers

Change the Ant settings to start the build using mode verbose, and you’ll get a better idea of ​​what goals are accomplished and when. build-impl.xmlprobably includes other assembly files from the NetBeans installation, where you can find all the details (some targets are defined using macros, and this is not very readable).

+1
source

Cleaning and assembly causes the following ant targets:

  • clean
  • Deps Bank
+1
source

All Articles