GNU bug report logs - #28841
[PATCH] New java packages

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Sat, 14 Oct 2017 22:02:02 UTC

Owned by: Ricardo Wurmus <rekado <at> elephly.net>

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #97 received at 28841 <at> debbugs.gnu.org (full text, mbox):

From: julien lepiller <julien <at> lepiller.eu>
To: 28841 <at> debbugs.gnu.org
Subject: Re: [bug#28841] [PATCH 02/24] gnu: Add java-tomcat.
Date: Thu, 19 Oct 2017 11:45:28 +0200
Le 2017-10-18 22:42, Ricardo Wurmus a écrit :
> 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?

I've added this to a phase:

(for-each delete-file (find-files "." ".*.jar$"))

and it still builds correctly, so i'm fairly confident that's the only 
required dependency. The tests though have a lot of dependencies that 
are fetched by the build script, but it's disabled in the "properties" 
phase (I should use a different phase though, because it has nothing to 
do with properties).

Now I have no idea how tomcat is supposed to work. I only need it 
because it has a more recent version of the servlet api that is required 
at least by jetty, and that part at least is correct. Maybe some of the 
dependencies are actually run-time dependencies? At first I wanted to 
create only a java-tomcat-servlet-api package, but I can't use the 
upstream build.xml for that.

I will apply all your suggestions of course.

Thank you for the review!




This bug report was last modified 7 years and 215 days ago.

Previous Next


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