[pkg-java] r4532 - in trunk: . libjboss-common-java libjboss-common-java/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Wed Oct 31 06:40:26 UTC 2007


Author: varun-guest
Date: 2007-10-31 06:40:26 +0000 (Wed, 31 Oct 2007)
New Revision: 4532

Added:
   trunk/libjboss-common-java/
   trunk/libjboss-common-java/debian/
   trunk/libjboss-common-java/debian/ant.properties
   trunk/libjboss-common-java/debian/build.xml
   trunk/libjboss-common-java/debian/changelog
   trunk/libjboss-common-java/debian/compat
   trunk/libjboss-common-java/debian/control
   trunk/libjboss-common-java/debian/copyright
   trunk/libjboss-common-java/debian/libjboss-common-core-java.install
   trunk/libjboss-common-java/debian/libjboss-common-logging-jdk-java.install
   trunk/libjboss-common-java/debian/libjboss-common-logging-log4-java.install
   trunk/libjboss-common-java/debian/libjboss-common-logging-spi-java.install
   trunk/libjboss-common-java/debian/orig-tar.sh
   trunk/libjboss-common-java/debian/rules
Log:
* Initial inject of jboss-common
* Builds with sun-java-jdk



Added: trunk/libjboss-common-java/debian/ant.properties
===================================================================
--- trunk/libjboss-common-java/debian/ant.properties	                        (rev 0)
+++ trunk/libjboss-common-java/debian/ant.properties	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1,11 @@
+project.name=jboss-common
+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
+common-core.jar=jboss-common-core.jar
+common-logging-spi.jar=jboss-common-logging-spi.jar
+common-logging-jdk.jar=jboss-common-logging-jdk.jar
+common-logging-log4j.jar=jboss-common-logging-log4j.jar

Added: trunk/libjboss-common-java/debian/build.xml
===================================================================
--- trunk/libjboss-common-java/debian/build.xml	                        (rev 0)
+++ trunk/libjboss-common-java/debian/build.xml	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+  <target name="clean">
+    <delete dir="all-sources" quiet="true"/>
+    <delete dir="${class.dir}" quiet="true"/>
+    <delete dir="${common-core.dir}/${class.dir}" quiet="true"/>
+    <delete dir="${common-logging-jdk.dir}/${class.dir}" quiet="true"/>
+    <delete dir="${common-logging-log4j.dir}/${class.dir}" quiet="true"/>
+    <delete dir="${common-logging-spi.dir}/${class.dir}" quiet="true"/>
+    <delete file="jboss-common.jar" quiet="true"/>
+    <delete file="${common-core.jar}" quiet="true"/>
+    <delete file="${common-logging-spi.jar}" quiet="true"/>
+    <delete file="${common-logging-jdk.jar}" quiet="true"/>
+    <delete file="${common-logging-log4j.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}"
+    deprecation="true" debug="true" optimize="false"/>
+
+    <jar jarfile="jboss-common.jar">
+      <fileset dir="${class.dir}">
+          <include name="org/**"/>
+      </fileset>
+    </jar>
+
+    <mkdir dir="${common-logging-log4j.dir}/${class.dir}"/>
+    <javac srcdir="${common-logging-log4j.dir}/${source.dir}" destdir="common-logging-log4j/${class.dir}"
+    deprecation="true" debug="true" optimize="false" classpath="jboss-common.jar"/>
+    <mkdir dir="${common-logging-jdk.dir}/${class.dir}"/>
+    <javac srcdir="${common-logging-jdk.dir}/${source.dir}" destdir="common-logging-jdk/${class.dir}"
+    deprecation="true" debug="true" optimize="false" classpath="jboss-common.jar"/>
+    <mkdir dir="${common-logging-spi.dir}/${class.dir}"/>
+    <javac srcdir="${common-logging-spi.dir}/${source.dir}" destdir="common-logging-spi/${class.dir}"
+    deprecation="true" debug="true" optimize="false" classpath="jboss-common.jar"/>
+    <mkdir dir="${common-core.dir}/${class.dir}"/>
+    <javac srcdir="${common-core.dir}/${source.dir}" destdir="common-core/${class.dir}"
+    deprecation="true" debug="true" optimize="false" classpath="jboss-common.jar"/>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${common-core.jar}">
+      <fileset dir="${common-core.dir}/${class.dir}">
+          <include name="org/**"/>
+      </fileset>
+    </jar>
+    <jar jarfile="${common-logging-log4j.jar}">
+      <fileset dir="${common-logging-log4j.dir}/${class.dir}">
+          <include name="org/**"/>
+      </fileset>
+    </jar>
+    <jar jarfile="${common-logging-jdk.jar}">
+      <fileset dir="${common-logging-jdk.dir}/${class.dir}">
+          <include name="org/**"/>
+      </fileset>
+    </jar>
+    <jar jarfile="${common-logging-spi.jar}">
+      <fileset dir="${common-logging-spi.dir}/${class.dir}">
+          <include name="org/**"/>
+      </fileset>
+    </jar>
+  </target>
+
+</project>

