XMLTask may be of help. Check out
http://www.oopsconsultancy.com/software/xmltask
On 14/12/2010 16:19, Ashokkumar B wrote:
Dear Sir/Madam,
Currently we need to add only one<module> into my application.xml file using
ANT. To achive that, we have a template for application.xml with token $module$
and it will be replaced with actual module name using<replace> task. The
changed application.xml will be used for the<ear> task to generate the EAR
file.
Similarly I need to add EJB jars as<module> in my application.xml file.
<module id="EJB_12345">
<ejb>lsbframelib.jar</ejb>
</module>
I can keep application.xml as a template if I know the number of EJB jar files
exactly and I can use<replace> task to replace the token with exact jar file .
But it may vary according to the project.
Say if I have 'n' number of EJB jar files, I need to mention all such jar files
as modules in my application.xml file.
How to achieve this?
Please let me know if it is clear or not.
Thanks and Regards,
Ashokkumar B.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
--
Brian Agnew http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org