aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGábor Boskovits <boskovits@gmail.com>2018-06-24 14:34:57 +0200
committerGábor Boskovits <boskovits@gmail.com>2018-06-24 15:21:17 +0200
commit78754995e847115e5c9141521497b0b41319fc4b (patch)
tree637c73af816fa59eb50f6219a62080afd5184ff4 /gnu
parent5970ceddfaaa449b7224e11d4f6a5f2305408179 (diff)
downloadguix-78754995e847115e5c9141521497b0b41319fc4b.tar
guix-78754995e847115e5c9141521497b0b41319fc4b.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 30a9b77380..aba8119741 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)