I thought the same thing, but that's not what he's asking. What he
wants is something like:

<target name="whatever" if="<property_name>=<property_value>"/>

Which can't be done. If you look at Target.testIfCondition(), you see
they only check for the existence of the property. No checks are made
concerning the property value.

--- "Helliwell, Matthew" <[EMAIL PROTECTED]> wrote:
> You'll be wanting to read that very nice manual and look at the
> if/unless
> parameters to the target task.
> 
> -----Original Message-----
> From: Stefano Mancarella [mailto:[EMAIL PROTECTED]]
> Sent: 13 June 2001 13:45
> To: [EMAIL PROTECTED]
> Subject: Conditional task execution
> 
> 
> Is it possible to execute a task only if a property has a specific
> value?
> 
> 
> 
>
----------------------------------------------------------------------
> If you have received this e-mail in error or wish to read our e-mail 
> disclaimer statement and monitoring policy, please refer to 
> http://www.drkw.com/disc/email/ or contact the sender.
>
----------------------------------------------------------------------


=====
Don

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to