guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: java-aqute-libg: Explicitly build for java7.


From: Gábor Boskovits
Subject: 01/03: gnu: java-aqute-libg: Explicitly build for java7.
Date: Sun, 24 Jun 2018 09:22:08 -0400 (EDT)

boskovits pushed a commit to branch master
in repository guix.

commit 78754995e847115e5c9141521497b0b41319fc4b
Author: Gábor Boskovits <address@hidden>
Date:   Sun Jun 24 14:34:57 2018 +0200

    gnu: java-aqute-libg: Explicitly build for java7.
    
    * gnu/package/java.scm (java-aqute-libg)[arguments]: Add #:make-flags
    ant.build.javac.source=1.7 and ant.build.javac.target=1.7.
---
 gnu/packages/java.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 30a9b77..aba8119 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7002,6 +7002,14 @@ it manages project dependencies, gives diffs jars, and 
much more.")
      `(#:jar-name "java-aqute-libg.jar"
        #:source-dir "aQute.libg/src"
        #:tests? #f)); FIXME: tests are in "aQute.libg/test", not in a java 
directory
+       ;; The build fails when source/target more recent than 1.7. This
+       ;; is a known issue. See: https://github.com/bndtools/bnd/issues/1327
+       ;;
+       ;; It is closed as won't fix. There is no way to change the source
+       ;; so that it works on 1.8, and still works on 1.6, the upstream
+       ;; target. It work fine on 1.7, so we use 1.7.
+       #:make-flags (list "-Dant.build.javac.source=1.7"
+                          "-Dant.build.javac.target=1.7")
     (inputs
      `(("slf4j" ,java-slf4j-api)
        ("osgi-annot" ,java-osgi-annotation)



reply via email to

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