jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Fonti <roberto.fo...@buongiorno.com>
Subject Re: JR build issue
Date Tue, 19 Sep 2006 16:38:06 GMT
Quite funny, I finally found solution reading Java Puzzlers, a book 
about Java pitfalls (Puzzle 15: Hello Whirled).

The problem is that javacc put filename in the generated code and my 
file was in a "usr" directory.

A backslash (\) followed by the letter u denotes the start of a Unicode 
So I had a compiler error.

Quoting the cited book:
"tools must not put Windows filenames into comments in generated Java 
source files"

I don't know if we can instruct javacc to do so.



Jukka Zitting wrote:
> Hi,
> On 9/4/06, Roberto Fonti <roberto.fonti@buongiorno.com> wrote:
>> I cannot build jackrabbit sources using maven.
>> I get the following error:
>> [...]
>> Invalid escape character at line 1 column 64.
>> [...]
>> I tried both jdk1.4 and jdk1.5, maven 1.0.2 and maven 1.1 on Windows XP.
> I have no problems building Jackrabbit on Windows XP. My environment
> is Maven 1.0.2 with JDK 1.6.
> It might be an issue with the Maven 1.1-beta-3 version you're using,
> it seems to come with a more recent version of the Maven JavaCC plugin
> than 1.0.2. And having a more recent plugin version in the Maven cache
> probably makes also Maven 1.0.2 use that so you end up with the same
> error. (Just guessing here... :-)
> Try clearing the .maven/cache directory and running "maven clean jar"
> using Maven 1.0.2.
> BR,
> Jukka Zitting

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message