Author: paulcager-guest
Date: 2007-04-02 11:25:59 +0000 (Mon, 02 Apr 2007)
New Revision: 3146

Added:
   trunk/plexus-container-default/debian/
   trunk/plexus-container-default/debian/build.xml
   trunk/plexus-container-default/debian/changelog
   trunk/plexus-container-default/debian/compat
   trunk/plexus-container-default/debian/control
   trunk/plexus-container-default/debian/copyright
   
trunk/plexus-container-default/debian/libplexus-container-default-java-doc.doc-base
   trunk/plexus-container-default/debian/patches/
   trunk/plexus-container-default/debian/patches/SunPrivateClass.patch
   trunk/plexus-container-default/debian/rules
Log:
Initial import of plexus-container-default


Added: trunk/plexus-container-default/debian/build.xml
===================================================================
--- trunk/plexus-container-default/debian/build.xml     2007-04-02 11:25:02 UTC 
(rev 3145)
+++ trunk/plexus-container-default/debian/build.xml     2007-04-02 11:25:59 UTC 
(rev 3146)
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+
+<!--
+      This build.xml file was written for the Debian build of 
plexus-container-default.
+      This file copyright (c) Paul Cager <[EMAIL PROTECTED]>
+
+        This software and documentation is provided "as is," and
+        the copyright holders and contributing author(s) make no
+        representations or warranties, express or implied, including
+        but not limited to, warranties of merchantability or fitness
+        for any particular purpose or that the use of the software or
+        documentation will not infringe any third party patents,
+        copyrights, trademarks or other rights. 
+
+        The copyright holders and contributing author(s) will not be
+        liable for any direct, indirect, special or consequential damages
+        arising out of any use of the software or documentation, even if
+        advised of the possibility of such damage.
+
+        Permission is hereby granted to use, copy, modify, and distribute
+        this source code, or portions hereof, documentation and executables,
+        for any purpose, without fee, subject to the following restrictions:
+
+        1. The origin of this source code must not be misrepresented.
+        2. Altered versions must be plainly marked as such and must
+           not be misrepresented as being the original source.
+        3. This Copyright notice may not be removed or altered from any
+           source or altered source distribution.
+-->
+
+<project name="plexus-container-default" default="package" basedir="..">
+
+<target name="package" depends="jar,javadoc"/>
+
+<target name="init">
+       <property name="src.dir" value="src"/>
+       <property name="build.dir" value="build"/>
+       <property name="jar" value="${build.dir}/${package}-${version}.jar"/>
+       <property name="javadoc.dir" value="${build.dir}/doc/api"/>
+       <echo message="Classpath: ${java.class.path}" />
+</target>
+
+<target name="compile" depends="init">
+       <mkdir dir="${build.dir}"/>
+       <javac srcdir="${src.dir}/main"
+               destdir="${build.dir}"
+               includes="**/*.java"
+               debug="on"
+       />
+</target>
+
+<target name="jar" depends="compile">
+       <delete file="${jar}"/>
+
+       <jar jarfile="${jar}"
+               basedir="${build.dir}"
+               includes="**/*.class,**/*.properties"
+       />
+</target>
+
+<target name="javadoc" depends="init">
+       <mkdir dir="${javadoc.dir}"/>
+       <javadoc packagenames="org.codehaus.plexus.*"
+               sourcepath="${src.dir}/main/java"
+               destdir="${javadoc.dir}"
+               author="true"
+               version="true"
+               windowtitle="${package} API"
+               doctitle="${package} - ${version}"
+               classpath="${java.class.path}"
+               >
+                       <link 
packagelistLoc="/usr/share/doc/libplexus-classworlds-java/api"
+                               
href="/usr/share/doc/libplexus-classworlds-java/api/" />
+                       <link packagelistLoc="/usr/share/doc/classpath-doc/api"
+                               href="/usr/share/doc/classpath-doc/api/" />
+                       <link 
packagelistLoc="/usr/share/doc/libplexus-utils-java/api"
+                               href="/usr/share/doc/libplexus-utils-java/api/" 
/>
+       </javadoc>
+</target>
+
+<target name="clean" depends="init">
+       <delete dir="${build.dir}"/>
+</target>
+</project>

