[pkg-java] r7009 - trunk/libhibernate3-java/debian

varun at alioth.debian.org varun at alioth.debian.org
Thu Sep 18 05:53:14 UTC 2008


Author: varun
Date: 2008-09-18 05:53:12 +0000 (Thu, 18 Sep 2008)
New Revision: 7009

Modified:
   trunk/libhibernate3-java/debian/ant.properties
   trunk/libhibernate3-java/debian/build.xml
   trunk/libhibernate3-java/debian/changelog
Log:
Include upstream provided *.dtd files in the jar (Closes: #496912)

Modified: trunk/libhibernate3-java/debian/ant.properties
===================================================================
--- trunk/libhibernate3-java/debian/ant.properties	2008-09-17 22:35:19 UTC (rev 7008)
+++ trunk/libhibernate3-java/debian/ant.properties	2008-09-18 05:53:12 UTC (rev 7009)
@@ -2,6 +2,7 @@
 class.dir=build
 antlr.dir=project/core/src/main/antlr/
 source.dir=project/core/src/main/java/
+resources.dir=project/core/src/main/resources/
 generate.dir=org/hibernate/hql/antlr
 doc.dir=javadoc
 jar=hibernate3.jar

Modified: trunk/libhibernate3-java/debian/build.xml
===================================================================
--- trunk/libhibernate3-java/debian/build.xml	2008-09-17 22:35:19 UTC (rev 7008)
+++ trunk/libhibernate3-java/debian/build.xml	2008-09-18 05:53:12 UTC (rev 7009)
@@ -2,6 +2,19 @@
 
 <project default="jar" name="${project.name}" basedir="..">
 
+  <patternset id="compiler.resources">
+	<include name="**/?*.properties" />
+	<include name="**/?*.xml" />
+	<include name="**/?*.gif" />
+	<include name="**/?*.png" />
+	<include name="**/?*.jpeg" />
+	<include name="**/?*.jpg" />
+	<include name="**/?*.html" />
+	<include name="**/?*.dtd" />
+	<include name="**/?*.tld" />
+	<include name="**/?*.ttf" />
+  </patternset>
+
   <target name="clean">
     <delete dir="${class.dir}" quiet="true"/>
   </target>
@@ -20,6 +33,11 @@
     <mkdir dir="${class.dir}"/>
     <javac srcdir="${source.dir}" destdir="${class.dir}"
       debug="true" source="1.5"/>
+    <copy todir="${class.dir}">
+	<fileset dir="${resources.dir}">
+		<patternset refid="compiler.resources" />
+	</fileset>
+    </copy>
   </target>
 
   <target name="jar" description="o Create the jar" depends="compile">

Modified: trunk/libhibernate3-java/debian/changelog
===================================================================
--- trunk/libhibernate3-java/debian/changelog	2008-09-17 22:35:19 UTC (rev 7008)
+++ trunk/libhibernate3-java/debian/changelog	2008-09-18 05:53:12 UTC (rev 7009)
@@ -1,10 +1,13 @@
 libhibernate3-java (3.3.0.CR1-2) unstable; urgency=low
 
-  UNRELEASED
+  [ Torsten Werner ]
   * Simplify debian/watch.
 
- -- Torsten Werner <twerner at debian.org>  Sat, 16 Aug 2008 01:40:27 +0200
+  [ Varun Hiremath ]
+  * Include upstream provided *.dtd files in the jar (Closes: #496912)
 
+ -- Varun Hiremath <varun at debian.org>  Thu, 18 Sep 2008 01:18:44 -0400
+
 libhibernate3-java (3.3.0.CR1-1) unstable; urgency=low
 
   * New upstream release




More information about the pkg-java-commits mailing list