Re: problem with macrodef in ant

2009-07-30 Thread edumudi.viswan...@oracle.com
does that answer your question? On Wed, 29 Jul 2009, edumudi.viswan...@oracle.com wrote: > Hi Scot P. Floess, > > I changed according to ur suggestion. It worked. > > Can u alloborate your exploration for

RE: problem with macrodef in ant

2009-07-29 Thread edumudi.viswan...@oracle.com
def for 2 different targets. will i try with >> different macrodef for every target? >> >> -Original Message- >>> From Scot P. Floess >> Sent Tue 7/28/2009 4:49 PM >> To Ant Users List >> Subject RE: problem with macrodef in ant >> >>

RE: problem with macrodef in ant

2009-07-28 Thread edumudi.viswan...@oracle.com
. Its just how you are using the property internal to your macrodef... Stock Ant you cannot reset a property once you set it :) On Tue, 28 Jul 2009, edumudi.viswan...@oracle.com wrote: > Further to below mail, I found that it failing @ the following code in > mac

RE: problem with macrodef in ant

2009-07-28 Thread edumudi.viswan...@oracle.com
ogging.properties"/> > > > > > > > > > > -Original Message- From: edumudi.viswan...@oracle.com [mailto:edumudi.viswan...@oracle.com] Sent: Tuesday, July 28, 2009 8:16 PM To: A

RE: problem with macrodef in ant

2009-07-28 Thread edumudi.viswan...@oracle.com
buildingfile2] Here is the build.xml I used: On Tue, 28 Jul 2009, edumudi.viswan...@oracle.com wrote: > Hi Friends, > > I have macrodef in build.xml & it took parameters like wsdlfile & bindingfile > fro

problem with macrodef in ant

2009-07-28 Thread edumudi.viswan...@oracle.com
Hi Friends, I have macrodef in build.xml & it took parameters like wsdlfile & bindingfile from wsdl2java tag ie . Now, If I run macrodef with wsdlfile1 & bindingfile1, It works asusually. But if I run same macrodef again with wsdlfile2 & bindingfile2, In that case it taking previous bindingfi

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

2009-07-21 Thread edumudi.viswan...@oracle.com
the example given in the Ant documentation for creating an ear: HTH, Flossy On Tue, 21 Jul 2009, edumudi.viswan...@oracle.com wrote: > Hi, > > > > I have an build.xml file. > > > > If I run the target "ear-target" using ant -Dxyz=1 -Dyyy=1 ea

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 &

how can stop build proccess in a sub task?

2009-07-20 Thread edumudi.viswan...@oracle.com
I have target like , which depends on sub_task1, sub_task2. So subtasks are &

FW: how to do conditional processing in ant

2009-07-17 Thread edumudi.viswan...@oracle.com
ting then to copy like so: Or am I missing something? On Fri, 17 Jul 2009, edumudi.viswan...@oracle.com wrote: > Conditional copy of files from a directory XYZ/prod/1ssl to xyz/ directory. > > -Original Message- > From: Scot P. Floess [mailto:sflo...@nc.rr.com] > Sent: Fr

RE: how to do conditional processing in ant

2009-07-17 Thread edumudi.viswan...@oracle.com
for example lets say you do this: ant -Denvv=production -Dssltype=1SSL eardirect or ant -Denvv=sit -Dssltype=1SSL eardirect Are you wanting then to copy like so: Or am I missing something? On Fri, 17 Jul 2009, edumudi.viswan...@oracle.com wrote: > Conditional copy of files from a dire

RE: how to do conditional processing in ant

2009-07-17 Thread edumudi.viswan...@oracle.com
files or copy files based on a dir defined in a property? On Fri, 17 Jul 2009, edumudi.viswan...@oracle.com wrote: > Hi Friends, > > > > I know how to pass more than one command line arguments /parameters to a task > in ant. > > Ex: Command prompt>ant -Denvv

how to do conditional processing in ant

2009-07-17 Thread edumudi.viswan...@oracle.com
Hi Friends,   I know how to pass more than one command line arguments /parameters to a task in ant.   Ex:   Command prompt>ant –Denvv=production  -Dssltype=1SSL  eardirect    ( where eardirect is a task name I defined in ant)   Assume I have four different environments like PRO