jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: Jackrabbit 1.4 building matters
Date Mon, 12 Jan 2009 15:26:03 GMT
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

Mime
View raw message