ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <>
Subject Re: how to file path from fileset
Date Mon, 31 Mar 2008 03:00:03 GMT

Hi Gibert,

Nice to know such feature exists. In case there is a documentation for all
such sudo functions in ant, could you pl. let me know the url.

I also noticed that giving the refid to property does exactly the same

   <path id="p">
		<fileset dir="${foundation.root}">
		    <include name="**/${}"/>
	    <property name="nag.prop" refid="p"/>

Also, what is the way to access list of all the files which are selected
using the script (groovy or so, based on the id).


Gilbert Rebhan wrote:
> Raja Nagendra Kumar wrote:
>> I would like to know exact location of file given a fileset way to find
>> one
>> 		<fileset dir="${tejasoft.root}">
>> 		    <include name="**/${name}Common.xml"/>
>> 		</fileset>
>> Assuming that only one file in tejasoft.root would match the expression
>> "**/${name}Common.xml.
> <fileset dir="${tejasoft.root}" id="yourID">
>    <include name="**/${name}Common.xml"/>
> </fileset>
> the property ${toString:yourID} has your file
> Regards,
> Gilbert
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Ant - Users mailing list archive at

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

View raw message