r2040 - in trunk: . libmsv-xsdlib-java libmsv-xsdlib-java/debian libmsv-xsdlib-java/debian/patches

Eric Lavarde ewl-guest at costa.debian.org
Sat Apr 1 16:55:11 UTC 2006


Author: ewl-guest
Date: 2006-04-01 16:55:10 +0000 (Sat, 01 Apr 2006)
New Revision: 2040

Added:
   trunk/libmsv-xsdlib-java/
   trunk/libmsv-xsdlib-java/debian/
   trunk/libmsv-xsdlib-java/debian/MANIFEST.MF
   trunk/libmsv-xsdlib-java/debian/ant.properties
   trunk/libmsv-xsdlib-java/debian/build.xml
   trunk/libmsv-xsdlib-java/debian/changelog
   trunk/libmsv-xsdlib-java/debian/compat
   trunk/libmsv-xsdlib-java/debian/control
   trunk/libmsv-xsdlib-java/debian/copyright
   trunk/libmsv-xsdlib-java/debian/dirs
   trunk/libmsv-xsdlib-java/debian/install
   trunk/libmsv-xsdlib-java/debian/libmsv-xsdlib-java-doc.doc-base
   trunk/libmsv-xsdlib-java/debian/libmsv-xsdlib-java-doc.docs
   trunk/libmsv-xsdlib-java/debian/links
   trunk/libmsv-xsdlib-java/debian/patches/
   trunk/libmsv-xsdlib-java/debian/patches/01_build_xml.patch
   trunk/libmsv-xsdlib-java/debian/rules
Log:
Initial upload.


Added: trunk/libmsv-xsdlib-java/debian/MANIFEST.MF
===================================================================
--- trunk/libmsv-xsdlib-java/debian/MANIFEST.MF	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/MANIFEST.MF	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Main-Class: com.sun.msv.datatype.xsd.CommandLineTester
+Created-By: 1.2.2 (Sun Microsystems Inc.)
+Class-path: relaxngDatatype.jar

Added: trunk/libmsv-xsdlib-java/debian/ant.properties
===================================================================
--- trunk/libmsv-xsdlib-java/debian/ant.properties	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/ant.properties	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,4 @@
+relaxngDatatype.jar = /usr/share/java/relaxngDatatype.jar
+xerces.jar = /usr/share/java/xercesImpl.jar
+DSTAMP = 20060319
+xsdlib.jar = xsdlib-0.0.0.20060319.jar

