Is it possible to create ant build file from java code using ant API? Thank you for your help.
+3
A:
No ANT api doesn't provide such feature. You'll have to use one of the following solution to "manually" write your build.xml file:
- Serialization to file output stream
- DOM + Xerces serialization to file output stream
- SAX + Xerces serialization to file output stream
Manuel Selva
2010-09-13 10:52:07
A:
This post may be able to help you.
In this post author is trying to run Java application from another application using ANT API.
Jaydeep
2010-09-13 11:34:01