Hi,
Ant "dirname" task resolved my issue. Thank you so much.
jhudson wrote:
>
> Hi
>
> I have below requirement in ANT:-
>
> variable1 = ${basedir}
>
> now let us say from above statement "variable1" got the value
> C:\one\two\three\four
>
> now i want to cut two levels from above path (so "C:\one\two" will be the
> result after cut) and i want to reassign the value to varibale1.
>
> So, if i give echo ${variable1} it should give the path C:\one\two
>
> Could someone please help me on how to get it.
>
--
View this message in context:
http://old.nabble.com/Help-needed-for-Appache-ANT-tp26500160p26545438.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]