ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: how to test existance of file based on pattern
Date Thu, 21 Mar 2002 07:57:50 GMT
On Wed, 20 Mar 2002, Zart Colwing <> wrote:

> I have the following need that I couldn't work out by myself so far:
> - In order to fire a target I need to make sure at least one
> Test*.java exist anywhere in my test source hierarchy.

Maybe your target can deal with that itself.  <junit>'s <batchtest>
should work for example.

> Naively I tried the following rule, but without success because
> <available/> is only capable of testing the existence of a single
> well know file at once. <available/> does not support file pattern !

Adding wildcard support to <available> has been suggested before, but
hasn't received much attention.  Maybe you should start lobbying for
it 8-).


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message