[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28841] [PATCH 02/24] gnu: Add java-tomcat.
From: |
Ricardo Wurmus |
Subject: |
[bug#28841] [PATCH 02/24] gnu: Add java-tomcat. |
Date: |
Wed, 18 Oct 2017 22:42:23 +0200 |
User-agent: |
mu4e 0.9.18; emacs 25.3.1 |
Hi again,
> * gnu/packages/java.scm (java-tomcat): New variable.
> ---
[…]
> + (inputs
> + `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core)))
Actually … I’m *very* surprised that this is the only input here. I
remember trying to package this early on, but failing because there were
so many unpackaged dependencies.
Are you sure this is the only required input here? Do the sources come
with bundled jars?
> + (add-after 'unpack 'properties
> + (lambda _
> + (mkdir "downloads")
> + (substitute* "build.xml"
> + (("download-compile,") "")
> + (("depends=\"validate\"") "depends=\"build-prepare\"")
> + ((",download-validate") ""))
> + (with-output-to-file "build.properties"
> + (lambda _
> + (display
> + (string-append "base.path=" (getcwd)
> "/downloads\n"))))))
Forgot to say this in my previous comment: please end this phase with “#t”.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net