Apache Derby packaging
On 10/03/2011 16:09, Zied ABID wrote:
> Hi all,
> I'm working on derby packaging , it's "an Apache DB subproject, is an
> open source relational database implemented entirely in Java and
> available under the Apache License, Version 2.0."
> I begin to compile derby sources  with debian libs and I find problem
> with javacc lib.
> After some tries, I'm in a this situation : compilation success with the
> emmbaded version and the officiel version of javacc 4.0  but fail
> with both the 5.0 officiel and Debian javacc version .. So the
> problem seems to come from javacc version and/or options.
> I've added-JDK_VERSION=1.4 as a javacc option but it seems that it need
> more options to compile.
> I get this error while compiling generated files :
> [javac] Compiling 170 source files to .../derby/10.7.1.1/classes
> newToken(int) in org.apache.derby.impl.sql.compile.Token cannot be
> applied to (int,java.lang.String)
> Do you have any idea about this, or the javacc version 4 should be
> packaged also ?
A patch available from upstream here :
>  http://db.apache.org/derby/
>  http://svn.apache.org/repos/asf/db/derby/code/tags/10.7.1.1/
>  http://java.net/projects/javacc/downloads
>  http://packages.debian.org/squeeze/javacc
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com