Replace OpenOffice with OpenOffice.org in debian/control and
[debian/jabref-plugin-oo.git] / debian / patches / debian-libs.patch
1 Author: gregor herrmann <gregoa@debian.org>
2 Description: build against the Debian jars
3 Debian-Specific: yes
4
5 --- a/build.xml
6 +++ b/build.xml
7 @@ -14,17 +14,24 @@
8         <!-- Properties -->
9         <property name="version" value="0.7.4" />
10         <property name="build.classes" value="classes" />
11 -       <property name="jabref.build.dir" value="lib" />
12 +       <property name="jabref.dir" value="/usr/share/java" />
13 +       <property name="oo.dir" value="/usr/share/java/openoffice" />
14      <property name="jar.dir" value="dist" />
15      <property name="jar" value="${jar.dir}/${ant.project.name}-${version}.jar" />
16         
17         <path id="classpath">
18 -               <fileset dir="${jabref.build.dir}">
19 +               <fileset dir="${oo.dir}">
20              <include name="jurt.jar" />
21              <include name="juh.jar" />
22              <include name="unoil.jar" />
23              <include name="ridl.jar" />
24 -            <include name="JabRef-2.6.jar" />
25 +               </fileset>
26 +               <fileset dir="${jabref.dir}">
27 +            <include name="jabref.jar" />
28 +            <include name="glazedlists.jar" />
29 +            <include name="antlr3.jar" />
30 +            <include name="antlr3-runtime.jar" />
31 +            <include name="forms.jar" />
32                 </fileset>
33         </path>
34