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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]