File: java_build.patch

package info (click to toggle)
sepp 4.5.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 33,376 kB
  • sloc: python: 5,635; java: 4,698; sh: 2,203; makefile: 53; xml: 31
file content (24 lines) | stat: -rw-r--r-- 929 bytes parent folder | download
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>