r1908 - in trunk: . libjaxme-java libjaxme-java/debian libjaxme-java/debian/patches

Wolfgang Bär wbaer-guest at costa.debian.org
Sun Feb 12 18:54:21 UTC 2006


Author: wbaer-guest
Date: 2006-02-12 18:54:20 +0000 (Sun, 12 Feb 2006)
New Revision: 1908

Added:
   trunk/libjaxme-java/
   trunk/libjaxme-java/debian/
   trunk/libjaxme-java/debian/README.Debian
   trunk/libjaxme-java/debian/README.Debian-source
   trunk/libjaxme-java/debian/ant.properties
   trunk/libjaxme-java/debian/changelog
   trunk/libjaxme-java/debian/compat
   trunk/libjaxme-java/debian/control
   trunk/libjaxme-java/debian/copyright
   trunk/libjaxme-java/debian/libjaxme-java-doc.doc-base
   trunk/libjaxme-java/debian/libjaxme-java-doc.docs
   trunk/libjaxme-java/debian/libjaxme-java.dirs
   trunk/libjaxme-java/debian/patches/
   trunk/libjaxme-java/debian/patches/00_JS_BuildXml_Classpath.patch
   trunk/libjaxme-java/debian/patches/00_Macros_BuildXml_JunitDontFail.patch
   trunk/libjaxme-java/debian/patches/00_PM_BuildXml_Classpath.patch
   trunk/libjaxme-java/debian/patches/01_Base64_CommonsCodec.patch
   trunk/libjaxme-java/debian/rules
Log:
initial import


Added: trunk/libjaxme-java/debian/README.Debian
===================================================================
--- trunk/libjaxme-java/debian/README.Debian	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/README.Debian	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,12 @@
+libjaxme-java for Debian
+-----------------
+
+This debian package of JaxMe2 from the Apache Webservices
+project is built without the persistent part for the
+XML database system Tamino as this requires non-free libraries. 
+
+The persistence part for xmldb is also missing due to a currently
+not available xmldb-api library to build against. This might be
+added in the future.
+
+ -- Wolfgang Baer <WBaer at gmx.de>  Sun, 12 Feb 2006 17:19:01 +0100

