File: use-system-jars.patch

package info (click to toggle)
libjopendocument-java 1.3repack-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 7,868 kB
  • ctags: 13,669
  • sloc: java: 49,906; xml: 94; makefile: 6
file content (34 lines) | stat: -rw-r--r-- 1,013 bytes parent folder | download | duplicates (2)
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
Description: Use system jars
 Take itext and junit4 from system.
 This is debian specific.
Author: Pirate Praveen <praveen@debian.org>

Index: jOpenDocument/build.xml
===================================================================
--- jOpenDocument.orig/build.xml
+++ jOpenDocument/build.xml
@@ -51,6 +51,8 @@
 			<compilerarg value="-Xlint:unchecked" />
 			<classpath>
 				<fileset dir="lib" includes="**/*.jar" />
+				<fileset dir="/usr/share/java" includes="itext.jar" />
+				<fileset dir="/usr/share/java" includes="junit4.jar" />
 			</classpath>
 		</javac>
 		<antcall target="-mkjar">
@@ -82,6 +84,8 @@
 			<exclude name="**/Test.java" />
 			<classpath>
 				<fileset dir="lib" includes="**/*.jar" />
+				<fileset dir="/usr/share/java" includes="itext.jar" />
+				<fileset dir="/usr/share/java" includes="junit4.jar" />
 			</classpath>
 		</javac>
 		<antcall target="-mkjar">
@@ -101,4 +105,4 @@
 		</jar>
 	</target>
 
-</project>
\ No newline at end of file
+</project>