ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "edumudi.viswanath@oracle.com" <edumudi.viswan...@oracle.com>
Subject how to change name of war & ear file based on user input values
Date Tue, 21 Jul 2009 12:00:48 GMT
Hi,

 

I have an build.xml file.

 

If I  run the target "ear-target" using  ant -Dxyz=1 -Dyyy=1 ear-target    @ command prompt,
it should create webpro11.ear & webpro11.war

 

& if I run "ear-target" using  ant -Dxyz=1  -Dyyy=2  ear-target    @ command prompt, it
should create webpro12.ear & webpro12.ear

 

How can I achieve this ?

 

Any idea?

 

Thanks in adavance.

 

Regards,

evviswanath


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message