Added: trunk/libmsv-xsdlib-java/debian/build.xml
===================================================================
--- trunk/libmsv-xsdlib-java/debian/build.xml	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/build.xml	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,197 @@
+<?xml version="1.0"?>
+<!--
+	Ant build script for XSDLib.
+	
+	$Id: build.xml,v 1.19 2005/10/18 22:18:35 kohsuke Exp $
+-->
+<project name="xsdlib" basedir="." default="binary">
+	
+	<!-- import the global configuration file -->
+	<property file="../shared/ant.config"/>
+	
+	<target name="clean" description="remove all the generated files">
+		<delete dir="bin" />
+		<delete dir="dist" />
+		<delete dir="javadoc" />
+		<delete dir="temp" />
+	</target>
+	
+	
+	<!-- compile Java source files -->
+	<target name="binary-core">
+		<mkdir dir="./bin"/>
+		<javac
+			srcdir="./src:./test"
+			destdir="./bin"
+			source="1.2" target="1.2"
+			debug="on"
+			optimize="off"
+			classpath="${xerces.jar}:${relaxngDatatype.jar}:${junit.jar}:${jdom.jar}:${isorelax.jar}:${xalan.jar}"
+			/>
+	</target>
+	<target name="binary-apache" unless="no.apache">
+		<mkdir dir="./bin"/>
+		<javac
+			srcdir="./src-apache"
+			destdir="./bin"
+			source="1.2" target="1.2"
+			debug="on"
+			optimize="off"
+			classpath="${xerces.jar}:${relaxngDatatype.jar}:${junit.jar}:${jdom.jar}:${isorelax.jar}:${xalan.jar}"
+			/>
+	</target>
+	<target name="binary" depends="binary-core,binary-apache"
+		description="compile everything to the bin directory" />
+	
+	
+	<!-- generate javadoc documentation from the working copy -->
+	<target name="javadoc"
+		description="build javadoc inside the workspace">
+		<mkdir dir="./javadoc"/>
+		<javadoc	locale="en_US"
+					packagenames="com.sun.msv.*"
+					sourcepath="./src"
+					classpath="${java.class.path}"
+					destdir="./javadoc"
+					windowtitle="XSDLib (private build)"
+					public="yes"
+					author="yes"
+					overview="src/com/sun/msv/overview.html"
+					>
+			<link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api"
+				packagelistLoc="../shared/ExternalPackageLists/CoreAPI" />
+			<link offline="true" href="http://xml.apache.org/apiDocs/"
+				packagelistLoc="../shared/ExternalPackageLists/XML" />
+			<link offline="true" href="http://iso-relax.sourceforge.net/apiDoc/"
+				packagelistLoc="../shared/ExternalPackageLists/ISO-RELAX" />
+			<link offline="true" href="http://relaxng.sourceforge.net/datatype/java/apiDocs/"
+				packagelistLoc="../shared/ExternalPackageLists/RELAXNG" />
+		</javadoc>
+	</target>
+	
+	
+	
+	
+	
+	
+	<!-- test the working directory -->
+	<target name="test">
+		<ant antfile="../shared/ant.test.xml" target="test" />
+	</target>
+	
+	
+	
+	
+	
+	<!-- test the distribution package -->
+	<target name="test_release">
+		<ant antfile="../shared/ant.test.xml" target="test_release">
+			<property name="testJar" value="../package/xsdlib.jar"/>
+		</ant>
+	</target>
+	
+	
+	
+	
+	<!-- generate XSDLib release -->
+	<target name="dist" description="build the distribution package into the dist/ dir">
+    <tstamp>
+      <format property="YEAR" pattern="yyyy" locale="en"/>
+    </tstamp>
+		
+		<delete	dir="dist" />
+		
+		<!-- copy source/example code -->
+		<copy todir="dist/src">
+			<fileset dir="src"/>
+		</copy>
+		<copy todir="dist/src-apache">
+			<fileset dir="src-apache"/>
+		</copy>
+		<copy todir="dist/examples">
+			<fileset dir="examples" />
+		</copy>
+		
+		<!-- copy document files -->
+		<copy todir="dist">
+			<fileset dir="doc" />
+		</copy>
+    <replace dir="dist">
+        <include name="**/*.html"/>
+        <include name="**/*.txt"/>
+        <replacefilter token="@@VERSION@@" value="${DSTAMP}" />
+        <replacefilter token="@@YEAR@@" value="${YEAR}" />
+    </replace>
+		
+		
+		<!-- compile files -->
+		<mkdir	dir="temp" />
+		<javac	srcdir="dist/src:dist/src-apache" destdir="temp" debug="on" source="1.2" target="1.2">
+			
+			<classpath path="${relaxngDatatype.jar}"/>
+			<include name="**/*.java" />
+		</javac>
+		
+		
+		<!-- create a time stamp file -->
+		<echo file="temp/version.properties">version=${DSTAMP}</echo>
+		
+		<!-- create META-INF/services file -->
+		<mkdir dir="temp/META-INF/services"/>
+		<echo file="temp/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory"
+			>com.sun.msv.datatype.xsd.ngimpl.DataTypeLibraryImpl</echo>
+		
+		<!-- creates binary jar -->
+		<jar	jarfile="dist/xsdlib.jar"
+				manifest="./MANIFEST.MF"
+				compress="${compress}">
+			<fileset dir="temp" />
+			<!-- resource files -->
+			<fileset dir="dist/src" includes="**/*.properties" />
+      <fileset dir="dist/src-apache" includes="**/*.properties" />
+		</jar>
+		<delete dir="temp" />
+		<delete dir="xerces"/>
+		
+		
+		<!-- creates javadoc -->
+		<mkdir		dir="dist/javadoc" />
+		<javadoc	locale="en_US"
+					packagenames="com.sun.msv.*"
+					sourcepath="dist/src"
+					destdir="dist/javadoc"
+					windowtitle="Sun XML Datatypes Library"
+					public="yes"
+					author="yes"
+					>
+			<link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api"
+				packagelistLoc="../shared/ExternalPackageLists/CoreAPI" />
+			<link offline="true" href="http://xml.apache.org/apiDocs/"
+				packagelistLoc="../shared/ExternalPackageLists/XML" />
+			<link offline="true" href="http://relaxng.sourceforge.net/datatype/java/apiDocs/"
+				packagelistLoc="../shared/ExternalPackageLists/RELAXNG" />
+		</javadoc>
+		
+		<!-- copy additional jar files -->
+		<copy file="${relaxngDatatype.jar}" tofile="dist/relaxngDatatype.jar" />
+	</target>
+	
+	<target name="release" depends="dist" description="build the distribution zip file">
+    <tstamp />
+		<property name="stageName" value="xsdlib-${DSTAMP}"/>
+		
+		<!-- copy jar file to package dir -->
+		<copy file="dist/xsdlib.jar" tofile="../package/xsdlib.jar" />
+    
+    <!-- build src zip file -->
+    <zip zipfile="../package/xsdlib-src.zip" compress="true">
+      <fileset dir="dist/src" />
+    </zip>
+		
+		<!-- creates distribution package -->
+		<mkdir dir="../package"/>
+		<zip	zipfile="../package/xsdlib.${DSTAMP}.zip">
+			<zipfileset dir="dist" includes="**/*.*" prefix="${stageName}" />
+		</zip>
+	</target>
+</project>

