ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Finkelstein <>
Subject How to parse a directory path?
Date Sun, 06 Nov 2005 07:05:49 GMT
Hi --

I have a number of directories on which I wish to run the same ant build 
file.  I implemented something using <subant> and <dirlist> which 
correctly calls a common build file for each directory.  The problem is 
that, when this build file is running, I need to know the name of the 
directory it is running in.

For example, say, I have directories such as:

I would like a property to be set to "fr", "de" and "es", respectively, 
so that my build file can act on this. 

Can you suggest a solution for this?

Thanks much,

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

View raw message