Added: trunk/plexus-container-default/debian/changelog
===================================================================
--- trunk/plexus-container-default/debian/changelog     2007-04-02 11:25:02 UTC 
(rev 3145)
+++ trunk/plexus-container-default/debian/changelog     2007-04-02 11:25:59 UTC 
(rev 3146)
@@ -0,0 +1,5 @@
+plexus-container-default (1.0+svn6192-1) unstable; urgency=low
+
+  * Initial release. (Closes: #413522)
+
+ -- Paul Cager <[EMAIL PROTECTED]>  Mon,  2 Apr 2007 12:02:12 +0100

Added: trunk/plexus-container-default/debian/compat
===================================================================
--- trunk/plexus-container-default/debian/compat        2007-04-02 11:25:02 UTC 
(rev 3145)
+++ trunk/plexus-container-default/debian/compat        2007-04-02 11:25:59 UTC 
(rev 3146)
@@ -0,0 +1 @@
+5

Added: trunk/plexus-container-default/debian/control
===================================================================
--- trunk/plexus-container-default/debian/control       2007-04-02 11:25:02 UTC 
(rev 3145)
+++ trunk/plexus-container-default/debian/control       2007-04-02 11:25:59 UTC 
(rev 3146)
@@ -0,0 +1,63 @@
+Source: plexus-container-default
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers 
<[email protected]>
+Uploaders: Paul Cager <[EMAIL PROTECTED]>
+Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, 
libxalan2-java,
+                     libplexus-classworlds-java, libplexus-classworlds-java-doc
+Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
+Standards-Version: 3.7.2
+
+Package: libplexus-container-default-java
+Architecture: all
+Section: libs
+Depends: libplexus-classworlds-java
+Suggests: libplexus-container-default-java-doc
+Description: utilities for the Plexus framework
+ The Plexus project provides a full software stack for creating and executing
+ software projects. Based on the Plexus container, the applications can
+ utilise component-oriented programming to build modular, reusable components
+ that can easily be assembled and reused.
+ .
+ While Plexus is similar to other inversion-of-control (IoC) or dependency
+ injection frameworks such as the Spring Framework, it is a full-fledged
+ container that supports many more features such as:
+ .
+     * Component lifecycles
+     * Component instantiation strategies
+     * Nested containers
+     * Component configuration
+     * Auto-wiring
+     * Component dependencies, and
+     * Various dependency injection techniques including constructor injection,
+       setter injection, and private field injection. 
+ .
+  Homepage: http://plexus.codehaus.org/
+
+Package: libplexus-container-default-java-doc
+Architecture: all
+Section: doc
+Depends: classpath-doc
+Suggests: libplexus-container-default-java
+Description: API Documentation for plexus-container-default
+ The Plexus project provides a full software stack for creating and executing
+ software projects. Based on the Plexus container, the applications can
+ utilise component-oriented programming to build modular, reusable components
+ that can easily be assembled and reused.
+ .
+ While Plexus is similar to other inversion-of-control (IoC) or dependency
+ injection frameworks such as the Spring Framework, it is a full-fledged
+ container that supports many more features such as:
+ .
+     * Component lifecycles
+     * Component instantiation strategies
+     * Nested containers
+     * Component configuration
+     * Auto-wiring
+     * Component dependencies, and
+     * Various dependency injection techniques including constructor injection,
+       setter injection, and private field injection. 
+ .
+ This package contains the API documentation for plexus-container-default
+ .
+  Homepage: http://plexus.codehaus.org/

Added: trunk/plexus-container-default/debian/copyright
===================================================================
--- trunk/plexus-container-default/debian/copyright     2007-04-02 11:25:02 UTC 
(rev 3145)
+++ trunk/plexus-container-default/debian/copyright     2007-04-02 11:25:59 UTC 
(rev 3146)
@@ -0,0 +1,75 @@
+This package was debianized by Paul Cager <[EMAIL PROTECTED]>
+Sun, 25 Mar 2007 18:27:29 +0100
+
+The Debian packaging is Copyright (c) 2007 Paul Cager and is licensed under
+the GNU General Public License version 2. On Debian systems, the complete text
+of the GNU General Public License version 2 can be found in
+'/usr/share/common-licenses/GPL-2'.
+
+
+plex-container-default was downloaded from http://plexus.codehaus.org/
+
+Upstream Authors:  
+       Ben Walding <[EMAIL PROTECTED]>
+       bob mcwhirter<[EMAIL PROTECTED]>
+       Jason van Zyl<[EMAIL PROTECTED]>
+       Andrew Williams
+       Hani Suleiman <[EMAIL PROTECTED]>
+
+COPYRIGHT NOTICES:
+       Copyright 2002 (C) The Werken Company. 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 Werken Company.  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 Werken Company. "classworlds" is a registered
+       trademark of The Werken Company.
+
+       5. Due credit should be given to The Werken Company.
+       (http://classworlds.werken.com/).
+
+       THIS SOFTWARE IS PROVIDED BY THE WERKEN COMPANY 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 WERKEN COMPANY 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.
+
+
+       * Copyright 2001-2006 Codehaus Foundation.
+       *
+       * Licensed under the Apache License, Version 2.0 (the "License");
+       * you may not use this file except in compliance with the License.
+       * You may obtain a copy of the License at
+       *
+       *      http://www.apache.org/licenses/LICENSE-2.0
+       *
+       * Unless required by applicable law or agreed to in writing, software
+       * distributed under the License is distributed on an "AS IS" BASIS,
+       * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
+       * See the License for the specific language governing permissions and
+       * limitations under the License.
+

Added: 
trunk/plexus-container-default/debian/libplexus-container-default-java-doc.doc-base
===================================================================
--- 
trunk/plexus-container-default/debian/libplexus-container-default-java-doc.doc-base
 2007-04-02 11:25:02 UTC (rev 3145)
+++ 
trunk/plexus-container-default/debian/libplexus-container-default-java-doc.doc-base
 2007-04-02 11:25:59 UTC (rev 3146)
@@ -0,0 +1,9 @@
+Document: libplexus-container-default-java
+Title: API Javadoc for plexus-container-default
+Author: plexus-container-default developers
+Abstract: This is the API Javadoc provided by the plexus-container-default 
library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libplexus-container-default-java/api/index.html
+Files: /usr/share/doc/libplexus-container-default-java/api/*

Added: trunk/plexus-container-default/debian/patches/SunPrivateClass.patch
===================================================================
--- trunk/plexus-container-default/debian/patches/SunPrivateClass.patch 
2007-04-02 11:25:02 UTC (rev 3145)
+++ trunk/plexus-container-default/debian/patches/SunPrivateClass.patch 
2007-04-02 11:25:59 UTC (rev 3146)
@@ -0,0 +1,11 @@
+diff -Nur 
plexus-container-default/src/main/java/org/codehaus/plexus/component/composition/DefaultComponentComposerManager.java
 
plexus-container-default.new/src/main/java/org/codehaus/plexus/component/composition/DefaultComponentComposerManager.java
+--- 
plexus-container-default/src/main/java/org/codehaus/plexus/component/composition/DefaultComponentComposerManager.java
      2007-03-13 12:39:55.000000000 +0000
++++ 
plexus-container-default.new/src/main/java/org/codehaus/plexus/component/composition/DefaultComponentComposerManager.java
  2007-04-02 12:20:40.000000000 +0100
+@@ -19,7 +19,6 @@
+ import org.codehaus.plexus.PlexusContainer;
+ import org.codehaus.plexus.classworlds.realm.ClassRealm;
+ import org.codehaus.plexus.component.repository.ComponentDescriptor;
+-import sun.reflect.ReflectionFactory.GetReflectionFactoryAction;
+ 
+ import java.util.HashMap;
+ import java.util.Iterator;

Added: trunk/plexus-container-default/debian/rules
===================================================================
--- trunk/plexus-container-default/debian/rules 2007-04-02 11:25:02 UTC (rev 
3145)
+++ trunk/plexus-container-default/debian/rules 2007-04-02 11:25:59 UTC (rev 
3146)
@@ -0,0 +1,43 @@
+#!/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:' | cut 
-f2 -d' ' | cut -f1 -d-)
+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_JARS             := $(ANT_HOME)/lib/ant-launcher.jar 
$(ANT_HOME)/lib/ant-trax.jar xalan2 \
+                        /usr/share/java/plexus-classworlds.jar \
+                        /usr/share/java/libplexus-utils.jar \
+                       /usr/share/java/plexus-component-api.jar \
+                       /usr/share/java/junit.jar
+DEB_ANT_BUILD_TARGET := package
+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/doc/api
+SVN                  := 
http://svn.codehaus.org/plexus/plexus-containers/trunk/plexus-container-default
+REVISION             := $(shell dpkg-parsechangelog | egrep '^Version:' | cut 
-f2 -d' ' | cut -f1 -d- | sed 's/.*svn//' | sed 's/[^0-9].*//')
+
+
+get-orig-source:
+       echo "Getting revision $(REVISION) from $(SVN)"
+       mkdir orig_tmp
+       cd orig_tmp && \
+               svn export -q -r $(REVISION) $(SVN) $(PACKAGE) && \
+               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/plexus-container-default/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