--- Dominique Devienne <[EMAIL PROTECTED]> wrote:

> The scenario you describe seem to point to file
> selectors. In Ant, you
> usually don't loop on dirs, doing some conditional
> processing within the
> loop, you select all the files to process using
> <fileset>s, which with
> selectors can do this selection on just about any
> criteria, and then you
> process this list of files unconditionally.
> 
> For example, since your example is around unit
> testing, I use <junit>
> with a <batchtest>, which contain <fileset>s with
> custom selectors to
> select only some tests, based on various criteria.
> 
> I'm not sure it applies to you, but I'd say it's the
> canonical way to do
> this kind of things in Ant. --DD
> 

Agreed; using a <junit> <batchtest> with filesets that
select the testcases, if none exist in a fileset based
in a particular directory, well, then, no tests will
be run.  So you should basically get for free what you
are trying to do here.

-Matt

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


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com


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

Reply via email to