[pkg-java] r4555 - in trunk: . libjboss-profiler-java libjboss-profiler-java/debian libjboss-test-java libjboss-test-java/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Thu Nov 1 19:13:24 UTC 2007


Author: varun-guest
Date: 2007-11-01 19:13:24 +0000 (Thu, 01 Nov 2007)
New Revision: 4555

Added:
   trunk/libjboss-profiler-java/
   trunk/libjboss-profiler-java/debian/
   trunk/libjboss-profiler-java/debian/README.Debian-source
   trunk/libjboss-profiler-java/debian/ant.properties
   trunk/libjboss-profiler-java/debian/build.xml
   trunk/libjboss-profiler-java/debian/changelog
   trunk/libjboss-profiler-java/debian/compat
   trunk/libjboss-profiler-java/debian/control
   trunk/libjboss-profiler-java/debian/copyright
   trunk/libjboss-profiler-java/debian/orig-tar.sh
   trunk/libjboss-profiler-java/debian/rules
   trunk/libjboss-profiler-java/debian/watch
   trunk/libjboss-test-java/
   trunk/libjboss-test-java/debian/
   trunk/libjboss-test-java/debian/README.Debian-source
   trunk/libjboss-test-java/debian/ant.properties
   trunk/libjboss-test-java/debian/build.xml
   trunk/libjboss-test-java/debian/changelog
   trunk/libjboss-test-java/debian/compat
   trunk/libjboss-test-java/debian/control
   trunk/libjboss-test-java/debian/copyright
   trunk/libjboss-test-java/debian/orig-tar.sh
   trunk/libjboss-test-java/debian/rules
   trunk/libjboss-test-java/debian/watch
Log:
* Initial inject of jboss-profile and jboss-test
  - jboss-profile.jar only includes jvmti java files
  - jboss-test builds with java-gcj but still gives error with jboss-profiler jar



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

Added: trunk/libjboss-profiler-java/debian/README.Debian-source
===================================================================
--- trunk/libjboss-profiler-java/debian/README.Debian-source	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/README.Debian-source	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,13 @@
+liboscache-java
+===============
+
+The upstream supplied source package contains binary jar files.
+Currently no clean source distribution exists. Therefore, the upstream
+sources were modified to comply with the Debian Free Software
+Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the 
+debian/orig-tar.sh file.
+
+ -- Varun Hiremath <varunhiremath at gmail.com>, Tue, 16 Oct 2007 12:36:26 +0530

Added: trunk/libjboss-profiler-java/debian/ant.properties
===================================================================
--- trunk/libjboss-profiler-java/debian/ant.properties	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/ant.properties	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,5 @@
+project.name=jboss-profiler
+class.dir=class
+jvmpi-source.dir=jvmpi-src/java-src
+jvmti-source.dir=jvmti-src/java-src
+jar.name=jboss-profiler.jar

Added: trunk/libjboss-profiler-java/debian/build.xml
===================================================================
--- trunk/libjboss-profiler-java/debian/build.xml	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/build.xml	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true"/>
+    <delete file="${jar.name}" quiet="true"/>
+  </target>
+
+  <target name="compile">
+    <mkdir dir="${class.dir}"/>
+    <javac srcdir="${jvmti-source.dir}" destdir="${class.dir}"
+    deprecation="true" debug="true" optimize="false"/>
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}">
+      <fileset dir="${class.dir}">
+          <include name="**"/>
+      </fileset>
+    </jar>
+  </target>
+
+</project>

