Matt Benson wrote:
Can the location attribute take a wildcard for an unknown number of dir elements leading to one known last element?--- Nat Gross <[EMAIL PROTECTED]> wrote:
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?
-Matt
-nat
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
