ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: String manipulation
Date Thu, 26 Oct 2006 03:05:44 GMT
Hello Rodrigo,
the basename task does this out of the box.
Open the Ant manual.
Regards,
Antoine

Rodrigo Monteiro wrote:
> Hello all,
>
> I'm new in Ant... so this might be an easy question.
>
> I pass in the command line an parameter
> ant -Dtest=/tmp/tmp2/tmp3 -buildfile teste.xml
> What I need to do is to get only the content of ${test} after the last
> "/", in this case "tmp3".
> How can I do that?
>
> regards,
> Rodrigo.
>


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


Mime
View raw message