Hi,

When I try to build Xerces-J with gcj as my jdk, it fails with

compile:
[copy] Copying 23 files to
/var/tmp/paludis/build/dev-java-Xerces-J-2.10.0/work/xerces-2_10_0/build/classes
[xjavac] Compiling 704 source files to
/var/tmp/paludis/build/dev-java-Xerces-J-2.10.0/work/xerces-2_10_0/build/classes
[xjavac] Compliance level '1.5' is incompatible with source level '1.6'. A
compliance level '1.6' or better is required

The problem is that Xerces-J is setting the source level with ant's built-in 
ant.java.version, which is set incorrectly for gcj. I filed a bug with ant at
https://issues.apache.org/bugzilla/show_bug.cgi?id=50256
but they said that Xerces-J shouldn't be using ant.java.version to set the 
source level anyway, so is this a bug with Xerces-J?

Thanks,
Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to