guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java: switch to icedtea-8 as default JDK


From: Gábor Boskovits
Subject: Re: java: switch to icedtea-8 as default JDK
Date: Sun, 7 Jan 2018 19:19:50 +0100

2018-01-07 18:25 GMT+01:00 Ricardo Wurmus <address@hidden>:

Gábor Boskovits <address@hidden> writes:

> https://github.com/Boskovits/guix/issues/58

> What I don't understand, is why setting source and target to 1.7,
> like I did on java-aqute-libg did not work.

How did you set it?  Since this is using the package’s own build.xml
you’d need to patch it.

I tried two things:
1. set in the make-flags like this:
-Dant.build.javac.source=1.7
-Dant.build.javac.target=1.7
this did not work, but complained that the source is 1.7 and no bootstrap classpath is set, so I guess that these properties are considered.

2. patched the build.xml:
substituted
<javac  srcdir="${source.java}"
with
<javac  srcdir="${source.java}" soruce="1.7" target="1.7"
same result as above.

This is the only package that right now does not work on java8.
All others build.

I still have the issue with the java-simple-xml test failing, I've temporarily disabled tests.

These are the only two remaining.
 
--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]