[pkg-java] r10387 - in trunk: . libjboss-marshalling-java libjboss-marshalling-java/debian

Torsten Werner twerner at alioth.debian.org
Tue Sep 15 18:58:01 UTC 2009


Author: twerner
Date: 2009-09-15 18:58:00 +0000 (Tue, 15 Sep 2009)
New Revision: 10387

Added:
   trunk/libjboss-marshalling-java/
   trunk/libjboss-marshalling-java/debian/
   trunk/libjboss-marshalling-java/debian/build.properties
   trunk/libjboss-marshalling-java/debian/build.xml
   trunk/libjboss-marshalling-java/debian/changelog
   trunk/libjboss-marshalling-java/debian/compat
   trunk/libjboss-marshalling-java/debian/control
   trunk/libjboss-marshalling-java/debian/copyright
   trunk/libjboss-marshalling-java/debian/orig-tar.sh
   trunk/libjboss-marshalling-java/debian/poms
   trunk/libjboss-marshalling-java/debian/rules
   trunk/libjboss-marshalling-java/debian/watch
Log:
new package libjboss-marshalling-java


Added: trunk/libjboss-marshalling-java/debian/build.properties
===================================================================
--- trunk/libjboss-marshalling-java/debian/build.properties	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/build.properties	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,26 @@
+javadoc.dir=build/api
+maven.test.skip=true
+classpath.compile = \
+                    ${basedir}/doxia-logging-api/build/doxia-logging-api-${version}.jar:\
+                    ${basedir}/doxia-sink-api/build/doxia-sink-api-${version}.jar:\
+                    ${basedir}/doxia-core/build/doxia-core-${version}.jar:\
+                    ${basedir}/doxia-modules/doxia-module-apt/build/doxia-module-apt-${version}.jar:\
+                    ${basedir}/doxia-modules/doxia-module-docbook-simple/build/doxia-module-docbook-simple-${version}.jar:\
+                    ${basedir}/doxia-modules/doxia-module-itext/build/doxia-module-itext-${version}.jar:\
+                    ${basedir}/doxia-modules/doxia-module-latex/build/doxia-module-latex-${version}.jar:\
+                    ${basedir}/doxia-modules/doxia-module-xdoc/build/doxia-module-xdoc-${version}.jar:\
+                    ${basedir}/doxia-modules/doxia-module-xhtml/build/doxia-module-xhtml-${version}.jar:\
+                    /usr/share/java/plexus-container-default.jar:\
+                    /usr/share/java/plexus-i18n.jar:\
+                    /usr/share/java/plexus-utils.jar:\
+                    /usr/share/java/plexus-velocity.jar:\
+                    /usr/share/java/velocity.jar:\
+                    /usr/share/java/modello-core.jar:\
+                    /usr/share/java/modello-plugin-xml.jar:\
+                    /usr/share/java/modello-plugin-xpp3.jar:\
+                    /usr/share/java/modello-plugin-xsd.jar:\
+                    /usr/share/java/maven-ant-helper.jar:\
+                    /usr/share/java/commons-configuration.jar:\
+                    /usr/share/java/commons-lang.jar:\
+                    /usr/share/java/fop.jar:\
+                    /usr/share/java/itext1.jar

