r1909 - in trunk/libjaxen-java/debian: . patches

Wolfgang Bär wbaer-guest at costa.debian.org
Sun Feb 12 19:03:16 UTC 2006


Author: wbaer-guest
Date: 2006-02-12 19:03:16 +0000 (Sun, 12 Feb 2006)
New Revision: 1909

Added:
   trunk/libjaxen-java/debian/patches/00_BuildXml_DisableXomDom4J_CompileAndTest.patch
   trunk/libjaxen-java/debian/patches/01_RemoveXomDom4jTests.patch
Removed:
   trunk/libjaxen-java/debian/install
   trunk/libjaxen-java/debian/links
   trunk/libjaxen-java/debian/patches/01_build_without_warning.patch
Modified:
   trunk/libjaxen-java/debian/README.Debian
   trunk/libjaxen-java/debian/ant.properties
   trunk/libjaxen-java/debian/changelog
   trunk/libjaxen-java/debian/control
   trunk/libjaxen-java/debian/copyright
   trunk/libjaxen-java/debian/docs
   trunk/libjaxen-java/debian/rules
Log:
libjaxen-java (1.1.beta8-1) unstable; urgency=low

  * New upstream release
  * libsaxpath-java code is now included in the jaxen source base
    + No more libsaxpath-java binary from this source
    + Added conflicts, replaces with libsaxpath-java    
  * Updated jdom dependency to libjdom1-java
  * Updated documentation everywhere (description, README.Debian, download 
    location and copyright)
  * Applied several patches: 01_RemoveXomDom4jTests.patch - to disable 
    outsourced dom4j/xom functionality from tests.
  * Enabled junit tests


Modified: trunk/libjaxen-java/debian/README.Debian
===================================================================
--- trunk/libjaxen-java/debian/README.Debian	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/README.Debian	2006-02-12 19:03:16 UTC (rev 1909)
@@ -1,7 +1,14 @@
 libjaxen-java for Debian
 ------------------------
 
-At the moment, jaxen in Debian supports jdom. Dom4J and EXML are not yet
-in Debian and I couldn't build the dom support.
+Jaxen in Debian supports JDOM, DOM out of the box.
 
+Due to circular dependencies which need to be solved upstream we split
+the XOM and DOM4J XPath support parts out to their respective packages
+in debian (currently there is only a dom4j package).
+
+As one needs the dom4j jar is one wants to use jaxen with dom4j there is
+no difference from a user point of view if some classes are in the dom4j jar
+instead of the jaxen jar.
+
  -- Arnaud Vandyck <avdyk at debian.org>, Fri Apr 15 16:31:06 2005

Modified: trunk/libjaxen-java/debian/ant.properties
===================================================================
--- trunk/libjaxen-java/debian/ant.properties	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/ant.properties	2006-02-12 19:03:16 UTC (rev 1909)
@@ -1,5 +1 @@
-lib.dir=/usr/share/java
-support.dom4j=false
-support.jdom=true
-support.dom=false
-support.exml=false
+noget=true

Modified: trunk/libjaxen-java/debian/changelog
===================================================================
--- trunk/libjaxen-java/debian/changelog	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/changelog	2006-02-12 19:03:16 UTC (rev 1909)
@@ -1,3 +1,18 @@
+libjaxen-java (1.1.beta8-1) unstable; urgency=low
+
+  * New upstream release
+  * libsaxpath-java code is now included in the jaxen source base
+    + No more libsaxpath-java binary from this source
+    + Added conflicts, replaces with libsaxpath-java    
+  * Updated jdom dependency to libjdom1-java
+  * Updated documentation everywhere (description, README.Debian, download 
+    location and copyright)
+  * Applied several patches: 01_RemoveXomDom4jTests.patch - to disable 
+    outsourced dom4j/xom functionality from tests.
+  * Enabled junit tests
+
+ -- Wolfgang Baer <WBaer at gmx.de>  Sun, 12 Feb 2006 17:56:29 +0100
+
 libjaxen-java (1.0FCS-3) unstable; urgency=low
 
   * Removed libgnujaxp-java dependency - not needed anymore