Added: trunk/libmsv-xsdlib-java/debian/changelog
===================================================================
--- trunk/libmsv-xsdlib-java/debian/changelog	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/changelog	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,5 @@
+libmsv-xsdlib-java (0.0.0.20060319-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#296643).
+
+ -- Eric Lavarde <deb at zorglub.s.bawue.de>  Sat,  1 Apr 2006 17:10:17 +0200

Added: trunk/libmsv-xsdlib-java/debian/compat
===================================================================
--- trunk/libmsv-xsdlib-java/debian/compat	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/compat	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1 @@
+4

Added: trunk/libmsv-xsdlib-java/debian/control
===================================================================
--- trunk/libmsv-xsdlib-java/debian/control	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/control	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,28 @@
+Source: libmsv-xsdlib-java
+Section: contrib/libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Eric Lavarde <deb at zorglub.s.bawue.de>
+Build-Depends-Indep: debhelper (>= 4.1.0), cdbs (>= 0.4.8), sun-j2sdk1.4, ant, antlr, librelaxng-datatype-java, libxerces2-java
+Standards-Version: 3.6.2.0
+
+Package: libmsv-xsdlib-java
+Architecture: all
+Depends: sun-j2re1.4 | java2-runtime, librelaxng-datatype-java
+Suggests: java-virtual-machine, libmsv-xsdlib-java-doc
+Description: Sun XML Datatypes Library
+ Sun's Java[tm] technology implementation of W3C's XML Schema Part 2
+ (http://www.w3.org/TR/xmlschema-2/), is intended for use with applications
+ that incorporate XML Schema Part 2.
+ .
+ This preview version implements the recommendation version
+ (http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/) of the W3C XML
+ Schema Part 2 Datatype.
+
+Package: libmsv-xsdlib-java-doc
+Section: contrib/doc
+Architecture: all
+Recommends: mozilla | www-browser
+Suggests: libmsv-xsdlib-java
+Description: Documentation for libmsv-xsdlib-java
+ This package contains API documentation plus some hints for XSDLib.

Added: trunk/libmsv-xsdlib-java/debian/copyright
===================================================================
--- trunk/libmsv-xsdlib-java/debian/copyright	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/copyright	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,151 @@
+This package was debianized by Eric Lavarde <deb at zorglub.s.bawue.de> on
+Sat,  1 Apr 2006 18:36:17 +0200.
+
+It was downloaded from https://msv.dev.java.net/
+
+Copyright Holder: kohsuke <kohsuke at dev java net>
+
+
+-----
+
+Copyright 2001-2006 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto,
+California, 94303, U.S.A. All rights reserved.
+
+Sun Microsystems, Inc. has intellectual property rights relating to
+technology embodied in this product. In particular, and without
+limitation, these intellectual property rights may include one or more
+of the U.S. patents listed at http://www.sun.com/patents and one or
+more additional patents or pending patent applications in the U.S. and
+other countries. This product is distributed under licenses
+restricting its use, copying, distribution, and decompilation. No part
+of this product may be reproduced in any form by any means without
+prior written authorization of Sun and its licensors, if any. Third
+party software, including font technology, is copyrighted and licensed
+from Sun suppliers. Sun, the Sun logo, and Sun Microsystems are
+trademarks or registered trademarks of Sun Microsystems, Inc. in the
+U.S. and other countries. This product includes software developed by
+the Apache Software Foundation (http://www.apache.org/). Federal
+Acquisitions: Commercial Software - Government Users Subject to
+Standard License Terms and Conditions.
+
+----------------------------------------------------------------------
+
+Copyright 2001-2006 Sun Microsystems, Inc., 901 San Antonio Road, Palo
+Alto, Californie 94303 ?tats-Unis. Tous droits r?serv?s. Distribue?
+par des licences qui en restreignent l'utilisation. Sun Microsystems,
+Inc. a les droits de propri?t? intellectuels relatants ? la
+technologie incorpor?e dans ce produit. En particulier, et sans la
+limitation, ces droits de propri?t? intellectuels peuvent inclure un
+ou plus des brevets am?ricains ?num?r?s ? http://www.sun.com/patents
+et un ou les brevets plus suppl?mentaires ou les applications de
+brevet en attente dans les Etats Unis et les autres pays. Ce produit
+ou document est prot?g? par un copyright et distribu? avec des
+licences qui en restreignent l'utilisation, la copie, la distribution,
+et la d?compilation. Aucune partie de ce produit ou document ne peut
+?tre reproduite sous aucune forme, par quelque moyen que ce soit, sans
+l'autorisation pr?alable et ?crite de Sun et de ses bailleurs de
+licence, s'il y en a. Le logiciel d?tenu par des tiers, et qui
+comprend la technologie relative aux polices de caract?res, est
+prot?g? par un copyright et licenci? par des fournisseurs de Sun. Sun,
+le logo Sun, Sun Microsystems et sont des marques de fabrique ou des
+marques d?pos?es de Sun Microsystems, Inc. aux Etats-Unis et dans
+d'autres pays. Ce produit inclut le logiciel d?velopp? par la base de
+Apache Software Foundation (http://www.apache.org/). L'accord du
+gouvernement des ?tats Unis est requis avant l'exportation du produit.
+
+-----
+
+Copyright (c) 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
+
+Redistribution and  use in  source and binary  forms, with  or without
+modification, are permitted provided that the following conditions are
+met:
+
+- Redistributions  of  source code  must  retain  the above  copyright
+  notice, this list of conditions and the following disclaimer.
+
+- Redistribution  in binary  form must  reproduct the  above copyright
+  notice, this list of conditions  and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+
+Neither  the  name   of  Sun  Microsystems,  Inc.  or   the  names  of
+contributors may be  used to endorse or promote  products derived from
+this software without specific prior written permission.
+
+This software is provided "AS IS," without a warranty of any kind. ALL
+EXPRESS  OR   IMPLIED  CONDITIONS,  REPRESENTATIONS   AND  WARRANTIES,
+INCLUDING  ANY  IMPLIED WARRANTY  OF  MERCHANTABILITY,  FITNESS FOR  A
+PARTICULAR PURPOSE  OR NON-INFRINGEMENT, ARE HEREBY  EXCLUDED. SUN AND
+ITS  LICENSORS SHALL  NOT BE  LIABLE  FOR ANY  DAMAGES OR  LIABILITIES
+SUFFERED BY LICENSEE  AS A RESULT OF OR  RELATING TO USE, MODIFICATION
+OR DISTRIBUTION OF  THE SOFTWARE OR ITS DERIVATIVES.  IN NO EVENT WILL
+SUN OR ITS  LICENSORS BE LIABLE FOR ANY LOST  REVENUE, PROFIT OR DATA,
+OR  FOR  DIRECT,   INDIRECT,  SPECIAL,  CONSEQUENTIAL,  INCIDENTAL  OR
+PUNITIVE  DAMAGES, HOWEVER  CAUSED  AND REGARDLESS  OF  THE THEORY  OF
+LIABILITY, ARISING  OUT OF  THE USE OF  OR INABILITY TO  USE SOFTWARE,
+EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+You acknowledge that Software is not designed,licensed or intended for
+use  in the  design,  construction, operation  or  maintenance of  any
+nuclear facility.
+
+-----
+
+/* ====================================================================
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2000 The Apache Software Foundation.  All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ *
+ * 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 end-user documentation included with the redistribution,
+ *    if any, must include the following acknowledgment:
+ *       "This product includes software developed by the
+ *        Apache Software Foundation (http://www.apache.org/)."
+ *    Alternately, this acknowledgment may appear in the software itself,
+ *    if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Apache" and "Apache Software Foundation" must
+ *    not be used to endorse or promote products derived from this
+ *    software without prior written permission. For written
+ *    permission, please contact apache at apache.org.
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ *    nor may "Apache" appear in their name, without prior written
+ *    permission of the Apache Software Foundation.
+ *
+ * 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 APACHE SOFTWARE FOUNDATION 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 consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation.  For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ * Portions of this software are based upon public domain software
+ * originally written at the National Center for Supercomputing Applications,
+ * University of Illinois, Urbana-Champaign.
+ */
+

Added: trunk/libmsv-xsdlib-java/debian/dirs
===================================================================
--- trunk/libmsv-xsdlib-java/debian/dirs	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/dirs	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1 @@
+usr/share/java

Added: trunk/libmsv-xsdlib-java/debian/install
===================================================================
--- trunk/libmsv-xsdlib-java/debian/install	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/install	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1 @@
+dist/xsdlib-0.0.0.20060319.jar usr/share/java

Added: trunk/libmsv-xsdlib-java/debian/libmsv-xsdlib-java-doc.doc-base
===================================================================
--- trunk/libmsv-xsdlib-java/debian/libmsv-xsdlib-java-doc.doc-base	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/libmsv-xsdlib-java-doc.doc-base	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,9 @@
+Document: libmsv-xsdlib-java-doc
+Title: Programmer API for libmsv-xsdlib-java
+Author: kohsuke <kohsuke at dev java net>
+Abstract: The programmer API of XSDLib, the Sun XML Datatypes Library.
+Section: Programming/Java
+
+Format: HTML
+Index: /usr/share/doc/libmsv-xsdlib-java-doc/javadoc/index.html
+Files: /usr/share/doc/libmsv-xsdlib-java-doc/javadoc/*

Added: trunk/libmsv-xsdlib-java/debian/libmsv-xsdlib-java-doc.docs
===================================================================
--- trunk/libmsv-xsdlib-java/debian/libmsv-xsdlib-java-doc.docs	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/libmsv-xsdlib-java-doc.docs	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,4 @@
+dist/javadoc
+examples
+HowToUse.html
+README.txt

Added: trunk/libmsv-xsdlib-java/debian/links
===================================================================
--- trunk/libmsv-xsdlib-java/debian/links	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/links	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,2 @@
+usr/share/java/xsdlib-0.0.0.20060319.jar usr/share/java/xsdlib.jar
+

Added: trunk/libmsv-xsdlib-java/debian/patches/01_build_xml.patch
===================================================================
--- trunk/libmsv-xsdlib-java/debian/patches/01_build_xml.patch	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/patches/01_build_xml.patch	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,52 @@
+--- build.xml	2006-04-01 18:06:25.000000000 +0200
++++ build.xml	2006-04-01 18:13:36.000000000 +0200
+@@ -112,7 +112,7 @@
+ 			<fileset dir="examples" />
+ 		</copy>
+ 		
+-		<!-- copy document files -->
++		<!-- copy document files
+ 		<copy todir="dist">
+ 			<fileset dir="doc" />
+ 		</copy>
+@@ -121,14 +121,14 @@
+         <include name="**/*.txt"/>
+         <replacefilter token="@@VERSION@@" value="${DSTAMP}" />
+         <replacefilter token="@@YEAR@@" value="${YEAR}" />
+-    </replace>
++    </replace> -->
+ 		
+ 		
+ 		<!-- compile files -->
+ 		<mkdir	dir="temp" />
+ 		<javac	srcdir="dist/src:dist/src-apache" destdir="temp" debug="on" source="1.2" target="1.2">
+ 			
+-			<classpath path="${relaxngDatatype.jar}"/>
++			<classpath path="${relaxngDatatype.jar}:${xerces.jar}"/>
+ 			<include name="**/*.java" />
+ 		</javac>
+ 		
+@@ -142,7 +142,7 @@
+ 			>com.sun.msv.datatype.xsd.ngimpl.DataTypeLibraryImpl</echo>
+ 		
+ 		<!-- creates binary jar -->
+-		<jar	jarfile="dist/xsdlib.jar"
++		<jar	jarfile="dist/${xsdlib.jar}"
+ 				manifest="./MANIFEST.MF"
+ 				compress="${compress}">
+ 			<fileset dir="temp" />
+@@ -164,12 +164,14 @@
+ 					public="yes"
+ 					author="yes"
+ 					>
++			<!--
+ 			<link offline="true" href="http://java.sun.com/products/jdk/1.2/docs/api"
+ 				packagelistLoc="../shared/ExternalPackageLists/CoreAPI" />
+ 			<link offline="true" href="http://xml.apache.org/apiDocs/"
+ 				packagelistLoc="../shared/ExternalPackageLists/XML" />
+ 			<link offline="true" href="http://relaxng.sourceforge.net/datatype/java/apiDocs/"
+ 				packagelistLoc="../shared/ExternalPackageLists/RELAXNG" />
++				-->
+ 		</javadoc>
+ 		
+ 		<!-- copy additional jar files -->

Added: trunk/libmsv-xsdlib-java/debian/rules
===================================================================
--- trunk/libmsv-xsdlib-java/debian/rules	2006-03-31 08:39:33 UTC (rev 2039)
+++ trunk/libmsv-xsdlib-java/debian/rules	2006-04-01 16:55:10 UTC (rev 2040)
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# debian/rules for Commons Fileupload (uses CDBS)
+
+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
+
+DEB_COMPRESS_EXCLUDE := .class
+JAVA_HOME_DIRS       := /usr/lib/j2sdk1.4-sun
+ANT_HOME             := /usr/share/ant
+DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar
+DEB_ANT_BUILD_TARGET := dist
+
+LIBRARY=xsdlib
+VERSION=0.0.0.20060319
+
+# build.xml and MANIFEST.MF were downloaded directly from CVS as they were
+# missing in the nightly build.
+pre-build::
+	-cp -u debian/build.xml debian/MANIFEST.MF .
+clean:: 
+	-rm -f build.xml MANIFEST.MF


Property changes on: trunk/libmsv-xsdlib-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + 




More information about the pkg-java-commits mailing list