Thanks.  I was suprised to see that Ant didn't have a way to check for the
presence of a file... Obviously I didn't read through the tasks well enough.

Quoting "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]>:

> >   <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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


Greg Akins
Insomnia Consulting
www.insomnia-consulting.org

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

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

Reply via email to