summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-03-17 13:00:06 +0100
committerJulien Lepiller <julien@lepiller.eu>2018-06-16 13:17:44 +0200
commitd736511864e3f77c61009ede81c40bdf45ccde8d (patch)
tree627bb12faa5282761c9d7343468a683b5dc40d34 /gnu
parent38b57575c1d6aabfe61259bf970a60d807dcd678 (diff)
downloadpatches-d736511864e3f77c61009ede81c40bdf45ccde8d.tar
patches-d736511864e3f77c61009ede81c40bdf45ccde8d.tar.gz
gnu: Add java-eclipse-jetty-webapp.
* gnu/packages/web.scm (java-eclipse-jetty-webapp): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/web.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 9cc8bdeda9..6414c147d5 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -6231,6 +6231,34 @@ container.")))
`(("java-eclipse-jetty-io-9.2" ,java-eclipse-jetty-io-9.2)
,@(package-native-inputs java-eclipse-jetty-util-9.2)))))
+(define-public java-eclipse-jetty-webapp
+ (package
+ (inherit java-eclipse-jetty-util)
+ (name "java-eclipse-jetty-webapp")
+ (arguments
+ `(#:jar-name "eclipse-jetty-webapp.jar"
+ #:source-dir "src/main/java"
+ #:jdk ,icedtea-8
+ ;; One test fails
+ #:test-exclude (list "**/WebAppContextTest.java")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'chdir
+ (lambda _
+ (chdir "jetty-webapp")
+ #t)))))
+ (inputs
+ `(("java-eclipse-jetty-util" ,java-eclipse-jetty-util)
+ ("java-eclipse-jetty-http" ,java-eclipse-jetty-http)
+ ("java-eclipse-jetty-server" ,java-eclipse-jetty-server)
+ ("java-eclipse-jetty-servlet" ,java-eclipse-jetty-servlet)
+ ("java-eclipse-jetty-security" ,java-eclipse-jetty-security)
+ ("java-eclipse-jetty-xml" ,java-eclipse-jetty-xml)
+ ("java-tomcat" ,java-tomcat)))
+ (native-inputs
+ `(("java-eclipse-jetty-io" ,java-eclipse-jetty-io)
+ ,@(package-native-inputs java-eclipse-jetty-util)))))
+
(define-public java-jsoup
(package
(name "java-jsoup")