upload
BAR upload
TEST upload
Jan
> -Ursprüngliche Nachricht-
> Von: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 15. Oktober 2004 15:32
> An: Ant Users List
> Betreff: RE: Perform different target depending on *va
List
>Subject: Re: Perform different target depending on *value* of property
>
>I'm not sure how to work your suggestion into my script.
>
>Let's say I have three different values of 'servername',
>"foo", "bar", and
>"test", and
I'm not sure how to work your suggestion into my script.
Let's say I have three different values of 'servername', "foo", "bar", and
"test", and three targets, "foo-upload", "bar-upload", and "test-upload".
That would suggest that my script should say:
How would I ensure that if the servername
You can look into ant's script task to facilitate this type of "complicated" logic.
In the javascript (if you choose) you can check values of properties and then choose
the route of execution. There's probably ant contrib tasks also for handling if
conditions based on the value of a property.