GNU bug report logs -
#28841
[PATCH] New java packages
Previous Next
Full log
View this message in rfc822 format
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.