ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: "unless" doesn't appear to work for me?
Date Thu, 15 Sep 2005 16:47:53 GMT
>   <target name="main" >
>          <condition property="file.exists">
>             <length file="${fileToCheck}" when="greater" length="0"/>
>           </condition>
> 

You might want to look at the <available> task to ckeck whether or not
the file exists.

-Rob A


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message