Added: trunk/libjaxme-java/debian/README.Debian-source
===================================================================
--- trunk/libjaxme-java/debian/README.Debian-source	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/README.Debian-source	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,5 @@
+From the original upstream distribution the prebuilt
+jar files were removed:
+
+rm src/documentation/jimi-1.0.jar
+rm prerequisites/*.jar

Added: trunk/libjaxme-java/debian/ant.properties
===================================================================
--- trunk/libjaxme-java/debian/ant.properties	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/ant.properties	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,23 @@
+#   Location of the Apache Forrest distribution (forrest 0.5.1). Forrest
+#   is available from http://xml.apache.org/forrest/ and is required to build
+#   the documentation.
+#
+#forrest.home=C:/Prg/apache-forrest-0.5.1-bin
+#forrest.home=/usr/local/apache-forrest-0.5.1-bin
+#
+############################################################################
+#
+#   Location of the DocBook XSL stylesheets (docbook-xsl 1.62.4).
+#   DocBook XSL is available from http://sourceforge.net/projects/docbook
+#   and required to build the documentation, because the manual is written
+#   in DocBook XML.
+#
+docbookxsl.home=/usr/share/xml/docbook/stylesheet/nwalsh
+#
+############################################################################
+#
+#   Location of the DocBook XML DTDs (docbook-xml 4.2)
+#   DocBook XML is available from http://www.oasis-open.org/docbook/xml
+#   and required to build the documentation of the manual.
+#
+docbook.home=/usr/share/xml/docbook

Added: trunk/libjaxme-java/debian/changelog
===================================================================
--- trunk/libjaxme-java/debian/changelog	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/changelog	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,5 @@
+libjaxme-java (0.5.1-1) unstable; urgency=low
+
+  * Initial Release (closes: #296117)
+
+ -- Wolfgang Baer <WBaer at gmx.de>  Sun, 12 Feb 2006 17:19:01 +0100

Added: trunk/libjaxme-java/debian/compat
===================================================================
--- trunk/libjaxme-java/debian/compat	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/compat	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1 @@
+4

Added: trunk/libjaxme-java/debian/control
===================================================================
--- trunk/libjaxme-java/debian/control	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/control	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,32 @@
+Source: libjaxme-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Wolfgang Baer <WBaer at gmx.de>
+Build-Depends-Indep: debhelper (>= 4.2.30), cdbs (>= 0.4.28), ant, ant-optional, antlr, java-gcj-compat-dev, junit, liblog4j1.2-java, libxerces2-java, libcommons-codec-java, libhsqldb-java
+Standards-Version: 3.6.2
+
+Package: libjaxme-java
+Section: libs
+Architecture: all
+Depends: java-gcj-compat | java1-runtime | java2-runtime, liblog4j1.2-java, libcommons-codec-java
+Suggests: java-virtual-machine, libjaxme-java-doc
+Description: Implementation of JAXB, the specification for Java/XML binding
+ JaxMe 2 is an open source implementation of JAXB, the specification for 
+ Java/XML binding from the Apache Webservices project.
+ .
+ A Java/XML binding compiler takes as input a schema description. The output 
+ is a set of Java classes:
+  * A Java bean class compatible with the schema description
+  * An unmarshaller that converts a XML document into the equivalent Java bean
+  * A marshaller that converts the Java bean back into the XML document
+ .
+ This package contains the JAXP API, JaxMe JavaSource framework, 
+ JaxMe parser forXML Schema and the JaxMe Persistence Management.
+
+Package: libjaxme-java-doc
+Section: doc
+Architecture: all
+Suggests: libjaxme-java
+Description: Implementation of JAXB, Java/XML binding - documentation
+ This package contains the full javadoc API documentation for JaxMe.

Added: trunk/libjaxme-java/debian/copyright
===================================================================
--- trunk/libjaxme-java/debian/copyright	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/copyright	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,187 @@
+This package was debianized by Wolfgang Baer <WBaer at gmx.de> on
+Sat, 23 Apr 2005 15:23:09 +0200.
+
+It was downloaded from <http://ws.apache.org/jaxme/index.html>
+
+Copyright: 
+
+Copyright (C) 2003-2004 Apache Software Foundation. All rights reserved.
+
+Upstream Author: Jochen Wiedmann <jochen at apache.org> and others
+
+License:
+
+  Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.

Added: trunk/libjaxme-java/debian/libjaxme-java-doc.doc-base
===================================================================
--- trunk/libjaxme-java/debian/libjaxme-java-doc.doc-base	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/libjaxme-java-doc.doc-base	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,10 @@
+Document: libjaxme-java-doc
+Title: Programmer API for libjaxme-java
+Author: Apache JaxMe developers
+Abstract: Programmer API of the JaxMe, an implementation of JAXB, the 
+ specification for Java/XML binding from the Apache Webservices project.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjaxme-java-doc/apidocs/index.html
+Files: /usr/share/doc/libjaxme-java-doc/apidocs/*

Added: trunk/libjaxme-java/debian/libjaxme-java-doc.docs
===================================================================
--- trunk/libjaxme-java/debian/libjaxme-java-doc.docs	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/libjaxme-java-doc.docs	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1 @@
+build/docs/src/documentation/content/apidocs

Added: trunk/libjaxme-java/debian/libjaxme-java.dirs
===================================================================
--- trunk/libjaxme-java/debian/libjaxme-java.dirs	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/libjaxme-java.dirs	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1 @@
+usr/share/java

Added: trunk/libjaxme-java/debian/patches/00_JS_BuildXml_Classpath.patch
===================================================================
--- trunk/libjaxme-java/debian/patches/00_JS_BuildXml_Classpath.patch	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/patches/00_JS_BuildXml_Classpath.patch	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,31 @@
+--- ant/js.xml.orig	2006-02-12 17:29:07.000000000 +0100
++++ ant/js.xml	2006-02-12 14:58:11.000000000 +0100
+@@ -34,15 +34,14 @@
+     <property name="src.js" location="${basedir}/src/js"/>
+ 
+     <path id="js.class.path">
+-      <pathelement location="${preqs}/log4j-1.2.8.jar"/>
+-      <pathelement location="${preqs}/ant-1.5.4.jar"/>
+-      <pathelement location="${preqs}/junit.jar"/>
+-      <pathelement location="${preqs}/antlr.jar"/>
++      <pathelement location="/usr/share/java/log4j-1.2.jar"/>
++      <pathelement location="/usr/share/java/junit.jar"/>
++      <pathelement location="/usr/share/java/antlr.jar"/>
+     </path>
+ 
+     <path id="js.test.path">
+         <path refid="js.class.path"/>
+-        <pathelement location="${preqs}/hsqldb-1.7.1.jar"/>
++        <pathelement location="/usr/share/java/hsqldb.jar"/>
+         <pathelement location="${dist}/jaxmejs-${version}.jar"/>
+         <pathelement location="${build.js.test.classes}"/>
+     </path>
+@@ -60,7 +59,7 @@
+     <target name="JS.antlr" depends="dirs">
+         <java classname="antlr.Tool" failonerror="true">
+             <classpath>
+-                <pathelement location="${preqs}/antlr.jar"/>   
++                <pathelement location="/usr/share/java/antlr.jar"/>   
+             </classpath>
+             <arg line="-o ${build.js.src}/org/apache/ws/jaxme/js/jparser"/>
+             <arg file="${src.js}/org/apache/ws/jaxme/js/jparser/java15.g"/>

Added: trunk/libjaxme-java/debian/patches/00_Macros_BuildXml_JunitDontFail.patch
===================================================================
--- trunk/libjaxme-java/debian/patches/00_Macros_BuildXml_JunitDontFail.patch	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/patches/00_Macros_BuildXml_JunitDontFail.patch	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,11 @@
+--- ant/macros.xml.orig	2006-02-12 17:29:11.000000000 +0100
++++ ant/macros.xml	2006-02-12 15:10:02.000000000 +0100
+@@ -78,7 +78,7 @@
+         <element name="properties" optional="true"/>
+         <sequential>
+             <mkdir dir="@{reportsdir}"/>
+-            <junit printsummary="yes" haltonfailure="yes">
++            <junit printsummary="yes" haltonfailure="false">
+                 <classpath refid="@{classpathref}"/>
+                 <formatter type="plain"/>
+                 <batchtest todir="@{reportsdir}">

Added: trunk/libjaxme-java/debian/patches/00_PM_BuildXml_Classpath.patch
===================================================================
--- trunk/libjaxme-java/debian/patches/00_PM_BuildXml_Classpath.patch	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/patches/00_PM_BuildXml_Classpath.patch	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,25 @@
+--- ant/pm.xml.orig	2006-02-12 17:28:50.000000000 +0100
++++ ant/pm.xml	2006-02-12 15:16:49.000000000 +0100
+@@ -37,10 +37,10 @@
+         <pathelement location="${dist}/jaxmexs-${version}.jar"/>
+         <pathelement location="${dist}/jaxme2-${version}.jar"/>
+         <pathelement location="${preqs}/beaver.jar"/>   
+-        <pathelement location="${preqs}/hsqldb-1.7.1.jar"/>
+-        <pathelement location="${preqs}/ant.jar"/>
+-        <pathelement location="${preqs}/xml-apis.jar"/>
+-        <pathelement location="${preqs}/xercesImpl.jar"/>
++        <pathelement location="/usr/share/java/hsqldb.jar"/>
++        <pathelement location="/usr/share/java/ant.jar"/>
++        <pathelement location="/usr/share/java/xml-apis.jar"/>
++        <pathelement location="/usr/share/java/xercesImpl.jar"/>
+         <pathelement location="${preqs}/xmldb-api-20021118.jar"/>
+         <!-- These aren't in the CVS and aren't necessary for the build -->
+         <pathelement location="${preqs}/TaminoAPI4J.jar"/>
+@@ -73,6 +73,7 @@
+             source="1.3" target="1.3"
+             srcdir="${src.pm}">
+             <exclude name="org/apache/ws/jaxme/pm/junit/**/*"/>
++            <exclude name="org/apache/ws/jaxme/pm/xmldb/*"/>
+             <exclude name="org/apache/ws/jaxme/**/api4j/*" unless="have.inoapi4j"/>
+             <exclude name="org/apache/ws/jaxme/pm/ino/URLEncoder14.java" unless="have14"/>   
+         </javac>

