RE: how to change name of war & ear file based on user input values

2009-07-21 Thread Scot P. Floess
should be like this webpro2.ear. For thet do I need to write & ? Please help Thanks & regards, vishy -Original Message- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Tuesday, July 21, 2009 6:12 PM To: Ant Users List Subject: Re: how to change name of war & ea

RE: how to change name of war & ear file based on user input values

2009-07-21 Thread edumudi.viswan...@oracle.com
--- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Tuesday, July 21, 2009 6:12 PM To: Ant Users List Subject: Re: how to change name of war & ear file based on user input values Well just include the environment variables in your call to the ear task... For example, I am modifying

Re: how to change name of war & ear file based on user input values

2009-07-21 Thread Scot P. Floess
Well just include the environment variables in your call to the ear task... For example, I am modifying the example given in the Ant documentation for creating an ear: appxml="${src.dir}/metadata/application.xml"> HTH, Flossy On Tue, 21 Jul 2009, edumudi.viswan...@oracle.com wro

how to change name of war & ear file based on user input values

2009-07-21 Thread edumudi.viswan...@oracle.com
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 &