actually deliver the classpath definition in the manifest file!
[debian/openrocket] / debian / patches / use-system-libs.diff
1 diff --git a/build.xml b/build.xml
2 index 394aea4..38b7a89 100644
3 --- a/build.xml
4 +++ b/build.xml
5 @@ -28,7 +28,9 @@
6         
7         <!-- Classpath definitions -->
8         <path id="classpath">
9 -               <fileset dir="${lib.dir}" includes="**/*.jar"/>
10 +               <pathelement location="/usr/share/java/jcommon.jar"/>
11 +               <pathelement location="/usr/share/java/jfreechart.jar"/>
12 +               <pathelement location="/usr/share/java/miglayout.jar"/>
13         </path>
14         
15         <path id="test-classpath">
16 @@ -71,10 +73,8 @@
17                         <manifest>
18                                 <attribute name="Main-Class" value="${main-class}"/>
19                                 <attribute name="SplashScreen-Image" value="pix/splashscreen.png"/>
20 +                               <attribute name="Class-Path" value="${classpath}"/>
21                         </manifest>
22 -                       <zipfileset src="lib/miglayout15-swing.jar" />
23 -                       <zipfileset src="lib/jcommon-1.0.16.jar" />
24 -                       <zipfileset src="lib/jfreechart-1.0.13.jar" />
25                 </jar>
26         </target>
27         
28 @@ -213,4 +213,4 @@ ${nonascii}</fail>
29                 </echo>
30         </target>
31      
32 -</project>
33 \ No newline at end of file
34 +</project>