Added: trunk/libjboss-marshalling-java/debian/build.xml
===================================================================
--- trunk/libjboss-marshalling-java/debian/build.xml	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/build.xml	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,100 @@
+<?xml version="1.0"?>
+
+<project name="pkg-java" default="package" basedir="..">
+
+    <property file="debian/build.properties"/>
+    <property name="maven.build" value="/usr/share/maven-ant-helper/maven-build.xml"/>
+    <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+
+    <macrodef name="cleanmodule">
+	    <attribute name="dir"/>
+	    <sequential>
+		  <ant target="clean" antfile="${maven.build}" dir="@{dir}">
+            <property name="debian.dir" location="debian" />
+            <property name="project.dir" value="@{dir}" />
+          </ant> 
+	    </sequential>
+    </macrodef>
+
+    <macrodef name="packagemodule">
+	    <attribute name="dir"/>
+	    <sequential>
+		<ant target="package" antfile="${maven.build}" dir="@{dir}">
+          <property name="debian.dir" location="debian" />
+          <property name="project.dir" value="@{dir}" />
+		</ant>
+	    </sequential>
+    </macrodef>
+
+    <target name="clean">
+        <delete dir="build"/>
+        <cleanmodule dir="doxia-logging-api"/>
+        <cleanmodule dir="doxia-logging-api"/>
+        <cleanmodule dir="doxia-sink-api"/>
+        <cleanmodule dir="doxia-core"/>
+        <cleanmodule dir="doxia-book"/>
+        <cleanmodule dir="doxia-modules/doxia-module-apt"/>
+        <cleanmodule dir="doxia-modules/doxia-module-confluence"/>
+        <cleanmodule dir="doxia-modules/doxia-module-docbook-simple"/>
+        <cleanmodule dir="doxia-modules/doxia-module-fml"/>
+        <cleanmodule dir="doxia-modules/doxia-module-fo"/>
+        <cleanmodule dir="doxia-modules/doxia-module-itext"/>
+        <cleanmodule dir="doxia-modules/doxia-module-latex"/>
+        <cleanmodule dir="doxia-modules/doxia-module-rtf"/>
+        <cleanmodule dir="doxia-modules/doxia-module-twiki"/>
+        <cleanmodule dir="doxia-modules/doxia-module-xdoc"/>
+        <cleanmodule dir="doxia-modules/doxia-module-xhtml"/>
+    </target>
+
+    <target name="generate-sources">
+        <taskdef name="modello" classname="ModelloTask" classpath="/usr/share/java/maven-ant-helper.jar:/usr/share/java/modello-core.jar:/usr/share/java/modello-plugin-xml.jar:/usr/share/java/modello-plugin-xpp3.jar"/>
+        <modello model="doxia-core/src/main/mdo/document.mdo" plugin="java" output="doxia-core/build/generated-sources" version="1.0.0"/>
+        <modello model="doxia-core/src/main/mdo/document.mdo" plugin="xpp3-reader" output="doxia-core/build/generated-sources" version="1.0.0"/>
+        <modello model="doxia-core/src/main/mdo/document.mdo" plugin="xpp3-writer" output="doxia-core/build/generated-sources" version="1.0.0"/>
+        <modello model="doxia-core/src/main/mdo/document.mdo" plugin="xsd" output="doxia-core/build/generated-sources" version="1.0.0"/>
+        <modello model="doxia-book/src/main/modello/book.mdo" plugin="java" output="doxia-book/build/generated-sources" version="1.0.0"/>
+        <modello model="doxia-book/src/main/modello/book.mdo" plugin="xpp3-reader" output="doxia-book/build/generated-sources" version="1.0.0"/>
+        <modello model="doxia-book/src/main/modello/book.mdo" plugin="xsd" output="doxia-book/build/generated-sources" version="1.0.0"/>
+        <modello model="doxia-modules/doxia-module-fml/src/main/mdo/fml.mdo" plugin="java" output="doxia-modules/doxia-module-fml/build/generated-sources" version="1.0.0"/>
+    </target>
+
+    <target name="package" depends="generate-sources">
+        <packagemodule dir=""/>
+        <packagemodule dir="doxia-logging-api"/>
+        <packagemodule dir="doxia-sink-api"/>
+        <packagemodule dir="doxia-core"/>
+        <packagemodule dir="doxia-modules/doxia-module-apt"/>
+        <packagemodule dir="doxia-modules/doxia-module-confluence"/>
+        <packagemodule dir="doxia-modules/doxia-module-docbook-simple"/>
+        <packagemodule dir="doxia-modules/doxia-module-fml"/>
+        <packagemodule dir="doxia-modules/doxia-module-fo"/>
+        <packagemodule dir="doxia-modules/doxia-module-itext"/>
+        <packagemodule dir="doxia-modules/doxia-module-latex"/>
+        <packagemodule dir="doxia-modules/doxia-module-rtf"/>
+        <packagemodule dir="doxia-modules/doxia-module-twiki"/>
+        <packagemodule dir="doxia-modules/doxia-module-xdoc"/>
+        <packagemodule dir="doxia-modules/doxia-module-xhtml"/>
+        <packagemodule dir="doxia-book"/>
+    </target>
+
+    <target name="javadoc">
+        <javadoc destdir="${javadoc.dir}">
+            <packageset dir="doxia-core/src/main/java/"/>
+            <packageset dir="doxia-book/src/main/java/"/>
+            <packageset dir="doxia-logging-api/src/main/java/"/>
+            <packageset dir="doxia-sink-api/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-apt/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-confluence/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-docbook-simple/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-fml/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-fo/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-itext/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-latex/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-rtf/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-twiki/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-xdoc/src/main/java/"/>
+            <packageset dir="doxia-modules/doxia-module-xhtml/src/main/java/"/>
+        </javadoc>
+    </target>
+
+</project>

