diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-05-17 20:11:22 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-07-09 16:57:03 +0200 |
commit | 218d093b151c86aea33bec8478f65bcc341c9b90 (patch) | |
tree | 73928478cbec2172de6f4c5a90af20078c8429e6 /gnu/packages/java.scm | |
parent | efd5a841e59ce12d43bda9aee7c3b1c0640a97d1 (diff) | |
download | guix-218d093b151c86aea33bec8478f65bcc341c9b90.tar guix-218d093b151c86aea33bec8478f65bcc341c9b90.tar.gz |
gnu: Add java-classpathx-servletapi
* gnu/packages/java.scm (java-classpathx-servletapi): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r-- | gnu/packages/java.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e074dab46d..572a22767c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1868,6 +1868,41 @@ designs.") license:asl2.0 license:cpl1.0))))) +(define-public java-classpathx-servletapi + (package + (name "java-classpathx-servletapi") + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/classpathx/servletapi/" + "servletapi-" version ".tar.gz")) + (sha256 + (base32 + "0y9489pk4as9q6x300sk3ycc0psqfxcd4b0xvbmf3rhgli8q1kx3")))) + (build-system ant-build-system) + (arguments + `(#:tests? #f ; there is no test target + #: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 + (list "-Dbuild.compiler=javac1.7" + (string-append "-Ddist=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key make-flags #:allow-other-keys) + (zero? (apply system* `("ant" "dist" ,@make-flags)))))))) + (home-page "https://www.gnu.org/software/classpathx/") + (synopsis "Java servlet API implementation") + (description "This is the GNU servlet API distribution, part of the +ClasspathX project. It provides implementations of version 3.0 of the servlet +API and version 2.1 of the Java ServerPages API.") + (license license:gpl3+))) + (define-public java-swt (package (name "java-swt") |