Added: trunk/libjboss-common-java/debian/changelog
===================================================================
--- trunk/libjboss-common-java/debian/changelog	                        (rev 0)
+++ trunk/libjboss-common-java/debian/changelog	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1,5 @@
+libjboss-common-java (0.0+svn2663-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530

Added: trunk/libjboss-common-java/debian/compat
===================================================================
--- trunk/libjboss-common-java/debian/compat	                        (rev 0)
+++ trunk/libjboss-common-java/debian/compat	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1 @@
+5

Added: trunk/libjboss-common-java/debian/control
===================================================================
--- trunk/libjboss-common-java/debian/control	                        (rev 0)
+++ trunk/libjboss-common-java/debian/control	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1,52 @@
+Source: libjboss-common-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Torsten Werner <twerner at debian.org>
+Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends-Indep: ant, sun-java6-jdk, libslide-webdavclient-java,
+ liblog4j1.2-java, libcommons-httpclient-java
+Standards-Version: 3.7.2
+Homepage: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCommonProject
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjboss-common-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjboss-common-java
+
+Package: libjboss-common-core-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: The JBoss Common Project
+ The common module in JBoss Application Server has been promoted to a
+ standalone project. The project itself has now been and broken up
+ into several projects.
+ .
+ This package ships the Utility classes of Jboss.
+
+Package: libjboss-common-logging-spi-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: The JBoss Common Project
+ The common module in JBoss Application Server has been promoted to a
+ standalone project. The project itself has now been and broken up
+ into several projects.
+ .
+ This package ships the The JBoss Logging interface.
+
+Package: libjboss-common-logging-log4-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: The JBoss Common Project
+ The common module in JBoss Application Server has been promoted to a
+ standalone project. The project itself has now been and broken up
+ into several projects.
+ .
+ This package ships the the log4j implementation of JBoss.	  
+
+Package: libjboss-common-logging-jdk-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: The JBoss Common Project
+ The common module in JBoss Application Server has been promoted to a
+ standalone project. The project itself has now been and broken up
+ into several projects.
+ .
+ This package ships the logging jdk classes of JBoss.

Added: trunk/libjboss-common-java/debian/copyright
===================================================================
--- trunk/libjboss-common-java/debian/copyright	                        (rev 0)
+++ trunk/libjboss-common-java/debian/copyright	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1,13 @@
+This package was debianized by Varun Hiremath <varunhiremath at gmail.com> on
+Tue, 24 Apr 2007 17:19:10 +0530.
+
+It was downloaded from 
+
+Upstream Author:
+
+Copyright:
+
+License:
+
+The Debian packaging is (C) 2007, Varun Hiremath <varunhiremath at gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/libjboss-common-java/debian/libjboss-common-core-java.install
===================================================================
--- trunk/libjboss-common-java/debian/libjboss-common-core-java.install	                        (rev 0)
+++ trunk/libjboss-common-java/debian/libjboss-common-core-java.install	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/jboss-common-core*

Added: trunk/libjboss-common-java/debian/libjboss-common-logging-jdk-java.install
===================================================================
--- trunk/libjboss-common-java/debian/libjboss-common-logging-jdk-java.install	                        (rev 0)
+++ trunk/libjboss-common-java/debian/libjboss-common-logging-jdk-java.install	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/jboss-common-logging-jdk*

Added: trunk/libjboss-common-java/debian/libjboss-common-logging-log4-java.install
===================================================================
--- trunk/libjboss-common-java/debian/libjboss-common-logging-log4-java.install	                        (rev 0)
+++ trunk/libjboss-common-java/debian/libjboss-common-logging-log4-java.install	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/jboss-common-logging-log4j*

Added: trunk/libjboss-common-java/debian/libjboss-common-logging-spi-java.install
===================================================================
--- trunk/libjboss-common-java/debian/libjboss-common-logging-spi-java.install	                        (rev 0)
+++ trunk/libjboss-common-java/debian/libjboss-common-logging-spi-java.install	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1 @@
+debian/tmp/usr/share/java/jboss-common-logging-spi*

Added: trunk/libjboss-common-java/debian/orig-tar.sh
===================================================================
--- trunk/libjboss-common-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/libjboss-common-java/debian/orig-tar.sh	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../libjboss-common-java_$1.orig.tar.gz
+DIR=libjboss-common-java-$1.orig
+REVISION=`echo $1 | sed -e 's/.*svn//'`
+
+# clean up the upstream tarball
+mkdir $DIR
+(cd $DIR;\
+svn export -r $REVISION http://anonsvn.jboss.org/repos/common/common-core/trunk common-core;\
+svn export -r $REVISION http://anonsvn.jboss.org/repos/common/common-logging-jdk/trunk common-logging-jdk;\
+svn export -r $REVISION http://anonsvn.jboss.org/repos/common/common-logging-log4j/trunk common-logging-log4j;\
+svn export -r $REVISION http://anonsvn.jboss.org/repos/common/common-logging-spi/trunk common-logging-spi)
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi


Property changes on: trunk/libjboss-common-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/libjboss-common-java/debian/rules
===================================================================
--- trunk/libjboss-common-java/debian/rules	                        (rev 0)
+++ trunk/libjboss-common-java/debian/rules	2007-10-31 06:40:26 UTC (rev 4532)
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+JAVA_HOME 		:= /usr/lib/jvm/java-6-sun
+DEB_ANT_BUILD_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+DEB_JARS		:= log4j-1.2 commons-httpclient jakarta-slide-webdavlib
+DEB_DESTDIR		:= $(CURDIR)/debian/tmp
+
+ALL_JARS = $(wildcard *.jar)
+DEST_DIR = $(DEB_DESTDIR)/usr/share/java
+common-install-prehook-indep::
+	for jar in $(ALL_JARS); do                         \
+	  BASENAME=`basename $$jar .jar`;        \
+	  FULLNAME=$$BASENAME-$(DEB_UPSTREAM_VERSION).jar; \
+	  install -m 644 -D $$jar $(DEST_DIR)/$$FULLNAME;  \
+	  ln -s $$FULLNAME $(DEST_DIR)/$$BASENAME.jar;     \
+	done
+
+get-orig-source:
+	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)


Property changes on: trunk/libjboss-common-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-java-commits mailing list