[pkg-java] r4640 - trunk/libjboss-cache-java/debian

twerner at alioth.debian.org twerner at alioth.debian.org
Tue Nov 6 17:26:49 UTC 2007


Author: twerner
Date: 2007-11-06 17:26:48 +0000 (Tue, 06 Nov 2007)
New Revision: 4640

Modified:
   trunk/libjboss-cache-java/debian/
   trunk/libjboss-cache-java/debian/ant.properties
   trunk/libjboss-cache-java/debian/build.xml
   trunk/libjboss-cache-java/debian/rules
Log:
first try



Property changes on: trunk/libjboss-cache-java/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Modified: trunk/libjboss-cache-java/debian/ant.properties
===================================================================
--- trunk/libjboss-cache-java/debian/ant.properties	2007-11-06 17:14:58 UTC (rev 4639)
+++ trunk/libjboss-cache-java/debian/ant.properties	2007-11-06 17:26:48 UTC (rev 4640)
@@ -1,8 +1,4 @@
-project.name=jboss-common
+project.name=jboss-cache
 class.dir=classes
-source.dir=src/main/java
-common-core.dir=common-core
-common-logging-spi.dir=common-logging-spi
-common-logging-jdk.dir=common-logging-jdk
-common-logging-log4j.dir=common-logging-log4j
-jboss-common.jar=jboss-common.jar
+source.dir=src
+jboss-cache.jar=jboss-cache.jar

Modified: trunk/libjboss-cache-java/debian/build.xml
===================================================================
--- trunk/libjboss-cache-java/debian/build.xml	2007-11-06 17:14:58 UTC (rev 4639)
+++ trunk/libjboss-cache-java/debian/build.xml	2007-11-06 17:26:48 UTC (rev 4640)
@@ -3,27 +3,18 @@
 <project default="jar" name="${project.name}" basedir="..">
 
   <target name="clean">
-    <delete dir="all-sources" quiet="true"/>
     <delete dir="${class.dir}" quiet="true"/>
-    <delete file="${jboss-common.jar}" quiet="true"/>
+    <delete file="${jboss-cache.jar}" quiet="true"/>
   </target>
 
   <target name="compile">
-    <mkdir dir="all-sources"/>
-    <copy todir="all-sources">
-      <fileset dir="${common-core.dir}/${source.dir}" />
-      <fileset dir="${common-logging-log4j.dir}/${source.dir}" />
-      <fileset dir="${common-logging-spi.dir}/${source.dir}" />
-      <fileset dir="${common-logging-jdk.dir}/${source.dir}" />
-    </copy>
-
     <mkdir dir="${class.dir}"/>
-    <javac srcdir="all-sources" destdir="${class.dir}"
+    <javac srcdir="${source.dir}" destdir="${class.dir}"
       debug="true" source="1.5"/>
   </target>
 
   <target name="jar" description="o Create the jar" depends="compile">
-    <jar jarfile="${jboss-common.jar}">
+    <jar jarfile="${jboss-cache.jar}">
       <fileset dir="${class.dir}">
           <include name="org/**"/>
       </fileset>

Modified: trunk/libjboss-cache-java/debian/rules
===================================================================
--- trunk/libjboss-cache-java/debian/rules	2007-11-06 17:14:58 UTC (rev 4639)
+++ trunk/libjboss-cache-java/debian/rules	2007-11-06 17:26:48 UTC (rev 4640)
@@ -3,14 +3,18 @@
 include /usr/share/cdbs/1/class/ant.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
-JAVA_HOME 		:= /usr/lib/jvm/java-gcj
-DEB_ANT_BUILD_TARGET	:= jar
-DEB_ANT_BUILDFILE	:= debian/build.xml
-DEB_JARS		:= 
+JAVA_HOME 	     := /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET := jar
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_JARS	     := findbugs jboss-client jboss-aop-jdk50 je bsh c3p0 \
+	ant-junit jgroups-core commons-logging glassfish-javaee jdbm \
+	jboss-common junit
 
 install/libjboss-cache-java::
-	install -m 644 -D jboss-cache.jar $(DEB_DESTDIR)/usr/share/java/jboss-cache-$(DEB_UPSTREAM_VERSION).jar
-	dh_link /usr/share/java/jboss-cache-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jboss-cache.jar
+	install -m 644 -D jboss-cache.jar \
+	  $(DEB_DESTDIR)/usr/share/java/jboss-cache-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/jboss-cache-$(DEB_UPSTREAM_VERSION).jar \
+	  /usr/share/java/jboss-cache.jar
 
 get-orig-source:
-	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)
+	uscan --upstream-version 0 --rename




More information about the pkg-java-commits mailing list