need classpath augmented, too
authorBdale Garbee <bdale@gag.com>
Sat, 23 Apr 2011 17:32:04 +0000 (11:32 -0600)
committerBdale Garbee <bdale@gag.com>
Sat, 23 Apr 2011 17:32:04 +0000 (11:32 -0600)
debian/patches/use-system-libs.diff

index 2e399544fc1200275896e119df41b201edfa24b4..842b2f62821a909ed2ce472b2ad4677bdc8bb378 100644 (file)
@@ -1,5 +1,5 @@
---- old/build.xml      2011-03-05 13:28:54.000000000 -0700
-+++ new/build.xml      2011-03-08 21:53:31.781302342 -0700
+--- a/build.xml        2011-04-23 11:31:08.000408298 -0600
++++ b/build.xml        2011-04-23 11:30:57.881335056 -0600
 @@ -13,7 +13,6 @@
        
        <property name="classes.dir" value="${dist.dir}"/>      <!-- Directory for classes -->
@@ -8,19 +8,20 @@
  
        <property name="pkgname"     value="${ant.project.name}-${build.version}"/>
        
-@@ -27,7 +26,10 @@
+@@ -27,7 +26,11 @@
        
        <!-- Classpath definitions -->
        <path id="classpath">
 -              <fileset dir="${lib.dir}" includes="**/*.jar"/>
 +              <!-- update manifest class-path definition below too when making changes here -->
++              <pathelement location="/usr/share/java/itext5.jar"/>
 +              <pathelement location="/usr/share/java/jcommon.jar"/>
 +              <pathelement location="/usr/share/java/jfreechart.jar"/>
 +              <pathelement location="/usr/share/java/miglayout.jar"/>
        </path>
        
        <path id="test-classpath">
-@@ -36,7 +38,7 @@
+@@ -36,7 +39,7 @@
                <pathelement location="${build-test.dir}"/>
                <pathelement location="${classes.dir}"/>
                <pathelement location="${src-test.dir}"/>
@@ -29,7 +30,7 @@
        </path>
        
  
-@@ -69,11 +71,9 @@
+@@ -69,11 +72,9 @@
                        <manifest>
                                <attribute name="Main-Class" value="${main-class}"/>
                                <attribute name="SplashScreen-Image" value="pix/splashscreen.png"/>
@@ -43,7 +44,7 @@
                </jar>
        </target>
        
-@@ -89,7 +89,7 @@
+@@ -89,7 +90,7 @@
                        <fileset dir="." includes="*">
                                <type type="file"/>
                        </fileset>
@@ -52,7 +53,7 @@
                </copy>
                <zip destfile="${dist.src}" basedir="${build.dir}" includes="${pkgname}/"/>
                <delete dir="${build.dir}/${pkgname}"/>
-@@ -213,4 +213,4 @@
+@@ -213,4 +214,4 @@
                </echo>
        </target>