ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Getting directory/path information from a file
Date Wed, 05 May 2010 08:09:02 GMT
On 2010-05-05, kim1 <> wrote:

> I am trying to use ant to do something like the following unix command

> <find / -name myfilename>

<fileset dir="/" includes="**/myfilename"/>

> And then get the fully qualified directory location of the filename -
> and do other things with that.

If there is one - you can check with <resourcecount> you can use
<pathconvert> to get the absolute pathname.


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

View raw message