all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: 32231@debbugs.gnu.org
Subject: [bug#32231] [PATCH 7/8] gnu: java-tomcat: Remove bundled jars.
Date: Sat, 21 Jul 2018 10:25:10 +0200	[thread overview]
Message-ID: <20180721102510.3123a799@alma-ubu> (raw)
In-Reply-To: <20180721101401.63dee9b6@alma-ubu>

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]


* 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  parent reply	other threads:[~2018-07-21  8:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-21  8:14 [bug#32231] [PATCH 0/8] Tomcat related updates Björn Höfling
2018-07-21  8:20 ` [bug#32231] [PATCH 1/8] gnu: java-guice: Remove jars Björn Höfling
2018-07-21  8:22 ` [bug#32231] [PATCH 2/8] gnu: java-logback-core: Add file-name field Björn Höfling
2018-07-21  8:23 ` [bug#32231] [PATCH 3/8] gnu: java: Use java-classpathx-servletapi instead of java-tomcat where possible Björn Höfling
2018-07-21  8:23 ` [bug#32231] [PATCH 4/8] gnu: Add java-javaee-servletapi Björn Höfling
2018-07-21  8:24 ` [bug#32231] [PATCH 5/8] gnu: java: Use java-javaee-servletapi instead of java-tomcat Björn Höfling
2018-07-21  8:24 ` [bug#32231] [PATCH 6/8] gnu: java-tomcat: Update to 8.5.32 Björn Höfling
2018-07-21  8:25 ` Björn Höfling [this message]
2018-07-21  8:25 ` [bug#32231] [PATCH 8/8] gnu: java-tomcat: Strip timestamps Björn Höfling
2018-07-24 22:30 ` bug#32231: [PATCH 0/8] Tomcat related updates Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180721102510.3123a799@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=32231@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.