Added: trunk/libjboss-profiler-java/debian/changelog
===================================================================
--- trunk/libjboss-profiler-java/debian/changelog	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/changelog	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,5 @@
+libjboss-profiler-java (1.0.RC3-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530

Added: trunk/libjboss-profiler-java/debian/compat
===================================================================
--- trunk/libjboss-profiler-java/debian/compat	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/compat	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1 @@
+5

Added: trunk/libjboss-profiler-java/debian/control
===================================================================
--- trunk/libjboss-profiler-java/debian/control	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/control	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,20 @@
+Source: libjboss-profiler-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, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://labs.jboss.com/jbossprofiler/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjboss-profiler-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjboss-profiler-java
+
+Package: libjboss-profiler-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: JBoss Profiler
+ JBoss Profiler is a log based profiler using JVMPI and JVMTI. It uses
+ an agent written in C that captures events from the JVM and logs to
+ disk. A web application running on JBoss or another machine can be
+ used to analyze these logs through a web browser.

Added: trunk/libjboss-profiler-java/debian/copyright
===================================================================
--- trunk/libjboss-profiler-java/debian/copyright	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/copyright	2007-11-01 19:13:24 UTC (rev 4555)
@@ -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 http://labs.jboss.com/jbossprofiler/
+
+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-profiler-java/debian/orig-tar.sh
===================================================================
--- trunk/libjboss-profiler-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/orig-tar.sh	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=libjboss-profiler-java_$2.orig.tar.gz
+DIR=libjboss-profiler-java-$2.orig
+
+# clean up the upstream tarball
+unzip $3 -d $DIR
+tar -c -z -f $TAR --exclude '*.jar' $DIR
+rm -rf $3 $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-profiler-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/libjboss-profiler-java/debian/rules
===================================================================
--- trunk/libjboss-profiler-java/debian/rules	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/rules	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,15 @@
+#!/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-gcj
+DEB_ANT_BUILD_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+
+install/libjboss-profiler-java::
+	install -m 644 -D jboss-profiler.jar $(DEB_DESTDIR)/usr/share/java/jboss-profiler-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/jboss-profiler-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jboss-profiler.jar
+
+get-orig-source:
+	-uscan --upstream-version 0


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

Added: trunk/libjboss-profiler-java/debian/watch
===================================================================
--- trunk/libjboss-profiler-java/debian/watch	                        (rev 0)
+++ trunk/libjboss-profiler-java/debian/watch	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,2 @@
+version=3
+http://labs.jboss.com/jbossprofiler/ .*jboss-profiler-(.*)\.zip debian debian/orig-tar.sh


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

Added: trunk/libjboss-test-java/debian/README.Debian-source
===================================================================
--- trunk/libjboss-test-java/debian/README.Debian-source	                        (rev 0)
+++ trunk/libjboss-test-java/debian/README.Debian-source	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,13 @@
+liboscache-java
+===============
+
+The upstream supplied source package contains binary jar files.
+Currently no clean source distribution exists. Therefore, the upstream
+sources were modified to comply with the Debian Free Software
+Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the 
+debian/orig-tar.sh file.
+
+ -- Varun Hiremath <varunhiremath at gmail.com>, Tue, 16 Oct 2007 12:36:26 +0530

Added: trunk/libjboss-test-java/debian/ant.properties
===================================================================
--- trunk/libjboss-test-java/debian/ant.properties	                        (rev 0)
+++ trunk/libjboss-test-java/debian/ant.properties	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,4 @@
+project.name=jboss-test
+class.dir=class
+source.dir=src/main/java
+jar.name=jboss-test.jar

Added: trunk/libjboss-test-java/debian/build.xml
===================================================================
--- trunk/libjboss-test-java/debian/build.xml	                        (rev 0)
+++ trunk/libjboss-test-java/debian/build.xml	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project default="jar" name="${project.name}" basedir="..">
+
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true"/>
+    <delete file="${jar.name}" quiet="true"/>
+  </target>
+
+  <target name="compile">
+    <mkdir dir="${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="${jar.name}">
+      <fileset dir="${class.dir}">
+          <include name="**"/>
+      </fileset>
+    </jar>
+  </target>
+</project>

Added: trunk/libjboss-test-java/debian/changelog
===================================================================
--- trunk/libjboss-test-java/debian/changelog	                        (rev 0)
+++ trunk/libjboss-test-java/debian/changelog	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,5 @@
+libjboss-test-java (0.0+svn66660-1) unstable; urgency=low
+
+  * Initial release (Closes: #)
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Tue, 24 Apr 2007 17:19:10 +0530

Added: trunk/libjboss-test-java/debian/compat
===================================================================
--- trunk/libjboss-test-java/debian/compat	                        (rev 0)
+++ trunk/libjboss-test-java/debian/compat	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1 @@
+5

Added: trunk/libjboss-test-java/debian/control
===================================================================
--- trunk/libjboss-test-java/debian/control	                        (rev 0)
+++ trunk/libjboss-test-java/debian/control	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,19 @@
+Source: libjboss-test-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, java-gcj-compat-dev
+Standards-Version: 3.7.2
+Homepage: http://labs.jboss.com/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjboss-test-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjboss-test-java
+
+Package: libjboss-test-java
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, java-gcj-compat | java1-runtime | java2-runtime
+Description: The JBoss Test Suite
+ The JBoss Testsuite module is a collection of JUnit tests which
+ require a running JBoss instance for in-container testing. Unit tests
+ not requiring the container reside in the module they are testing.

Added: trunk/libjboss-test-java/debian/copyright
===================================================================
--- trunk/libjboss-test-java/debian/copyright	                        (rev 0)
+++ trunk/libjboss-test-java/debian/copyright	2007-11-01 19:13:24 UTC (rev 4555)
@@ -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 http://labs.jboss.com/jbossprofiler/
+
+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-test-java/debian/orig-tar.sh
===================================================================
--- trunk/libjboss-test-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/libjboss-test-java/debian/orig-tar.sh	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# $1 = version
+TAR=../libjboss-test-java_$1.orig.tar.gz
+DIR=libjboss-test-java-$1.orig
+REVISION=`echo $1 | sed -e 's/.*svn//'`
+echo $REVISION
+
+# clean up the upstream tarball
+svn export -r $REVISION http://anonsvn.jboss.org/repos/jbossas/projects/test/trunk/ $DIR
+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-test-java/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/libjboss-test-java/debian/rules
===================================================================
--- trunk/libjboss-test-java/debian/rules	                        (rev 0)
+++ trunk/libjboss-test-java/debian/rules	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+JAVA_HOME 		:= /usr/lib/jvm/java-6-sun
+DEB_ANT_BUILD_TARGET	:= jar
+DEB_ANT_BUILDFILE	:= debian/build.xml
+DEB_JARS		:= jboss-common dtdparser xercesImpl glassfish-activation junit log4j-1.2 ant-junit jboss-profiler
+
+install/libjboss-test-java::
+	install -m 644 -D jboss-test.jar $(DEB_DESTDIR)/usr/share/java/jboss-test-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/jboss-test-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jboss-test.jar
+
+get-orig-source:
+	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)


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

Added: trunk/libjboss-test-java/debian/watch
===================================================================
--- trunk/libjboss-test-java/debian/watch	                        (rev 0)
+++ trunk/libjboss-test-java/debian/watch	2007-11-01 19:13:24 UTC (rev 4555)
@@ -0,0 +1,2 @@
+version=3
+http://labs.jboss.com/jbossprofiler/ .*jboss-profiler-(.*)\.zip debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list