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 thing. <path id="p"> <fileset dir="${foundation.root}"> <include name="**/${f.name}"/> </fileset> </path> <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). Regards, Nagendra 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/how-to-file-path-from-fileset-tp16378261p16391073.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]