update changelog
[debian/jabref-plugin-oo.git] / debian / patches / debian-libs.patch
1 Description: build against the Debian jars
2 Forwarded: not-needed
3 Author: gregor herrmann <gregoa@debian.org>
4 Last-Update: 2012-03-31
5
6 --- a/build.xml
7 +++ b/build.xml
8 @@ -14,17 +14,27 @@
9         <!-- Properties -->
10         <property name="version" value="0.9" />
11         <property name="build.classes" value="classes" />
12 -       <property name="jabref.build.dir" value="lib" />
13 +       <property name="jabref.dir" value="/usr/share/java" />
14 +       <property name="oo.dir" value="/usr/lib/libreoffice/program/classes" />
15 +       <property name="ure.dir" value="/usr/lib/ure/share/java" />
16      <property name="jar.dir" value="dist" />
17      <property name="jar" value="${jar.dir}/${ant.project.name}-${version}.jar" />
18         
19         <path id="classpath">
20 -               <fileset dir="${jabref.build.dir}">
21 +               <fileset dir="${ure.dir}">
22              <include name="jurt.jar" />
23              <include name="juh.jar" />
24 -            <include name="unoil.jar" />
25              <include name="ridl.jar" />
26 -            <include name="JabRef-2.6.jar" />
27 +               </fileset>
28 +               <fileset dir="${oo.dir}">
29 +            <include name="unoil.jar" />
30 +               </fileset>
31 +               <fileset dir="${jabref.dir}">
32 +            <include name="jabref.jar" />
33 +            <include name="glazedlists.jar" />
34 +            <include name="antlr3.jar" />
35 +            <include name="antlr3-runtime.jar" />
36 +            <include name="forms.jar" />
37                 </fileset>
38         </path>
39