[pkg-java] r4136 - trunk/libyanfs-java/debian

kumanna-guest at alioth.debian.org kumanna-guest at alioth.debian.org
Sun Sep 9 06:17:11 UTC 2007


Author: kumanna-guest
Date: 2007-09-09 06:17:11 +0000 (Sun, 09 Sep 2007)
New Revision: 4136

Modified:
   trunk/libyanfs-java/debian/build.xml
   trunk/libyanfs-java/debian/changelog
Log:
* Ensure that *.properties and *.tgz is included in the JAR.

Modified: trunk/libyanfs-java/debian/build.xml
===================================================================
--- trunk/libyanfs-java/debian/build.xml	2007-09-08 23:19:00 UTC (rev 4135)
+++ trunk/libyanfs-java/debian/build.xml	2007-09-09 06:17:11 UTC (rev 4136)
@@ -2,6 +2,10 @@
 
 <project default="jar" name="yanfs" basedir="..">
   <property file="./build.properties" />
+  <patternset id="compiler.resources">
+    <include name="**/?*.properties" />
+    <include name="**/?*.tgz" />
+  </patternset>
   <target name="clean">
     <delete dir="${class.dir}" quiet="true" />
     <delete file="${jar.name}" quiet="true" />
@@ -12,6 +16,11 @@
     <mkdir dir="${class.dir}" />
     <javac srcdir="${source.dir}" destdir="${class.dir}"
     deprecation="true" debug="true" optimize="false" />
+    <copy todir="${class.dir}">
+      <fileset dir="${source.dir}">
+        <patternset refid="compiler.resources" />
+      </fileset>
+    </copy>
   </target>
 
   <target name="jar" description="o Create the jar" depends="compile">

Modified: trunk/libyanfs-java/debian/changelog
===================================================================
--- trunk/libyanfs-java/debian/changelog	2007-09-08 23:19:00 UTC (rev 4135)
+++ trunk/libyanfs-java/debian/changelog	2007-09-09 06:17:11 UTC (rev 4136)
@@ -5,5 +5,6 @@
 
   [ Kumar Appaiah ]
   * Add XS-Vcs-Browser and XS-Vcs-Svn entries.
+  * Ensure that *.properties and *.tgz is included in the JAR.
 
- -- Varun Hiremath <varunhiremath at gmail.com>  Fri, 07 Sep 2007 21:44:27 +0530
+ -- Kumar Appaiah <akumar at ee.iitm.ac.in>  Sun, 09 Sep 2007 11:53:26 +0530




More information about the pkg-java-commits mailing list