Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Help with (regexp?) file mapper

Help with (regexp?) file mapper

2005-06-27       - By Ondrej Svetlik
Reply:     1     2     3     4     5     6     7     8     9  



Emmanouil Batsis wrote:
>
> It didn't work at first but then i remembered my machine at work runs
> windows; It works fine after changing the from attribute to
> (.+)\\(.+).xml. I think i saw something regarding the path seperator and
> how to make it transparent to the task so i'll look for that now. Many
> thanks for giving me a head start!

Hello,

since ant-1.6.3 regexpmapper has handledirsep attribute, set this to
"yes" and it will match slashes and backslashes.

Best regards,

Ondrej Svetlik


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.