mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: ant-bootstrap: Build with JamVM 1.5.1.
* gnu/packages/java.scm (ant-bootstrap)[native-inputs]: Replace sablevm with jamvm-1-bootstrap. [arguments]: Adjust accordingly.
This commit is contained in:
parent
063629aa3e
commit
aa432388da
1 changed files with 9 additions and 8 deletions
|
@ -312,15 +312,16 @@ (define ant-bootstrap
|
|||
(delete 'configure)
|
||||
(replace 'build
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "JAVA_HOME"
|
||||
(string-append (assoc-ref inputs "sablevm")
|
||||
"/lib/sablevm"))
|
||||
(setenv "JAVA_HOME" (assoc-ref inputs "jamvm"))
|
||||
(setenv "JAVACMD"
|
||||
(string-append (assoc-ref inputs "sablevm")
|
||||
"/bin/java-sablevm"))
|
||||
(string-append (assoc-ref inputs "jamvm")
|
||||
"/bin/jamvm"))
|
||||
(setenv "JAVAC"
|
||||
(string-append (assoc-ref inputs "sablevm")
|
||||
"/bin/javac-sablevm"))
|
||||
(string-append (assoc-ref inputs "jikes")
|
||||
"/bin/jikes"))
|
||||
(setenv "CLASSPATH"
|
||||
(string-append (assoc-ref inputs "jamvm")
|
||||
"/lib/rt.jar"))
|
||||
|
||||
;; Use jikes instead of javac for <javac ...> tags in build.xml
|
||||
(setenv "ANT_OPTS" "-Dbuild.compiler=jikes")
|
||||
|
@ -339,7 +340,7 @@ (define ant-bootstrap
|
|||
(delete 'install))))
|
||||
(native-inputs
|
||||
`(("jikes" ,jikes)
|
||||
("sablevm" ,sablevm)))
|
||||
("jamvm" ,jamvm-1-bootstrap)))
|
||||
(home-page "http://ant.apache.org")
|
||||
(synopsis "Build tool for Java")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue