GNU bug report logs - #32231
[PATCH 0/8] Tomcat related updates

Previous Next

Package: guix-patches;

Reported by: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Date: Sat, 21 Jul 2018 08:15:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: 32231 <at> debbugs.gnu.org
Subject: [bug#32231] [PATCH 7/8] gnu: java-tomcat: Remove bundled jars.
Date: Sat, 21 Jul 2018 10:25:10 +0200
[Message part 1 (text/plain, inline)]
* gnu/packages/web.scm (java-tomcat)[source]: Add snippet to remove bundled jars.
---
 gnu/packages/web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 008154d..a3290a3 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5719,7 +5719,13 @@ encoder/decoder based on the draft-12 specification for UBJSON.")
                                   version "/src/apache-tomcat-" version "-src.tar.gz"))
               (sha256
                (base32
-                "1qjsr6zmkdciakya4jqz0ssnsk02qlmmd898c05rasfwcrpj0xi6"))))
+                "1qjsr6zmkdciakya4jqz0ssnsk02qlmmd898c05rasfwcrpj0xi6"))
+              (modules '((guix build utils)))
+              ;; Delete bundled jars.
+              (snippet
+               '(begin
+                  (for-each delete-file (find-files "." "\\.jar$"))
+                  #t))))
     (build-system ant-build-system)
     (inputs
      `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
-- 
2.7.4

[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 6 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.