all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 27537@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#27537] [PATCH 1/6] gnu: Add java-classpathx-servletapi
Date: Fri, 30 Jun 2017 14:25:18 +0200	[thread overview]
Message-ID: <20170630122523.30510-1-rekado@elephly.net> (raw)
In-Reply-To: <20170630120402.27877-1-rekado@elephly.net>

* gnu/packages/java.scm (java-classpathx-servletapi): New variable.
---
 gnu/packages/java.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e074dab46..572a22767 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")
-- 
2.12.2

  reply	other threads:[~2017-06-30 12:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-30 12:04 [bug#27537] [PATCH 0/6] Axoloti Ricardo Wurmus
2017-06-30 12:25 ` Ricardo Wurmus [this message]
2017-06-30 12:25   ` [bug#27537] [PATCH 2/6] gnu: Add java-javaewah Ricardo Wurmus
2017-07-31 15:30     ` Ludovic Courtès
2017-06-30 12:25   ` [bug#27537] [PATCH 3/6] gnu: Add java-slf4j-api Ricardo Wurmus
2017-06-30 12:25   ` [bug#27537] [PATCH 4/6] gnu: Add java-jgit Ricardo Wurmus
2017-06-30 12:25   ` [bug#27537] [PATCH 5/6] gnu: Add java-jgit-4.2 Ricardo Wurmus
2017-06-30 12:25   ` [bug#27537] [PATCH 6/6] gnu: Add Axoloti Ricardo Wurmus
2017-06-30 21:08     ` Ricardo Wurmus
2017-07-31 15:31       ` Ludovic Courtès
2017-10-17 14:57       ` bug#27537: " Ricardo Wurmus
2017-07-31 15:29   ` [bug#27537] [PATCH 1/6] gnu: Add java-classpathx-servletapi Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170630122523.30510-1-rekado@elephly.net \
    --to=rekado@elephly.net \
    --cc=27537@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.