ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Alternative for <available> taks to check a pattern of file existence
Date Fri, 30 Oct 2009 04:53:08 GMT
On 2009-10-29, cvsusr <spers@rediffmail.com> wrote:

> I need to check for existence of files with some extension say *.txt in a
> folder and if present execute a target..

Use the condition task with a resourcecount condition to ste a property
and make your target use that property.

Stefan

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


Mime
View raw message