jabref-plugin-oo (0.7.4+ds-3) debian-libs.patch

Summary

 build.xml |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

Author: gregor herrmann <gregoa@debian.org>
Description: build against the Debian jars
Debian-Specific: yes

--- a/build.xml
+++ b/build.xml
@@ -14,17 +14,24 @@
 	<!-- Properties -->
 	<property name="version" value="0.7.4" />
 	<property name="build.classes" value="classes" />
-	<property name="jabref.build.dir" value="lib" />
+	<property name="jabref.dir" value="/usr/share/java" />
+	<property name="oo.dir" value="/usr/share/java/openoffice" />
     <property name="jar.dir" value="dist" />
     <property name="jar" value="${jar.dir}/${ant.project.name}-${version}.jar" />
 	
 	<path id="classpath">
-		<fileset dir="${jabref.build.dir}">
+		<fileset dir="${oo.dir}">
             <include name="jurt.jar" />
             <include name="juh.jar" />
             <include name="unoil.jar" />
             <include name="ridl.jar" />
-            <include name="JabRef-2.6.jar" />
+		</fileset>
+		<fileset dir="${jabref.dir}">
+            <include name="jabref.jar" />
+            <include name="glazedlists.jar" />
+            <include name="antlr3.jar" />
+            <include name="antlr3-runtime.jar" />
+            <include name="forms.jar" />
 		</fileset>
 	</path>