RE: newbie help: conditional exec

2007-09-12 Thread Madunic, Marijan \(RBI-US\)
dunic -Original Message- From: Bruce Atherton [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 9:23 AM To: Ant Users List Subject: Re: newbie help: conditional exec Better to adopt the Way of Ant (tm) rather than fighting against it. Think of your problem this way, and restructure

Re: newbie help: conditional exec

2007-09-12 Thread Bruce Atherton
he value of the artAvailable property, only whether or not it exists. See the manual for more info. http://ant.apache.org/manual/using.html#targets -Rob Anderson -Original Message- From: Mario Madunic [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 10:40 AM To: user@a

Re: newbie help: conditional exec

2007-09-12 Thread David Weintraub
age- > From: David Weintraub [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 11, 2007 4:20 PM > To: Ant Users List > Subject: Re: newbie help: conditional exec > > Two steps: > > 1). After your test, do an to call a new target > 2). Us an "if" parameter i

Re: newbie help: conditional exec

2007-09-12 Thread Peter Reilly
On 9/12/07, David Weintraub <[EMAIL PROTECTED]> wrote: > Two steps: > > 1). After your test, do an to call a new target > 2). Us an "if" parameter in that target: For example: > > > > > It is not good practice to use . The normal way is just to have the target in the dependence list as normal,

AW: newbie help: conditional exec

2007-09-11 Thread Knuplesch , Jürgen
Geschäftsführer: Uwe Seltmann HRB Stuttgart 17655 USt-IdNr.: DE 811944121 -Ursprüngliche Nachricht- Von: Madunic, Marijan (RBI-US) [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. September 2007 01:29 An: Ant Users List Betreff: RE: newbie help: conditional exec David, Thank you. I'll give

RE: newbie help: conditional exec

2007-09-11 Thread Madunic, Marijan \(RBI-US\)
David, Thank you. I'll give it a try later when I have a moment. Where can I download antContrib? Marijan (Mario) Madunic -Original Message- From: David Weintraub [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 4:20 PM To: Ant Users List Subject: Re: newbie

Re: newbie help: conditional exec

2007-09-11 Thread David Weintraub
Two steps: 1). After your test, do an to call a new target 2). Us an "if" parameter in that target: For example: ... The other solution is to use the antContrib tasks which includes an task: ... I like a lot of the antContrib stuff, but you do have to make sure it

RE: newbie help: conditional exec

2007-09-11 Thread Mario Madunic
l/using.html#targets > > > -Rob Anderson > > > -Original Message- > > From: Mario Madunic [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 11, 2007 10:40 AM > > To: user@ant.apache.org > > Subject: newbie help: conditional exec &g

RE: newbie help: conditional exec

2007-09-11 Thread Anderson, Rob (Global Trade)
[EMAIL PROTECTED] > Sent: Tuesday, September 11, 2007 10:40 AM > To: user@ant.apache.org > Subject: newbie help: conditional exec > > I have the following in my ant task to test for the existence > of an xml file after processing > > > > What I want to do is run

newbie help: conditional exec

2007-09-11 Thread Mario Madunic
I have the following in my ant task to test for the existence of an xml file after processing What I want to do is run based on the above property value of true. I can't seem to find a task to do this. Any help will be appreciated. -