revert last commit and integrate Rene's patch instead
[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,27 @@
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/lib/libreoffice/basis-link/program/classes" />
14 +       <property name="ure.dir" value="/usr/lib/ure/share/java" />
15      <property name="jar.dir" value="dist" />
16      <property name="jar" value="${jar.dir}/${ant.project.name}-${version}.jar" />
17         
18         <path id="classpath">
19 -               <fileset dir="${jabref.build.dir}">
20 +               <fileset dir="${ure.dir}">
21              <include name="jurt.jar" />
22              <include name="juh.jar" />
23 -            <include name="unoil.jar" />
24              <include name="ridl.jar" />
25 -            <include name="JabRef-2.6.jar" />
26 +               </fileset>
27 +               <fileset dir="${oo.dir}">
28 +            <include name="unoil.jar" />
29 +               </fileset>
30 +               <fileset dir="${jabref.dir}">
31 +            <include name="jabref.jar" />
32 +            <include name="glazedlists.jar" />
33 +            <include name="antlr3.jar" />
34 +            <include name="antlr3-runtime.jar" />
35 +            <include name="forms.jar" />
36                 </fileset>
37         </path>
38