1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Adapting the build.xml file of ant to Debian policy
There are no embedded jars to include.
The classpath thus has to be changed to include Debian-packaged jars.
The .java files should not be included in the target jars.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2021-09-25
--- a/tools/merge/build.xml
+++ b/tools/merge/build.xml
@@ -44,12 +44,8 @@
<attribute name="Main-Class" value="${main.class}" />
<!-- Finally, use the generated libs path -->
- <attribute name="Class-Path" value="lib/*.jar" />
+ <attribute name="Class-Path" value="/usr/share/java/jenkins-json-lib.jar /usr/share/java/gson.jar" />
</manifest>
-
- <zipgroupfileset dir="lib" includes="*.jar" />
- <!--<fileset dir="lib" includes="*.jar"/> -->
- <fileset dir="${src.home}" includes="**/*.java"/>
</jar>
</target>
|