mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: java-ecj: Do not inherit from java-ecj-3.
* gnu/packages/java.scm (java-ecj): Do not inherit fields from java-ecj-3. [arguments]: Merge build phases 'fix-build.xml and 'fix-prop; remove trailing #T.
This commit is contained in:
parent
649ea550e7
commit
3b62c2804c
1 changed files with 33 additions and 37 deletions
|
@ -2247,43 +2247,39 @@ (define-public java-ecj-3
|
|||
(license license:epl1.0)))
|
||||
|
||||
(define-public java-ecj
|
||||
(package (inherit java-ecj-3)
|
||||
(version "4.6.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"http://archive.eclipse.org/eclipse/downloads/drops4/R-"
|
||||
version
|
||||
"-201703010400/ecjsrc-"
|
||||
version
|
||||
".jar"))
|
||||
(sha256
|
||||
(base32
|
||||
"11cfgsdgznja1pvlxkjbqykxd7pcd5655vkm7s44xmahmap15gpl"))))
|
||||
(arguments
|
||||
`(#:tests? #f ; none included
|
||||
#:build-target "build"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-build.xml
|
||||
(lambda _
|
||||
(substitute* "src/build.xml"
|
||||
(("^.*MANIFEST.*$")
|
||||
""))
|
||||
#t))
|
||||
(add-after 'unpack 'fix-prop
|
||||
(lambda _
|
||||
(substitute* "src/build.xml"
|
||||
(("^.*properties.*$")
|
||||
"<include name=\"**/*.properties\"/>
|
||||
<include name=\"**/*.props\"/>"))
|
||||
#t))
|
||||
(add-before 'build 'chdir
|
||||
(lambda _
|
||||
(chdir "src")
|
||||
#t))
|
||||
(replace 'install (install-jars ".")))))))
|
||||
(package
|
||||
(name "java-ecj")
|
||||
(version "4.6.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://archive.eclipse.org/eclipse/"
|
||||
"downloads/drops4/R-" version "-201703010400/"
|
||||
"ecjsrc-" version ".jar"))
|
||||
(sha256
|
||||
(base32
|
||||
"11cfgsdgznja1pvlxkjbqykxd7pcd5655vkm7s44xmahmap15gpl"))))
|
||||
(build-system ant-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; none included
|
||||
#:build-target "build"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-build.xml
|
||||
(lambda _
|
||||
(substitute* "src/build.xml"
|
||||
(("^.*MANIFEST.*$")
|
||||
"")
|
||||
(("^.*properties.*$")
|
||||
"<include name=\"**/*.properties\"/>
|
||||
<include name=\"**/*.props\"/>"))))
|
||||
(add-before 'build 'chdir
|
||||
(lambda _ (chdir "src")))
|
||||
(replace 'install (install-jars ".")))))
|
||||
(home-page "https://eclipse.org")
|
||||
(synopsis "Eclipse Java development tools core batch compiler")
|
||||
(description "This package provides the Eclipse Java core batch compiler.")
|
||||
(license license:epl1.0)))
|
||||
|
||||
(define-public java-cisd-base
|
||||
(let ((revision 38938)
|
||||
|
|
Loading…
Reference in a new issue