gnu: r-seurat: Fix ModularityOptimizer.jar.
* gnu/packages/bioinformatics.scm (r-seurat)[arguments]: Include Main-Class attribute in manifest.
This commit is contained in:
parent
b6313997ad
commit
8271b8d22a
|
@ -9427,11 +9427,17 @@ and irregular enzymatic cleavages, mass measurement accuracy, etc.")
|
||||||
(let ((classesdir "tmp-classes"))
|
(let ((classesdir "tmp-classes"))
|
||||||
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
(setenv "JAVA_HOME" (assoc-ref inputs "jdk"))
|
||||||
(mkdir classesdir)
|
(mkdir classesdir)
|
||||||
(and (zero? (apply system* `("javac" "-d" ,classesdir
|
|
||||||
,@(find-files "java" "\\.java$"))))
|
(with-output-to-file "manifest"
|
||||||
(zero? (system* "jar"
|
(lambda _
|
||||||
"-cf" "inst/java/ModularityOptimizer.jar"
|
(display "Manifest-Version: 1.0
|
||||||
"-C" classesdir ".")))))))))
|
Main-Class: ModularityOptimizer\n")))
|
||||||
|
(and (zero? (apply system* `("javac" "-d" ,classesdir
|
||||||
|
,@(find-files "java" "\\.java$"))))
|
||||||
|
(zero? (system* "jar"
|
||||||
|
"-cmf" "manifest"
|
||||||
|
"inst/java/ModularityOptimizer.jar"
|
||||||
|
"-C" classesdir ".")))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("jdk" ,icedtea "jdk")))
|
`(("jdk" ,icedtea "jdk")))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Reference in New Issue