Try <basename>
mindspin311 wrote:
If I have the following path: /blah/foo/trunk/
I want to be able to assign just "trunk" to a property, similar to dirname:
<dirname property="pdir" file="build.xml" />
This returns the whole path. I just want it to return the last element of a
directory.
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
Architect Keros http://sourceforge.net/projects/keros
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]