ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Gugel" <alex.gu...@100world.de>
Subject RE: regexp-mapper and windows directories
Date Wed, 20 Jun 2001 11:09:22 GMT
> use ${file.separator} instead of /.
>
>Stefan

Thank you. But I encountered some errors:

1.) <mapper type="regexp" from="^.*${file.separator}build(.*)$$"
to="\1"/> does not work.

and 

2.) If $(file.seperator} is followed by (.*) like

<mapper type="regexp" from="^.*${file.separator}(.*)$$" to="\1"/> 

then I got:

C:\cygwin\home\administrator\cvs\Curiavant\CUT02\build.xml:176:
org.apache.regexp.RESyntaxException: Syntax error: Unmat
ched close paren
--- Nested Exception ---
org.apache.regexp.RESyntaxException: Syntax error: Unmatched close paren
...
        at org.apache.tools.ant.Main.main(Main.java:149)

Must I escape ${file.separator} in some way? Or what else is wrong?

alex



Mime
View raw message