Modified: trunk/libjaxen-java/debian/control
===================================================================
--- trunk/libjaxen-java/debian/control	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/control	2006-02-12 19:03:16 UTC (rev 1909)
@@ -3,18 +3,19 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Arnaud Vandyck <avdyk at debian.org>, Wolfgang Baer <WBaer at gmx.de>
-Build-Depends-Indep: debhelper (>= 4.2.30), cdbs (>= 0.4.8), kaffe (>= 2:1.1.4), ant, junit, libsaxpath-java, libjdom0-java
+Build-Depends-Indep: debhelper (>= 4.2.30), cdbs (>= 0.4.8), kaffe (>= 2:1.1.5-1), ant, ant-optional, junit, libjdom1-java, libjaxp1.2-java
 Standards-Version: 3.6.2
 
 Package: libjaxen-java
 Architecture: all
-Depends: kaffe | java1-runtime | java2-runtime, libsaxpath-java, libjdom0-java
+Depends: kaffe | java1-runtime | java2-runtime, libjdom1-java
 Suggests: java-virtual-machine
+Conflicts: libsaxpath-java
+Replaces: libsaxpath-java
 Description: Java XPath engine for use on a variety of XML object models
- The Jaxen project is a Java XPath Engine based on SAXPath. Jaxen is a
- universal object model walker, capable of evaluating XPath expressions
- across multiple models.  Currently supported is JDOM.
+ The Jaxen project is a Java XPath Engine. Jaxen is a universal object model
+ walker, capable of evaluating XPath expressions across multiple models.  
+ Currently supported models are JDOM, DOM internally. DOM4J is supported
+ through its own package. XOM is currently not packaged in Debian.
  .
- This package does not support DOM, DOM4J and EXML.
- .
- Homepage: <http://sourceforge.net/projects/jaxen>
+ Homepage: <http://jaxen.org>

Modified: trunk/libjaxen-java/debian/copyright
===================================================================
--- trunk/libjaxen-java/debian/copyright	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/copyright	2006-02-12 19:03:16 UTC (rev 1909)
@@ -1,66 +1,55 @@
 This package was debianized by Arnaud Vandyck <avdyk at debian.org> on
 Fri, 15 Apr 2005 15:53:37 +0200.
 
-It was downloaded from http://sourceforge.net/projects/jaxen
+It was downloaded <from http://jaxen.org/>
 
 Upstream Authors: Bob McWhirter <bob at werken.com> and 
                   James Strachan <jstrachan at apache.org>
 
 Copyright:
 
-/*-- 
+/*
+ $Id$
 
- $ Id: LICENSE,v 1.3 2002/04/22 11:38:45 jstrachan Exp $
+ Copyright 2003 (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:
 
- Copyright (C) 2000-2002 bob mcwhirter & James Strachan.
- All rights reserved.
+ 1. Redistributions of source code must retain copyright
+    statements and notices.  Redistributions must also contain a
+    copy of this document.
  
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
+ 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.
  
- 1. Redistributions of source code must retain the above copyright
-    notice, this list of conditions, and the following disclaimer.
+ 3. The name "jaxen" 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 bob at werken.com.
  
- 2. Redistributions in binary form must reproduce the above copyright
-    notice, this list of conditions, and the disclaimer that follows 
-    these conditions in the documentation and/or other materials 
-    provided with the distribution.
-
- 3. The name "Jaxen" must not be used to endorse or promote products
-    derived from this software without prior written permission.  For
-    written permission, please contact license at jaxen.org.
+ 4. Products derived from this Software may not be called "jaxen"
+    nor may "jaxen" appear in their names without prior written
+    permission of The Werken Company. "jaxen" is a registered
+    trademark of The Werken Company.
  
- 4. Products derived from this software may not be called "Jaxen", nor
-    may "Jaxen" appear in their name, without prior written permission
-    from the Jaxen Project Management (pm at jaxen.org).
+ 5. Due credit should be given to The Werken Company.
+    (http://jaxen.werken.com/).
  
- In addition, we request (but do not require) that you include in the 
- end-user documentation provided with the redistribution and/or in the 
- software itself an acknowledgement equivalent to the following:
-     "This product includes software developed by the
-      Jaxen Project (http://www.jaxen.org/)."
- Alternatively, the acknowledgment may be graphical using the logos 
- available at http://www.jaxen.org/
+ 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.
 
- THIS SOFTWARE IS PROVIDED ``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 Jaxen AUTHORS OR THE PROJECT
- 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.
-
- This software consists of voluntary contributions made by many 
- individuals on behalf of the Jaxen Project and was originally 
- created by bob mcwhirter <bob at werken.com> and 
- James Strachan <jstrachan at apache.org>.  For more information on the 
- Jaxen Project, please see <http://www.jaxen.org/>.
- 
  */
