ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject Copy with regexpmapper
Date Mon, 14 Nov 2005 09:39:47 GMT

Hi,

i want to do a filenametransformation when copying
a file.

I tried with =

<copy file="T:/__SCM__/work/130/Bla24_Test_051114_0914.ear"
todir="T:/Test">
<regexpmapper from="(\w+_\w+)(_\d+_\d+)" to="\1.ear"/>

</copy>

I want Bla24_Test.ear, but the filename stays the same.

What's the right syntax when using rerexpmapper ??


Gilbert

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


Mime
View raw message