gnu: java-tomcat: Remove bundled jars.

* gnu/packages/web.scm (java-tomcat)[source]: Add snippet to remove bundled jars.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Björn Höfling 2018-07-21 10:25:10 +02:00 committed by Julien Lepiller
parent 6a86d3576c
commit 8dae9c92b6
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 7 additions and 1 deletions

View File

@ -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)))