ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Hauser <c.hau...@active.ch>
Subject Re: Check if file already exists
Date Tue, 17 Oct 2006 00:59:40 GMT
Thank you Mat

That was exactly what I was looking for.

Christian

Mathieu Champlon wrote:
> Christian Hauser a écrit :
>> Hello
>>
>> I'd like to check within an Ant target whether a particular file 
>> already exists on the disk and if not download the file (using the Get 
>> Ant task).
>>
>> How do I best check if the file already exists?
>>
>> Any help (preferably with a small code snippet) is appreciated.
>>
>> Thanks in advance,
>>
>> Christian
> 
> Hello,
> 
> Take a look at the <available> task : 
> http://ant.apache.org/manual/CoreTasks/available.html
> 
> MAT.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


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


Mime
View raw message