ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: how to file path from fileset
Date Sun, 30 Mar 2008 17:18:00 GMT
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message