Maybe <basedir> ?

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Pankaj Arora01 [mailto:pankaj_aror...@infosys.com] 
>Gesendet: Montag, 6. April 2009 12:17
>An: Ant Users List
>Betreff: Getting substring in ANT
>
>HI All,
>
>
>
>I have following directory structure:
>
>
>
>C:\abc\deploy\oracle\NAAM09102NNAQAE\NAAM09102NNAQAE_core01
>
>C:\abc\deploy\oracle\NAAM09102NNAQBX\NAAM09102NNAQBX_ext_point_
>address01
>
>C:\abc\deploy\oracle\ NAAM09102NNAQCF\NAAM09102NNAQCF_ext_sdo01
>
>
>
>I have a variable x that contains following value:
>
>C:\abc\deploy\oracle
>
>
>
>Now I need to iterate through above directory and for each of 
>the above directories, I need two values in the same loop:
>
>
>
>1) C:\abc\deploy\oracle\NAAM09102NNAQAE\NAAM09102NNAQAE_core01
>
>2) NAAM09102NNAQAE_core01
>
>
>
>I am able to retrieve the 1) but not the second one. I need 
>something like substring...
>
>
>
>Please help...
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>**************** CAUTION - Disclaimer *****************
>This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION 
>intended solely 
>for the use of the addressee(s). If you are not the intended 
>recipient, please 
>notify the sender by e-mail and delete the original message. 
>Further, you are not 
>to copy, disclose, or distribute this e-mail or its contents 
>to any other person and 
>any such actions are unlawful. This e-mail may contain 
>viruses. Infosys has taken 
>every reasonable precaution to minimize this risk, but is not 
>liable for any damage 
>you may sustain as a result of any virus in this e-mail. You 
>should carry out your 
>own virus checks before opening the e-mail or attachment. 
>Infosys reserves the 
>right to monitor and review the content of all messages sent 
>to or from this e-mail 
>address. Messages sent to or from this e-mail address may be 
>stored on the 
>Infosys e-mail system.
>***INFOSYS******** End of Disclaimer ********INFOSYS***
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to