ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: A dirset,path,fileset...anything that returns ${myPath}/**/ejb
Date Wed, 02 Feb 2005 23:10:54 GMT
--- Nat Gross <>

> I have tried various methods to achieve this simple
> task, to no avail.
> In different projects I have various number of dirs,
> but all have one 
> branch with the last dir = 'ejb'.
> I might have ${srcRoot}/a/b/c/ejb or
> ${srcRoot}/a/ejb, etc,
> I want a refid that returns that complete path to
> stuff into a property.
> I have tried, for example:
> <dirset id="ejbPath" dir="${srcRoot}"
> includes="/**/ejb/">
>         <type type="dir"/>
> </dirset>
> But I have also tried similar constructs with <path>
> and selectors, 
> with/without 'type="dir"'. No go.
> Why am I so stupid?
> -nat
> Oh. The real question is how to do this, please
> ignore my stupidity:).
I'm not sure exactly what you're asking for.  The
property task will resolve paths when used with the
location attribute.  The pathconvert task can resolve
the locations of files in a fileset.  Does either of
these help you?


Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 

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

View raw message