Merge lp:~slub.team/goobi-production/bug-1013622 into lp:goobi-production/1.7

Proposed by Ralf Claussnitzer
Status: Merged
Approved by: Ralf Claussnitzer
Approved revision: 73
Merged at revision: 73
Proposed branch: lp:~slub.team/goobi-production/bug-1013622
Merge into: lp:goobi-production/1.7
Diff against target: 29 lines (+1/-10)
1 file modified
build.xml (+1/-10)
To merge this branch: bzr merge lp:~slub.team/goobi-production/bug-1013622
Reviewer Review Type Date Requested Status
Henning Gerhardt Approve
Matthias Ronge Pending
zeutschel Pending
Review via email: mp+112591@code.launchpad.net

Description of the change

Changing <zipfileset> to <zipgroupfileset> deflates all dependend JARs and generates a big combined JAR file.

NOTE: This is probably violating licenses of the used libraries, especially if from Sun. Consider it a workaround.

To post a comment you must log in.
Revision history for this message
Henning Gerhardt (henning-gerhardt) wrote :

looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'build.xml'
2--- build.xml 2012-05-09 15:19:19 +0000
3+++ build.xml 2012-06-28 15:36:29 +0000
4@@ -295,24 +295,15 @@
5
6 <!-- Build standalone CLI jar -->
7 <target name="jar" depends="compile, copy-config">
8-
9- <manifestclasspath property="manifest.classpath" jarfile="${build.dist.jar}">
10- <classpath>
11- <fileset dir="${lib.dir}" includes="*.jar"/>
12- </classpath>
13- </manifestclasspath>
14-
15 <jar destfile="${build.dist.jar}">
16 <fileset dir="${build.classes}" includes="**/*.class, log4j.properties, GoobiConfig.properties, hibernate.cfg.xml"/>
17- <zipfileset dir="${lib.dir}" prefix="lib"/>
18-
19+ <zipgroupfileset dir="${lib.dir}" includes="*.jar"/>
20 <manifest>
21 <attribute name="Implementation-Title" value="${ant.project.name}"/>
22 <attribute name="Implementation-Version" value="${build.dist.version}"/>
23 <attribute name="Implementation-Vendor" value="${build.dist.vendor}"/>
24 <attribute name="Implementation-URL" value="${build.dist.url}"/>
25 <attribute name="Implementation-Build-Date" value="${TODAY_UK}"/>
26- <attribute name="Class-Path" value=". ${manifest.classpath}"/>
27 <attribute name="Main-Class" value="org.goobi.production.cli.CommandLineInterface"/>
28 </manifest>
29 </jar>

Subscribers

People subscribed via source and target branches

to all changes: