ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Kramer <Douglas.Kra...@Sun.COM>
Subject Re: Ant: file exists
Date Sat, 29 Jan 2005 21:38:35 GMT
Thanks.  Okay, great so far...

     <available file="${WORKDIR}/jar" property="jar.symlink.exists" />

but I also need to excute a statement if the property is true, something
like this:

if [ -f filename ]; then
    echo "File exists";
fi

-Doug

Erik Hatcher wrote:
> 
> On Jan 29, 2005, at 3:40 PM, Douglas Kramer wrote:
> 
>> Is there a way to test whether a file exists?
> 
> 
> <available>

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


Mime
View raw message