gnu: Add java-eclipse-jetty-io.

* gnu/packages/web.scm (java-eclipse-jetty-io): New variable.
This commit is contained in:
Julien Lepiller 2017-10-14 22:35:49 +02:00
parent 5010671d4d
commit b510b7f58f
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -5595,3 +5595,29 @@ (define-public java-eclipse-jetty-util-9.2
(("testdir.getFile\\(name\\)")
"testdir.getPathFile(name).toFile()")))
#t)))))))
(define-public java-eclipse-jetty-io
(package
(inherit java-eclipse-jetty-util)
(name "java-eclipse-jetty-io")
(arguments
`(#:jar-name "eclipse-jetty-io.jar"
#:source-dir "src/main/java"
#:jdk ,icedtea-8
#:test-exclude (list "**/Abstract*.java"
;; Abstract class
"**/EndPointTest.java")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'chdir
(lambda _
(chdir "jetty-io")
#t)))))
(inputs
`(("slf4j" ,java-slf4j-api)
("servlet" ,java-tomcat)
("util" ,java-eclipse-jetty-util)))
(synopsis "Jetty :: IO 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 IO-related utility classes.")))