ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kim1 <>
Subject Getting directory/path information from a file
Date Wed, 05 May 2010 05:20:19 GMT

Hi all

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

<find / -name myfilename>

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

So. For example, myfile might be in either /mydir/here/DIRA or

Without checking both dirs (I think I can do an "exists" for each one and
take it from there) - is there an easy way to do this in ANT? Hope the
question makes sense!

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