From fab959d30811b0c6cf0a47d2ab514a8883a8f115 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 6 Nov 2016 11:49:12 +0100 Subject: 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 create-dummy-directories. --- gnu/packages/java.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 612a2c2d8a..df8a970e0c 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") "/share/java/qdox.jar"))) #t)) + ;; 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-" -- cgit 1.4.1