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.
master
Hartmut Goebel 2016-11-06 11:49:12 +01:00
parent e5213cd63b
commit fab959d308
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 6 additions and 0 deletions

View File

@ -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-"