I have a J2EE app with a web module (app-web.war) and an ejb module app-ejb.jar file. Now I need to create an application.xml file based on the two modules using ant tool, (I know how to create the application.xml using an IDE). Can some one help.
Probably the simplest thing to do is to write a little Java program that reads the necessary files and creates the application.xml using java.io. Then invoke the Java program from Ant using the <java> task.
If you want to be clever, you might be able to get a better result by using XSL and the <style> task, but I bet the Java program is your best bet.
Hello Irshad, how did you decide?
I've got the same problem now, too.
Did you succeed? Do you need help?