Hi I came to know that we can use Ant API in Java Programming to make the Dyanamic WAR creation. The scenario is like this --> I have to select set of files and create some XML documents online and make them as WAR. I could able to make all of the above except WAR file generation. I need some help how can I make use of ANT API in Java Program (A Servlet may be) to create a dynamic WAR file on the fly.
Thanks for your time and help in advance Srinivas Ivaturi.
Srinivas, If you're not already familiar with it, I'm just pointing out that as part of the Ant binaries download is the API documentation. While it doesn't include a complete example that I've noticed, the classes, including the War task class, do seem to be documented well enough to be able to piece things together. If you're looking for more direction on getting started using the API, just ask. (If you're having trouble finding the API documentation, take a look at ANT_HOME/docs/manual/api/index.html)