ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashokkumar B <ashokkumar.b...@tcs.com>
Subject Re: ANT application.xml add &lt;module&gt; runtime
Date Tue, 14 Dec 2010 16:22:37 GMT
Antoine Levy-Lambert <antoine <at> gmx.de> writes:

 
 This would be more a question for the users list Ashok.
 
 Would you mind reposting there ?
 
 Antoine
 
 On 12/14/2010 10:39 AM, 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.
 
 



Dear Antoine,

Sorry for the inconvenience.

Thanks and Regards,
Ashokkumar B.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message