-

Modified: trunk/libjaxen-java/debian/docs
===================================================================
--- trunk/libjaxen-java/debian/docs	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/docs	2006-02-12 19:03:16 UTC (rev 1909)
@@ -1 +1 @@
-
+dist/docs/api

Deleted: trunk/libjaxen-java/debian/install
===================================================================
--- trunk/libjaxen-java/debian/install	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/install	2006-02-12 19:03:16 UTC (rev 1909)
@@ -1,2 +0,0 @@
-build/jaxen-core.jar usr/share/java
-build/jaxen-jdom.jar usr/share/java

Deleted: trunk/libjaxen-java/debian/links
===================================================================
--- trunk/libjaxen-java/debian/links	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/links	2006-02-12 19:03:16 UTC (rev 1909)
@@ -1,2 +0,0 @@
-usr/share/java/jaxen-core.jar usr/share/java/jaxen-core-1.0.0FCS.jar
-usr/share/java/jaxen-jdom.jar usr/share/java/jaxen-jdom-1.0.0FCS.jar

Added: trunk/libjaxen-java/debian/patches/00_BuildXml_DisableXomDom4J_CompileAndTest.patch
===================================================================
--- trunk/libjaxen-java/debian/patches/00_BuildXml_DisableXomDom4J_CompileAndTest.patch	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/patches/00_BuildXml_DisableXomDom4J_CompileAndTest.patch	2006-02-12 19:03:16 UTC (rev 1909)
@@ -0,0 +1,56 @@
+--- build.xml.orig	2006-02-12 18:03:46.000000000 +0100
++++ build.xml	2006-02-12 16:10:59.000000000 +0100
+@@ -44,6 +44,8 @@
+     <mkdir dir="${classesdir}">
+     </mkdir>
+     <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
++      <exclude name="org/jaxen/dom4j/*"/>
++      <exclude name="org/jaxen/xom/*"/>
+       <src>
+         <pathelement location="src/java/main">
+         </pathelement>
+@@ -79,7 +81,7 @@
+   <target name="internal-test" if="Junit.present" depends="junit-present,compile-tests">
+     <mkdir dir="${testreportdir}">
+     </mkdir>
+-    <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
++    <junit dir="./" failureproperty="false" printSummary="yes" fork="true" haltonerror="false">
+       <sysproperty key="basedir" value=".">
+       </sysproperty>
+       <formatter type="xml">
+@@ -87,6 +89,7 @@
+       <formatter usefile="false" type="plain">
+       </formatter>
+       <classpath>
++        <pathelement location="/usr/share/java/jdom1.jar"/>
+         <path refid="build.classpath">
+         </path>
+         <pathelement path="${testclassesdir}">
+@@ -98,8 +101,9 @@
+         <fileset dir="src/java/test">
+           <include name="**/*Test.java">
+           </include>
+-          <exclude name="org/jaxen/jdom/XPathTest.java">
+-          </exclude>
++          <exclude name="org/jaxen/jdom/XPathTest.java"/>
++          <exclude name="org/jaxen/dom4j/*.java"/>
++          <exclude name="org/jaxen/xom/*.java"/>
+         </fileset>
+       </batchtest>
+     </junit>
+@@ -113,6 +117,8 @@
+     <mkdir dir="${testclassesdir}">
+     </mkdir>
+     <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
++      <exclude name="org/jaxen/dom4j/*"/>
++      <exclude name="org/jaxen/xom/*"/>
+       <src>
+         <pathelement location="src/java/test">
+         </pathelement>
+@@ -169,4 +175,4 @@
+     <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+     </unjar>
+   </target>
+-</project>
+\ Kein Zeilenumbruch am Dateiende.
++</project>