Added: trunk/libjaxme-java/debian/patches/01_Base64_CommonsCodec.patch
===================================================================
--- trunk/libjaxme-java/debian/patches/01_Base64_CommonsCodec.patch	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/patches/01_Base64_CommonsCodec.patch	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,29 @@
+--- src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java.orig	2006-02-12 17:34:35.000000000 +0100
++++ src/jaxme/org/apache/ws/jaxme/util/Base64Binary.java	2006-02-12 17:41:53.000000000 +0100
+@@ -17,9 +17,7 @@
+ package org.apache.ws.jaxme.util;
+ 
+ import java.io.IOException;
+-
+-import sun.misc.BASE64Decoder;
+-import sun.misc.BASE64Encoder;
++import org.apache.commons.codec.binary.Base64;
+ 
+ 
+ /** A utility class for working with base64 encoding.
+@@ -37,13 +35,13 @@
+ 	 * base64 encoded byte array.
+ 	 */
+ 	public static byte[] decode(String pValue) throws IOException {
+-		return (new BASE64Decoder()).decodeBuffer(pValue);
++		return (new Base64()).encode(pValue.getBytes());
+ 	}
+ 
+ 	/** Converts the base64 encoded byte array <code>pValue</code>
+ 	 * into a string.
+ 	 */
+ 	public static String encode(byte[] pValue) {
+-		return (new BASE64Encoder()).encode(pValue);
++		return new String((new Base64()).decode(pValue));
+ 	}
+ }

