Gaetano Sferra wrote:
Hi,

jackrabbit 1.4 binaries available for download doesn't works with JRE 1.5 so I tried to build it from sources using a java 5 sdk. I downloaded the source package and maven but i get the following error after "mvn install":

[INFO] [javacc:javacc {execution: fulltext-javacc}]
Java Compiler Compiler Version 3.2 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file C:\Documents and Settings\user\Desktop\jackrabbit-1.4\jackrabbit-core\target\generated-src\main\java\org\apache\jackrabbi
\core\query\lucene\fulltext\QueryParser.jj . . .
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Invalid escape character at line 1 column 87.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.Error: Invalid escape character at line 1 column 87.
at org.javacc.parser.JavaCharStream.readChar(JavaCharStream.java:325) at
> ...

Last time I saw this happening was because the source filename is copied into a Java comment, and subsequently the malformed "\u" sequence causes the compile to fail.

So, try to avoid folder names starting with "u" :-)

BR, Julian

Reply via email to