Author: trygvis-guest
Date: 2007-06-02 12:31:36 +0000 (Sat, 02 Jun 2007)
New Revision: 3563

Added:
   trunk/classworlds/
   trunk/classworlds/debian/
   trunk/classworlds/debian/build.xml
   trunk/classworlds/debian/changelog
   trunk/classworlds/debian/compat
   trunk/classworlds/debian/control
   trunk/classworlds/debian/copyright
   trunk/classworlds/debian/rules
Log:
o Adding a classworlds package. The plexus-container-default alpha-9 release 
requires this.


Property changes on: trunk/classworlds
___________________________________________________________________
Name: svn:ignore
   + xdocs
LICENSE.txt
project.properties
maven.xml
project.xml
lib
src
pom.xml
.cvsignore


Added: trunk/classworlds/debian/build.xml
===================================================================
--- trunk/classworlds/debian/build.xml                          (rev 0)
+++ trunk/classworlds/debian/build.xml  2007-06-02 12:31:36 UTC (rev 3563)
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+
+<project name="classworlds" default="package" basedir="..">
+
+    <property file="debian/build.properties"/>
+    <property name="build.sourceDirectory" value="src/java/main"/>
+    <property name="maven.test.skip" value="true"/>
+    <property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+
+    <target name="clean">
+        <ant target="clean" 
antfile="/usr/share/maven-ant-helper/maven-build.xml" dir="."/>
+    </target>
+
+    <target name="package">
+        <ant target="package" 
antfile="/usr/share/maven-ant-helper/maven-build.xml" dir=".">
+            <property name="artifactId" value="classworlds"/>
+        </ant>
+    </target>
+ 
+    <target name="javadoc">
+        <ant target="javadoc" 
antfile="/usr/share/maven-ant-helper/maven-build.xml" dir=".">
+            <property name="artifactId" value="classworlds"/>
+        </ant>
+    </target>
+</project>

