Should work in ant 1.6
Antoine
----- Original Message ----- 
From: "Inger, Matthew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 4:09 PM
Subject: Condition as a top level element


> Is it possible in the future to make <condition> a top level element?
> It's essentially the same idea as <property>, but with restrictions.
> The basic reason is that i'd like to have something like this at the
> top of my project:
> 
> <condition property="script.extension" value=".sh">
>    <os family="unix" />
> </condition>
> 
> <condition property="script.extension" value=".bat">
>    <os family="windows" />
> </condition>
> 
> 
> So that I don't have to muddy up the depend structure in
> order for a target to know what extension to use for a script
> file on the current os.
> 
> Thoughts?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to