[Top][All Lists]

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

01/01: gnu: java-hamcrest-core: Fix build.

From: Hartmut Goebel
Subject: 01/01: gnu: java-hamcrest-core: Fix build.
Date: Sun, 6 Nov 2016 10:49:19 +0000 (UTC)

htgoebel pushed a commit to branch master
in repository guix.

commit fab959d30811b0c6cf0a47d2ab514a8883a8f115
Author: Hartmut Goebel <address@hidden>
Date:   Sun Nov 6 11:49:12 2016 +0100

    gnu: java-hamcrest-core: Fix build.
    Since we now remove the directory "lib" from the source, we need to
    create a directory where build.xml searches for .jar-files.
    * gnu/packages/java.scm (java-hamcrest-core)[pahases]: New phase
 gnu/packages/java.scm |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 612a2c2..df8a970 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1237,6 +1237,12 @@ private Method[] allMethods = getSortedMethods();")))))
                 (string-append (assoc-ref inputs "java-qdox-1.12")
+         ;; build.xml searches for .jar files in this directoy, which
+         ;; we remove  from the source archive.
+         (add-before 'build 'create-dummy-directories
+           (lambda _
+             (mkdir-p "lib/integration")
+             #t))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              (install-file (string-append "build/hamcrest-core-"

reply via email to

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