Added: trunk/classworlds/debian/changelog
===================================================================
--- trunk/classworlds/debian/changelog                          (rev 0)
+++ trunk/classworlds/debian/changelog  2007-06-02 12:31:36 UTC (rev 3563)
@@ -0,0 +1,5 @@
+classworlds (1.1-alpha-2-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Trygve Laugstol <[EMAIL PROTECTED]>  Sat, 2 Jun 2007 10:28:32 +0100

Added: trunk/classworlds/debian/compat
===================================================================
--- trunk/classworlds/debian/compat                             (rev 0)
+++ trunk/classworlds/debian/compat     2007-06-02 12:31:36 UTC (rev 3563)
@@ -0,0 +1 @@
+5

Added: trunk/classworlds/debian/control
===================================================================
--- trunk/classworlds/debian/control                            (rev 0)
+++ trunk/classworlds/debian/control    2007-06-02 12:31:36 UTC (rev 3563)
@@ -0,0 +1,24 @@
+Source: classworlds
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <[EMAIL PROTECTED]>
+Uploaders: Trygve Laugstøl <[EMAIL PROTECTED]>
+Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, 
libxalan2-java, maven-ant-helper
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.7.2
+
+Package: libclassworlds-java
+Architecture: all
+Section: libs
+Suggests: libclassworlds-java-doc
+Description: Classworlds is a framework for container developers who require 
complex manipulation of Java's ClassLoaders.
+ Classworlds provides a richer set of semantics for class loading than Java's
+ normal mechanisms, while still being able to provide a ClassLoader interface
+ to integrate seamlessly with the Java environment.
+
+Package: libclassworlds-java-doc
+Architecture: all
+Section: doc
+Depends: classpath-doc
+Suggests: libclassworlds-java
+Description: Documentation for the Classworlds Java library

Added: trunk/classworlds/debian/copyright
===================================================================
--- trunk/classworlds/debian/copyright                          (rev 0)
+++ trunk/classworlds/debian/copyright  2007-06-02 12:31:36 UTC (rev 3563)
@@ -0,0 +1,54 @@
+classworlds was downloaded from http://svn.codehaus.org/classworlds
+
+Upstream Authors:  
+       Ben Walding <[EMAIL PROTECTED]>
+       bob mcwhirter<[EMAIL PROTECTED]>
+       Jason van Zyl<[EMAIL PROTECTED]>
+
+COPYRIGHT NOTICES:
+/*
+
+ $Id$
+
+ Copyright 2002 (C) The Codehaus. All Rights Reserved.
+ 
+ Redistribution and use of this software and associated documentation
+ ("Software"), with or without modification, are permitted provided
+ that the following conditions are met:
+
+ 1. Redistributions of source code must retain copyright
+    statements and notices.  Redistributions must also contain a
+    copy of this document.
+ 
+ 2. Redistributions in binary form must reproduce the
+    above copyright notice, this list of conditions and the
+    following disclaimer in the documentation and/or other
+    materials provided with the distribution.
+ 
+ 3. The name "classworlds" must not be used to endorse or promote
+    products derived from this Software without prior written
+    permission of The Codehaus.  For written permission, please 
+    contact [EMAIL PROTECTED]
+ 
+ 4. Products derived from this Software may not be called "classworlds"
+    nor may "classworlds" appear in their names without prior written
+    permission of The Codehaus. "classworlds" is a registered
+    trademark of The Codehaus.
+ 
+ 5. Due credit should be given to The Codehaus.
+    (http://classworlds.codehaus.org/).
+ 
+ THIS SOFTWARE IS PROVIDED BY THE CODEHAUS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+ NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ THE CODEHAUS OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+ */

Added: trunk/classworlds/debian/rules
===================================================================
--- trunk/classworlds/debian/rules                              (rev 0)
+++ trunk/classworlds/debian/rules      2007-06-02 12:31:36 UTC (rev 3563)
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+PACKAGE              := $(shell dpkg-parsechangelog | egrep '^Source:' | cut 
-f2 -d' ')
+VERSION              := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 
"s,Version: \(.*\)-.*,\1,g")
+JAVA_HOME            := /usr/lib/jvm/java-gcj
+ANT_HOME             := /usr/share/ant
+DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar 
$(ANT_HOME)/lib/ant-trax.jar xalan2
+DEB_ANT_BUILD_TARGET := package javadoc
+DEB_ANT_BUILDFILE    := ./debian/build.xml
+DEB_ANT_ARGS         := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+#DEB_ANT_INVOKE       := ant -verbose -Dpackage=$(PACKAGE) 
-Dversion=$(VERSION) -f $(BUILD_FILE)
+API_DOCS             := build/javadoc
+SVN                  := 
http://svn.codehaus.org/classworlds/tags/CLASSWORLDS_1_1_ALPHA_2/classworlds
+
+get-orig-source:
+       echo "Getting from $(SVN)"
+       rm -rf orig_tmp
+       mkdir orig_tmp
+       svn export -q $(SVN) orig_tmp/$(PACKAGE)
+       rm orig_tmp/$(PACKAGE)/lib/*.jar
+       ( cd orig_tmp; tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz 
$(PACKAGE) )
+       rm -rf orig_tmp
+
+makebuilddir/lib$(PACKAGE)-java::
+       echo "build/$(PACKAGE)-$(VERSION).jar usr/share/java" 
>debian/lib$(PACKAGE)-java.install
+       echo "/usr/share/java/$(PACKAGE)-$(VERSION).jar 
/usr/share/java/$(PACKAGE).jar" >debian/lib$(PACKAGE)-java.links
+
+makebuilddir/lib$(PACKAGE)-java-doc::
+       echo "$(API_DOCS) usr/share/doc/lib$(PACKAGE)-java" 
>debian/lib$(PACKAGE)-java-doc.install
+
+cleanbuilddir/lib$(PACKAGE)-java::
+       cd debian && rm -f lib$(PACKAGE)-java-doc.install 
lib$(PACKAGE)-java.links lib$(PACKAGE)-java.install
+
+


Property changes on: trunk/classworlds/debian/rules
___________________________________________________________________
Name: svn:executable
   + *


_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

Reply via email to