Added: trunk/libjboss-marshalling-java/debian/changelog
===================================================================
--- trunk/libjboss-marshalling-java/debian/changelog	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/changelog	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,5 @@
+libjboss-marshalling-java (1.1.3.GA-1) unstable; urgency=low
+
+  * Initial release. (Closes: #546768)
+
+ -- Torsten Werner <twerner at debian.org>  Tue, 15 Sep 2009 20:36:18 +0200

Added: trunk/libjboss-marshalling-java/debian/compat
===================================================================
--- trunk/libjboss-marshalling-java/debian/compat	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/compat	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1 @@
+5

Added: trunk/libjboss-marshalling-java/debian/control
===================================================================
--- trunk/libjboss-marshalling-java/debian/control	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/control	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,48 @@
+Source: libjboss-marshalling-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>
+Build-Depends-Indep: maven-repo-helper (>= 0.7), maven-ant-helper (>> 4)
+Build-Depends: ant, debhelper (>= 5), cdbs, default-jdk
+Standards-Version: 3.8.<F3>
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjboss-marshalling-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjboss-marshalling-java/
+Homepage: http://jboss.org/jbossmarshalling/
+
+Package: libjboss-marshalling-java
+Architecture: all
+Depends: ${misc:Depends}
+Description: alternative serialization API
+ JBoss Marshalling is an alternative serialization API that fixes many of the
+ problems found in the JDK serialization API while remaining fully compatible
+ with java.io.Serializable and its relatives, and adds several new tunable
+ parameters and additional features, all of which are pluggable via factory
+ configuration (externalizers, class/instance lookup tables, class resolution,
+ and object replacement, to name a few).
+ .
+ This framework was inspired by the need for certain features unavailable with
+ the standard Object*Stream classes:
+ .
+  * Pluggable class resolvers, making it easy to customize classloader
+    policy, by implementing a small interface (rather than having to subclass
+    the Object*Stream classes)
+  * Pluggable object replacement (also without subclassing)
+  * Pluggable predefined class tables, which can dramatically decrease
+    stream size and serialization time for stream types which frequently use a
+    common set of classes
+  * Pluggable predefined instance tables, which make it easy to handle
+    remote references
+  * Pluggable externalizers which may be used to serialize classes
+    which are not Serializable, or for which an alternate strategy is needed
+  * Customizable stream headers
+  * Each marshaller instance is highly configurable and tunable to
+    maximize performance based on expected usage patterns A generalized API
+    which can support many different protocol implementations, including
+    protocols which do not necessarily provide all the above features
+  * Inexpensive instance creation, beneficial to applications where
+    many short-lived streams are used
+  * Support for separate class and instance caches, if the protocol
+    permits; useful for sending multiple messages or requests with a single
+    stream, with separate object graphs but retaining the class cache
+

Added: trunk/libjboss-marshalling-java/debian/copyright
===================================================================
--- trunk/libjboss-marshalling-java/debian/copyright	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/copyright	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,17 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: JBoss Marshalling
+Maintainer: JBoss Community
+Source: http://jboss.org/jbossmarshalling/
+
+Files: *
+Copyright: FIXME
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2009, Torsten Werner <twerner at debian.org>
+License: LGPL-2.1+
+
+License: LGPL-2.1+
+ On Debian GNU/Linux system you can find the complete text of the
+ license in '/usr/share/common-licenses/LGPL-2.1'
+

Added: trunk/libjboss-marshalling-java/debian/orig-tar.sh
===================================================================
--- trunk/libjboss-marshalling-java/debian/orig-tar.sh	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/orig-tar.sh	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+TAR=../doxia_$2.orig.tar.gz
+DIR=doxia-$2
+TAG=doxia-$2
+
+svn export http://svn.apache.org/repos/asf/maven/doxia/doxia/tags/$TAG $DIR
+# remove as it's packaged elsewhere
+rm -r $DIR/doxia-maven-plugin
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# 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-marshalling-java/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + 

Added: trunk/libjboss-marshalling-java/debian/poms
===================================================================
--- trunk/libjboss-marshalling-java/debian/poms	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/poms	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,6 @@
+pom.xml
+api/pom.xml
+river/pom.xml
+serial/pom.xml
+serialization-java/pom.xml
+

Added: trunk/libjboss-marshalling-java/debian/rules
===================================================================
--- trunk/libjboss-marshalling-java/debian/rules	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/rules	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_JARS             := ant-nodeps
+DEB_ANT_BUILD_TARGET := package javadoc
+DEB_ANT_BUILDFILE    := debian/build.xml
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+API_DOCS             := build/api
+MODULES              := api river serial serialization-java
+
+get-orig-source:
+	uscan --download-version $(VERSION) --force-download --rename
+
+binary-post-install/lib$(PACKAGE)-java::
+	mh_installpoms -plib$(PACKAGE)-java
+	set -e; for MODULE in $(MODULES); do \
+	  mh_installjar -plib$(PACKAGE)-java $$MODULE/pom.xml $$MODULE/build/$$MODULE-$(VERSION).jar; \
+	done
+
+#binary-post-install/lib$(PACKAGE)-java-doc::
+#	dh_install -plib$(PACKAGE)-java-doc $(API_DOCS) usr/share/doc/lib$(PACKAGE)-java
+


Property changes on: trunk/libjboss-marshalling-java/debian/rules
___________________________________________________________________
Added: svn:executable
   + 

Added: trunk/libjboss-marshalling-java/debian/watch
===================================================================
--- trunk/libjboss-marshalling-java/debian/watch	                        (rev 0)
+++ trunk/libjboss-marshalling-java/debian/watch	2009-09-15 18:58:00 UTC (rev 10387)
@@ -0,0 +1,3 @@
+version=3
+http://svn.apache.org/repos/asf/maven/doxia/doxia/tags/ doxia-(\d.*)/ \
+  debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list