ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Mancarella" <>
Subject Extracting path from file name
Date Wed, 24 Apr 2002 12:01:00 GMT
I have a property containing the full path to a file and I want extract the
directory path only.

For example, from:

<property name="" value="/somedir/somefile"/>

I want to get "/somedir" only.

How can I do this (using Ant 1.4.1 and, possibly, not with a script)?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message