ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: Rename directories in Ant
Date Wed, 13 Jun 2007 20:30:59 GMT
Cesar Martinez Izquierdo wrote:

> Sorry, it doesn't seem to work.
[...]
> Probably, something similar can be performed using the glob mapper as
> you suggested, but it will fail when there is a 'search' directory
> inside another 'search' directory (as far as I understand...).


you're right, /search/search doesn't work.
Maybe there's another solution with regexp ?
regexp="(\\)?(search)(.[^\.]+)?"
replace="\1\2_\3"

Finally <script> will do the job.
sorry for now ...


Regards, Gilbert



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


Mime
View raw message