Added: trunk/libjaxen-java/debian/patches/01_RemoveXomDom4jTests.patch
===================================================================
--- trunk/libjaxen-java/debian/patches/01_RemoveXomDom4jTests.patch	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/patches/01_RemoveXomDom4jTests.patch	2006-02-12 19:03:16 UTC (rev 1909)
@@ -0,0 +1,38 @@
+--- src/java/test/org/jaxen/JaxenTests.java.orig	2006-02-12 15:33:02.000000000 +0100
++++ src/java/test/org/jaxen/JaxenTests.java	2006-02-12 15:48:10.000000000 +0100
+@@ -63,7 +63,7 @@
+ package org.jaxen;
+ 
+ import org.jaxen.dom.DOMTests;
+-import org.jaxen.dom4j.DOM4JTests;
++//import org.jaxen.dom4j.DOM4JTests;
+ import org.jaxen.expr.ExprTests;
+ import org.jaxen.function.FunctionTests;
+ import org.jaxen.javabean.JavaBeanTests;
+@@ -73,7 +73,7 @@
+ import org.jaxen.saxpath.base.BaseTests;
+ import org.jaxen.saxpath.helpers.HelpersTests;
+ import org.jaxen.util.UtilTests;
+-import org.jaxen.xom.XOMTests;
++//import org.jaxen.xom.XOMTests;
+ 
+ import junit.framework.Test;
+ import junit.framework.TestSuite;
+@@ -98,8 +98,8 @@
+         result.addTest(CoreTests.suite());
+         result.addTest(DOMTests.suite());
+         result.addTest(JDOMTests.suite());
+-        result.addTest(DOM4JTests.suite());
+-        result.addTest(XOMTests.suite());
++        //result.addTest(DOM4JTests.suite());
++        //result.addTest(XOMTests.suite());
+         result.addTest(JavaBeanTests.suite());
+         result.addTest(PatternTests.suite());
+         result.addTest(BaseTests.suite());
+@@ -111,4 +111,4 @@
+     }
+ 
+     
+-}
+\ Kein Zeilenumbruch am Dateiende.
++}

Deleted: trunk/libjaxen-java/debian/patches/01_build_without_warning.patch
===================================================================
--- trunk/libjaxen-java/debian/patches/01_build_without_warning.patch	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/patches/01_build_without_warning.patch	2006-02-12 19:03:16 UTC (rev 1909)
@@ -1,26 +0,0 @@
---- build.xml.orig	2005-04-15 16:21:02.000000000 +0200
-+++ build.xml	2005-04-15 16:21:36.000000000 +0200
-@@ -234,6 +234,7 @@
-     <javac destdir="${build.dest.main}"
-            debug="${debug}"
-            optimize="${optimize}"
-+           nowarn="true"
-            deprecation="${deprecation}">
-         <src path="${build.src.main}"/>
-         <patternset refid="jaxen.${object.model}"/>
-@@ -244,6 +245,7 @@
-     <javac destdir="${build.dest.test}"
-            debug="${debug}"
-            optimize="${optimize}"
-+           nowarn="true"
-            deprecation="${deprecation}">
-         <src path="${build.src.test}"/>
-         <classpath path="${build.dest.test}"/>
-@@ -256,6 +258,7 @@
-     <javac destdir="${build.dest.samples}"
-            debug="${debug}"
-            optimize="${optimize}"
-+           nowarn="true"
-            deprecation="${deprecation}">
-         <src path="${build.src.samples}"/>
-         <classpath path="${build.dest.samples}"/>

Modified: trunk/libjaxen-java/debian/rules
===================================================================
--- trunk/libjaxen-java/debian/rules	2006-02-12 18:54:20 UTC (rev 1908)
+++ trunk/libjaxen-java/debian/rules	2006-02-12 19:03:16 UTC (rev 1909)
@@ -8,10 +8,13 @@
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME_DIRS       := /usr/lib/kaffe
+JAVA_HOME	     := /usr/lib/kaffe
 ANT_HOME             := /usr/share/ant
-DEB_JARS             := junit saxpath jdom0 $(ANT_HOME)/lib/ant-launcher.jar
-DEB_ANT_BUILD_TARGET := jar.core jar.jdom
+DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-junit.jar jdom1 junit
+DEB_ANT_BUILD_TARGET := jar javadoc
 
-LIBRARY=jaxen
-VERSION=1.0.0FCS
+VERSION=1.1.beta8
+
+install/libjaxen-java::
+	install -m 644 target/jaxen-1.1-beta-8.jar debian/libjaxen-java/usr/share/java/jaxen-$(VERSION).jar
+	ln -s jaxen-$(VERSION).jar debian/libjaxen-java/usr/share/java/jaxen.jar




More information about the pkg-java-commits mailing list