Andrea Aime ha scritto:
> Hi Gabriel,
> I can't build the CQL module on trunk on windows (I need
> to put it in the build to forward port the Geoserver changes
> to gs trunk).
> 
> The error I'm getting is:
> 
> Java Compiler Compiler Version 3.2 (Parser Generator)
> (type "javacc" with no arguments for help)
> Reading from file 
> C:\progetti\geotools\trunk\gt\modules\unsupported\cql\target\generated-sources\jjtree-javacc\org\geotools\text\filter\expr.jj
>  
> . . .
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Invalid escape character at line 1 column 99.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.Error: Invalid escape character at line 1 column 99.
>          at 
> org.javacc.parser.JavaCharStream.readChar(JavaCharStream.java:325)
> 
> The content of the file is:
> 
> /[EMAIL PROTECTED](jjtree) Generated By:JJTree: Do not edit this line. 
> C:\progetti\geotools\trunk\gt\modules\unsupported\cql\target\generated-sources\jjtree-javacc\org\geotools\text\filter\expr.jj
>  

Found out why there is the issue here:
http://www.nabble.com/JR-build-issue-tf2215204.html#a6392175

Basically, javacc puts the filename verbatim in the generated class 
comment, unfortunately "\u" is an invalid escape character....
So, it's impossible to build cql, or anything else in future that
may use javacc, because it's in unsupported!!!!

How crazy is that? Still haven't found a solution, I'm looking for it 
thought.
Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to