On 2010-11-10, Eric Smith wrote: > The problem I'm running into is that Xerces-J uses ant.java.version to > set which source level to build. Without patching its build.xml, I end > up with this:
> 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 I see. > Correcting ant.java.version would probably be the best fix. But what if future versions of gcj fully support Java 6? Another option could be to use a different class to detect Java6, one that isn't present in gcj right now. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org