ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Zellner <johan...@zellner.org>
Subject transform (regexp ?) question
Date Mon, 29 Oct 2001 10:45:22 GMT
Hi,

I'd like to set a property according to the path of the current dir.

Example:
    ${user.dir} == /home/joze/jsrc/org/zellner/Fred
then I'd like to have a property
    ${myproperty} == org.zellner.Fred

Is this possible with an ant task ?

-- 
   Johannes

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


Mime
View raw message