ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "P.N." <>
Subject [Ant 1.8.2] Bug in regexpmapper?
Date Wed, 04 May 2011 10:36:03 GMT


I've trieb to build NetBeans form source and got this error message:

     java.util.regex.PatternSyntaxException: Illegal/unsupported escape
     sequence near index 6
             at java.util.regex.Pattern.error(
             at java.util.regex.Pattern.escape(
             at java.util.regex.Pattern.atom(

     The relevant piece of code:
     <pathconvert property="source.dirs" pathsep="," refid="source.dirset">
     <regexpmapper from="${nb_all}/(.*)$" to="\1/**/*" handledirsep="yes"/>

As ${nb_all} is "C:\nb\main", Ant should know it has to handle the whole 
string, but the error position is that of the second backslash.

BTW, I've never used the regexpmapper myself, nor am I a NB developer.

Kind regards


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message