Added: trunk/libjaxme-java/debian/rules
===================================================================
--- trunk/libjaxme-java/debian/rules	2006-02-12 18:49:35 UTC (rev 1907)
+++ trunk/libjaxme-java/debian/rules	2006-02-12 18:54:20 UTC (rev 1908)
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+# debian/rules file for ws-jaxme (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
+
+export VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+ANT_HOME := /usr/share/ant
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar log4j-1.2 xercesImpl junit antlr $(ANT_HOME)/lib/ant-junit.jar commons-codec
+DEB_ANT_BUILDFILE := build.xml
+DEB_ANT_CLEAN_TARGET := clean
+DEB_ANT_BUILD_TARGET := all javadoc test
+
+install/libjaxme-java::
+	install -m 644 dist/jaxmejs-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme-js-$(VERSION).jar
+	ln -s jaxme-js-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme-js.jar
+	install -m 644 dist/jaxmexs-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme-xs-$(VERSION).jar
+	ln -s jaxme-xs-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme-xs.jar
+	install -m 644 dist/jaxmepm-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme-pm-$(VERSION).jar
+	ln -s jaxme-pm-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme-pm.jar
+	install -m 644 dist/jaxmeapi-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme-api-$(VERSION).jar
+	ln -s jaxme-api-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme-api.jar
+	install -m 644 dist/jaxme2-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme2-$(VERSION).jar
+	ln -s jaxme2-$(VERSION).jar debian/libjaxme-java/usr/share/java/jaxme2.jar


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




More information about the pkg-java-commits mailing list