gnu: java-classpathx-servletapi: Update to 3.0.1.

* gnu/packages/java.scm (java-classpathx-servletapi): Update to 3.0.1.
[arguments]: Switch to a java8 compiler, remove comment about not working with java8.

Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
This commit is contained in:
Gábor Boskovits 2018-01-15 09:27:57 +01:00 committed by Chris Marusich
parent 403f2dccfc
commit ae307724de
No known key found for this signature in database
GPG Key ID: DD409A15D822469D
1 changed files with 3 additions and 8 deletions

View File

@ -2018,25 +2018,20 @@ debugging, etc.")
(define-public java-classpathx-servletapi (define-public java-classpathx-servletapi
(package (package
(name "java-classpathx-servletapi") (name "java-classpathx-servletapi")
(version "3.0") (version "3.0.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/classpathx/servletapi/" (uri (string-append "mirror://gnu/classpathx/servletapi/"
"servletapi-" version ".tar.gz")) "servletapi-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0y9489pk4as9q6x300sk3ycc0psqfxcd4b0xvbmf3rhgli8q1kx3")))) "07d8h051siga2f33fra72hk12sbq1bxa4jifjg0qj0vfazjjff0x"))))
(build-system ant-build-system) (build-system ant-build-system)
(arguments (arguments
`(#:tests? #f ; there is no test target `(#:tests? #f ; there is no test target
#:build-target "compile" #:build-target "compile"
;; NOTE: This package does not build with Java 8 because of a type
;; mismatch in
;; "source/javax/servlet/jsp/el/ImplicitObjectELResolver.java". It
;; defines the return value of ScopeMap's "remove" method to be of type
;; "Object", whereas Map's "remove" method returns boolean.
#:make-flags #:make-flags
(list "-Dbuild.compiler=javac1.7" (list "-Dbuild.compiler=javac1.8"
(string-append "-Ddist=" (assoc-ref %outputs "out"))) (string-append "-Ddist=" (assoc-ref %outputs "out")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases