From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3Utf-0000jE-JW for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3Utc-0000Fu-0t for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60243) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3Utb-0000Fm-Rt for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3Utb-00065J-MP for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:03 -0400 Subject: [bug#28841] [PATCH 09/24] gnu: Add java-eclipse-jetty-http. Resent-Message-ID: From: julien@lepiller.eu Date: Sun, 15 Oct 2017 00:23:34 +0200 Message-Id: <20171014222349.12902-9-julien@lepiller.eu> In-Reply-To: <20171014222349.12902-1-julien@lepiller.eu> References: <20171014233216.49c852f7@lepiller.eu> <20171014222349.12902-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28841@debbugs.gnu.org From: Julien Lepiller * gnu/packages/java.scm (java-eclipse-jetty-http): New variable. --- gnu/packages/java.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 2e93f90b7..a35dcce96 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6291,3 +6291,30 @@ or embedded instantiation. This package provides IO-related utility classes.")) ("objenesis" ,java-objenesis) ("asm" ,java-asm) ,@(package-native-inputs java-eclipse-jetty-util-9.2))))) + +(define-public java-eclipse-jetty-http + (package + (inherit java-eclipse-jetty-util) + (name "java-eclipse-jetty-http") + (arguments + `(#:jar-name "eclipse-jetty-http.jar" + #:source-dir "src/main/java" + #:jdk ,icedtea-8 + #:phases + (modify-phases %standard-phases + (add-before 'configure 'chdir + (lambda _ + (chdir "jetty-http"))) + (add-before 'build 'copy-resources + (lambda _ + (mkdir-p "build/classes") + (copy-recursively "src/main/resources/" "build/classes/")))))) + (inputs + `(("slf4j" ,java-slf4j-api) + ("servlet" ,java-tomcat) + ("io" ,java-eclipse-jetty-io) + ("util" ,java-eclipse-jetty-util))) + (synopsis "Jetty :: Http Utility") + (description "The Jetty Web Server provides an HTTP server and Servlet +container capable of serving static and dynamic content either from a standalone +or embedded instantiation. This package provides HTTP-related utility classes."))) -- 2.14.2