File: java_build.patch

package info (click to toggle)
tipp 1.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 676 kB
  • sloc: java: 4,698; python: 1,892; xml: 62; makefile: 21
file content (40 lines) | stat: -rw-r--r-- 1,535 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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: 2020-09-18

--- 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>  
   
--- a/tools/merge/tipp.xml
+++ b/tools/merge/tipp.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>