Package: libjopendocument-java / 1.3repack-1

use-system-jars.patch Patch series | 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
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>