If these directories contain a buildfile which is called by <subant>, I 
would try ${basedir} ...

Jan

>-----Ursprüngliche Nachricht-----
>Von: Dan Finkelstein [mailto:[EMAIL PROTECTED] 
>Gesendet: Dienstag, 8. November 2005 04:56
>An: Ant Users List
>Betreff: Re: How to parse a directory path?
>
>Thanks!  I guess I was blind!!  :(
>
>Dan
>
>
>Dick, Brian E. wrote:
>
>><basename> ?
>>
>>-----Original Message-----
>>From: Dan Finkelstein [mailto:[EMAIL PROTECTED]
>>Sent: Sunday, November 06, 2005 2:06 AM
>>To: [email protected]
>>Subject: How to parse a directory path?
>>
>>
>>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:
>>             src/localization/fr
>>             src/localization/de
>>             src/localization/es
>>
>>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,
>>Dan
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED] For 
>additional 
>>commands, e-mail: [EMAIL PROTECTED]
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED] For 
>additional 
>>commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>  
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED] For 
>additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to