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
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
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
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,
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
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
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
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
[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
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.
-
10 matches
Mail list logo