gnu: Remove java-ecj-3.5.
* gnu/packages/java.scm (java-ecj-3.5): Remove variable.
This commit is contained in:
parent
2703b6feef
commit
649ea550e7
@ -2246,38 +2246,6 @@ Main-Class: org.eclipse.jdt.internal.compiler.batch.Main\n"
|
|||||||
(description "This package provides the Eclipse Java core batch compiler.")
|
(description "This package provides the Eclipse Java core batch compiler.")
|
||||||
(license license:epl1.0)))
|
(license license:epl1.0)))
|
||||||
|
|
||||||
;; This is needed for java-cisd-args4j
|
|
||||||
(define-public java-ecj-3.5
|
|
||||||
(package (inherit java-ecj-3)
|
|
||||||
(version "3.5.1")
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch/zipbomb)
|
|
||||||
(uri (string-append "http://archive.eclipse.org/eclipse/"
|
|
||||||
"downloads/drops/R-" version
|
|
||||||
"-200909170800/ecjsrc-" version ".zip"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1vnl2mavisc567bip736xzsvvbjif5279wc4a7pbdik5wlir8qr7"))))
|
|
||||||
(build-system ant-build-system)
|
|
||||||
(arguments
|
|
||||||
`(#:tests? #f ; none included
|
|
||||||
#:jdk ,icedtea-7 ; doesn't build with JDK8+
|
|
||||||
#:build-target "build"
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'fix-manifest
|
|
||||||
(lambda _
|
|
||||||
;; Record the main class to make ecj executable.
|
|
||||||
(with-atomic-file-replacement "META-INF/MANIFEST.MF"
|
|
||||||
(lambda (in out)
|
|
||||||
(dump-port in out)
|
|
||||||
(display "Main-Class: org.eclipse.jdt.internal.compiler.batch.Main\n"
|
|
||||||
out)))
|
|
||||||
#t))
|
|
||||||
(replace 'install (install-jars ".")))))
|
|
||||||
(native-inputs
|
|
||||||
(list unzip))))
|
|
||||||
|
|
||||||
(define-public java-ecj
|
(define-public java-ecj
|
||||||
(package (inherit java-ecj-3)
|
(package (inherit java-ecj-3)
|
||||||
(version "4.6.3")
|
(version "4.6.3")
|
||||||
|
Loading…
Reference in New Issue
Block a user