Subject: [PATCH 04/24] gnu: Add java-eclipse-jetty-perf-helper.

From: [email-masked]
Date: Sun, 15 Oct 2017 00:23:29 +0200

From: Julien Lepiller <[email-masked]>

* gnu/packages/java.scm (java-eclipse-jetty-perf-helper): New variable.
---
 gnu/packages/java.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d8920a097..a2c76aa14 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -6149,3 +6149,20 @@ Java WebSocket specifications are developed under the Java Community Process.")
     (synopsis "Helper classes for jetty tests")
     (description "This packages contains helper classes for testing jetty.")
     (license (list license:epl1.0 license:asl2.0))))
+
+(define-public java-eclipse-jetty-perf-helper
+  (package
+    (inherit java-eclipse-jetty-test-helper)
+    (name "java-eclipse-jetty-perf-helper")
+    (arguments
+     `(#:jar-name "eclipse-jetty-perf-helper.jar"
+       #:source-dir "src/main/java"
+       #:tests? #f; no tests
+       #:jdk ,icedtea-8
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'chdir
+           (lambda _
+             (chdir "jetty-perf-helper"))))))
+    (inputs
+     `(("hdrhistogram" ,java-hdrhistogram)))))
-- 
2.14.2