[axis] 01/60: Initial version for Axis (http://ws.apache.org/axis/) Required for eclipse-wst and AFAIK for jonas

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jan 12 17:30:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository axis.

commit 2c312ab15629fd2906f3e99a0931d37063f3700f
Author: Stephan Michels <stephan.michels at gmail.com>
Date:   Thu Jan 19 12:03:33 2006 +0000

    Initial version for Axis (http://ws.apache.org/axis/)
    Required for eclipse-wst and AFAIK for jonas
---
 debian/ant.properties                 |   9 +
 debian/changelog                      |   6 +
 debian/compat                         |   1 +
 debian/control                        |  47 +++++
 debian/copyright                      | 215 ++++++++++++++++++++
 debian/dirs                           |   2 +
 debian/docs                           |   4 +
 debian/patches/01axis-bz152255.patch  | 361 ++++++++++++++++++++++++++++++++++
 debian/patches/02axis-imageio.patch   |  25 +++
 debian/patches/03axis-objectweb.patch | 114 +++++++++++
 debian/rules                          |  51 +++++
 11 files changed, 835 insertions(+)

diff --git a/debian/ant.properties b/debian/ant.properties
new file mode 100644
index 0000000..5e4ebc9
--- /dev/null
+++ b/debian/ant.properties
@@ -0,0 +1,9 @@
+#build.sysclasspath=only
+build.sysclasspath=first
+xercesImpl.jar=/usr/share/java/xercesImpl.jar
+xmlParserAPIs.jar=/usr/share/java/xmlParserAPIs.jar
+xalan-unbundled.jar=/usr/share/java/xalan2.jar
+xml-apis.jar=/usr/share/java/xml-apis.jar
+xerces.jar=/usr/share/java/xerces.jar
+servlet.jar=/usr/share/java/servlet-2.4.jar
+j2ee.jar=/usr/share/java/servlet-2.4.jar
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0955253
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+axis (1.2.1-1) unstable; urgency=low
+
+  * Initial version based of the work of the Fedora packagers.
+
+ -- Stephan Michels <stephan at apache.org>  Mon,  9 Jan 2006 11:40:09 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2f04b20
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: axis
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Stephan Michels <stephan at apache.org>
+Priority: optional
+Build-Depends-Indep: debhelper (>> 4.0.0), cdbs, cacao, ant, junit (>= 3.8.1), libservlet2.4-java, libgnumail-java, liboro-java, liblog4j1.2-java, libcommons-logging-java, libgnujaf-java, libcommons-httpclient3-java, libcommons-net-java, libcommons-discovery-java, libbsf-java
+Standards-Version: 3.6.1
+
+Package: libaxis-java
+Architecture: all
+Suggests: libaxis-java-doc
+Depends:  kaffe (>= 2:1.1.5) | java1-runtime | java2-runtime, libservlet2.4-java, ant
+Description: A SOAP implementation in Java
+ Apache AXIS is an implementation of the SOAP ("Simple Object Access Protocol")
+ submission to W3C.
+ .
+ From the draft W3C specification:
+ .
+ SOAP is a lightweight protocol for exchange of information in a decentralized,
+ distributed environment. It is an XML based protocol that consists of three
+ parts: an envelope that defines a framework for describing what is in a message
+ and how to process it, a set of encoding rules for expressing instances of
+ application-defined datatypes, and a convention for representing remote
+ procedure calls and responses.
+ .
+ This project is a follow-on to the Apache SOAP project.
+
+Package: libaxis-java-doc
+Architecture: all
+Suggests: libaxis-java
+Description: Documentation for libaxis-java
+ Apache AXIS is an implementation of the SOAP ("Simple Object Access Protocol")
+ submission to W3C.
+ .
+ From the draft W3C specification:
+ .
+ SOAP is a lightweight protocol for exchange of information in a decentralized,
+ distributed environment. It is an XML based protocol that consists of three
+ parts: an envelope that defines a framework for describing what is in a message
+ and how to process it, a set of encoding rules for expressing instances of
+ application-defined datatypes, and a convention for representing remote
+ procedure calls and responses.
+ .
+ This project is a follow-on to the Apache SOAP project.
+ .
+ This package contains the documentation for libaxis-java.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..440fc53
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,215 @@
+This package was debianized by Stephan Michels <stephan at apache.org> on
+Thu,  11 Jan 2006 17:04:27 +0200.
+
+It was downloaded from http://ws.apache.org/axis/
+
+
+Copyright:
+
+
+                                 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.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   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.
+
+
+
+
+
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..b7aaa60
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/share/java
+usr/share/ant/lib
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..896fced
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,4 @@
+changelog.html
+LICENSE
+README
+release-notes.html
diff --git a/debian/patches/01axis-bz152255.patch b/debian/patches/01axis-bz152255.patch
new file mode 100644
index 0000000..472d958
--- /dev/null
+++ b/debian/patches/01axis-bz152255.patch
@@ -0,0 +1,361 @@
+--- axis-1_2/src/org/apache/axis/SOAPPart.java~	2005-05-03 20:29:14.000000000 +0100
++++ axis-1_2/src/org/apache/axis/SOAPPart.java	2005-06-07 11:28:33.000000000 +0100
+@@ -33,6 +33,7 @@
+ import org.w3c.dom.Attr;
+ import org.w3c.dom.CDATASection;
+ import org.w3c.dom.Comment;
++import org.w3c.dom.DOMConfiguration;
+ import org.w3c.dom.DOMException;
+ import org.w3c.dom.DOMImplementation;
+ import org.w3c.dom.Document;
+@@ -45,6 +46,7 @@
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.ProcessingInstruction;
+ import org.w3c.dom.Text;
++import org.w3c.dom.UserDataHandler;
+ import org.xml.sax.InputSource;
+ import org.xml.sax.SAXException;
+ 
+@@ -1273,5 +1275,102 @@
+     public boolean isBodyStream() {
+         return (currentForm == SOAPPart.FORM_INPUTSTREAM || currentForm == SOAPPart.FORM_BODYINSTREAM);        
+     }
++
++    /**
++     *  DOM Level 3 stubs
++     */
++
++    public String getBaseURI() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public boolean getXmlStandalone() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public Object setUserData(
++        String key, Object data, UserDataHandler handler) {
++        throw new RuntimeException("not implemented");
++    }
++    
++    public void setDocumentURI(String documentURI) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public void setXmlStandalone(boolean xmlStandalone) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public Node renameNode(Node n, String namespaceURI, String qualifiedName) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String getInputEncoding() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String getXmlEncoding() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public void setTextContent(String textContent) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public boolean isSameNode(Node other) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String getDocumentURI() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public Object getFeature(String feature, String version) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public boolean isDefaultNamespace(String namespaceURI) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String lookupPrefix(String namespaceURI) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public boolean isEqualNode(Node arg) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public void setXmlVersion(String xmlVersion) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String getXmlVersion() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public Object getUserData(String key) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String getTextContent() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public void normalizeDocument() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String lookupNamespaceURI(String prefix) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public DOMConfiguration getDomConfig() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public short compareDocumentPosition(Node other) {
++        throw new RuntimeException("not implemented");
++    }
+ }
+ 
+--- axis-1_2/src/org/apache/axis/message/NodeImpl.java~	2005-05-03 20:28:58.000000000 +0100
++++ axis-1_2/src/org/apache/axis/message/NodeImpl.java	2005-06-07 12:22:15.000000000 +0100
+@@ -30,6 +30,8 @@
+ import org.w3c.dom.Node;
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.Text;
++import org.w3c.dom.TypeInfo;
++import org.w3c.dom.UserDataHandler;
+ import org.xml.sax.Attributes;
+ import org.xml.sax.helpers.AttributesImpl;
+ 
+@@ -834,4 +836,74 @@
+             ((NodeImpl) parent).setDirty(true);
+         }
+     }
++
++    /**
++     *  DOM Level 3 stubs
++     */
++
++    public void setIdAttributeNS(
++        String namespaceURI, String localName, boolean isId) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public void setIdAttribute(String name, boolean isId) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public void setIdAttributeNode(Attr idAttr, boolean isId) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public TypeInfo getSchemaTypeInfo() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public Object setUserData(
++        String key, Object data, UserDataHandler handler) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String getBaseURI() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String getTextContent() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public boolean isSameNode(Node other) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public void setTextContent(String textContent) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public Object getUserData(String key) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public boolean isDefaultNamespace(String namespaceURI) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public Object getFeature(String feature, String version) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public boolean isEqualNode(Node arg) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public short compareDocumentPosition(Node other) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String lookupNamespaceURI(String prefix) {
++        throw new RuntimeException("not implemented");
++    }
++
++    public String lookupPrefix(String namespaceURI) {
++        throw new RuntimeException("not implemented");
++    }
+ }
+--- axis-1_2/src/org/apache/axis/message/SOAPDocumentImpl.java~	2005-05-03 20:29:08.000000000 +0100
++++ axis-1_2/src/org/apache/axis/message/SOAPDocumentImpl.java	2005-06-07 12:31:30.000000000 +0100
+@@ -25,6 +25,7 @@
+ import org.w3c.dom.Attr;
+ import org.w3c.dom.CDATASection;
+ import org.w3c.dom.Comment;
++import org.w3c.dom.DOMConfiguration;
+ import org.w3c.dom.DOMException;
+ import org.w3c.dom.DOMImplementation;
+ import org.w3c.dom.Document;
+@@ -36,6 +37,7 @@
+ import org.w3c.dom.Node;
+ import org.w3c.dom.NodeList;
+ import org.w3c.dom.ProcessingInstruction;
++import org.w3c.dom.UserDataHandler;
+ 
+ import javax.xml.parsers.ParserConfigurationException;
+ import javax.xml.soap.SOAPException;
+@@ -680,4 +682,113 @@
+     public boolean hasAttributes() {
+         throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
+     }
++
++    /**
++     *  DOM Level 3 stubs
++     */
++
++    public String getBaseURI() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public boolean getXmlStandalone() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public boolean getStrictErrorChecking() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public void setXmlStandalone(boolean xmlStandalone) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public Node renameNode(Node n, String namespaceURI, String qualifiedName) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public void setStrictErrorChecking(boolean strictErrorChecking) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public Object setUserData(
++        String key, Object data, UserDataHandler handler) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++    
++    public String getInputEncoding() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++    
++    public String getXmlEncoding() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public void setTextContent(String textContent) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public boolean isSameNode(Node other) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public String getDocumentURI() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public void setDocumentURI(String documentURI) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public Object getFeature(String feature, String version) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public Node adoptNode(Node source) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public boolean isDefaultNamespace(String namespaceURI) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public boolean isEqualNode(Node arg) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public void setXmlVersion(String xmlVersion) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public String getXmlVersion() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public String lookupPrefix(String namespaceURI) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public Object getUserData(String key) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public String getTextContent() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public void normalizeDocument() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public String lookupNamespaceURI(String prefix) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public DOMConfiguration getDomConfig() {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
++
++    public short compareDocumentPosition(Node other) {
++        throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "");
++    }
+ }
+--- axis-1_2/src/org/apache/axis/message/Text.java~	2005-05-03 20:29:21.000000000 +0100
++++ axis-1_2/src/org/apache/axis/message/Text.java	2005-06-07 12:34:19.000000000 +0100
+@@ -213,4 +213,19 @@
+         return ( textRep.getData() != null ? textRep.getData().hashCode() : 0 );
+     }
+ 
++    /**
++     *  DOM Level 3 stubs
++     */
++
++    public String getWholeText() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public boolean isElementContentWhitespace() {
++        throw new RuntimeException("not implemented");
++    }
++
++    public org.w3c.dom.Text replaceWholeText(String content) {
++        throw new RuntimeException("not implemented");
++    }
+ }
diff --git a/debian/patches/02axis-imageio.patch b/debian/patches/02axis-imageio.patch
new file mode 100644
index 0000000..286a861
--- /dev/null
+++ b/debian/patches/02axis-imageio.patch
@@ -0,0 +1,25 @@
+--- axis-1_2/src/org/apache/axis/components/image/MerlinIO.java.orig	2005-05-03 20:28:43.000000000 +0100
++++ axis-1_2/src/org/apache/axis/components/image/MerlinIO.java	2005-06-07 12:00:01.000000000 +0100
+@@ -42,12 +42,6 @@
+      */
+     public void saveImage(String mimeType, Image image, OutputStream os)
+             throws Exception {
+-        ImageWriter writer = null;
+-        Iterator iter = javax.imageio.ImageIO.getImageWritersByMIMEType(mimeType);
+-        if (iter.hasNext()) {
+-            writer = (ImageWriter) iter.next();
+-        }
+-        writer.setOutput(javax.imageio.ImageIO.createImageOutputStream(os));
+         BufferedImage rendImage = null;
+         if (image instanceof BufferedImage) {
+             rendImage = (BufferedImage) image;
+@@ -59,8 +53,7 @@
+             Graphics g = rendImage.createGraphics();
+             g.drawImage(image, 0, 0, null);
+         }
+-        writer.write(new IIOImage(rendImage, null, null));
+-        writer.dispose();
++        javax.imageio.ImageIO.write(rendImage, mimeType, os);
+     }
+ 
+     /**
diff --git a/debian/patches/03axis-objectweb.patch b/debian/patches/03axis-objectweb.patch
new file mode 100644
index 0000000..646975c
--- /dev/null
+++ b/debian/patches/03axis-objectweb.patch
@@ -0,0 +1,114 @@
+--- axis-1_2/src/org/apache/axis/handlers/ServiceInvocation.java	1970-01-01 01:00:00.000000000 +0100
++++ jonas-axis/src/org/apache/axis/handlers/ServiceInvocation.java	2005-01-25 15:02:00.000000000 +0000
+@@ -0,0 +1,111 @@
++
++package org.apache.axis.handlers;
++
++import java.util.Iterator;
++
++import javax.xml.soap.SOAPBody;
++import javax.xml.soap.SOAPElement;
++import javax.xml.soap.SOAPEnvelope;
++import javax.xml.soap.SOAPException;
++import javax.xml.soap.SOAPMessage;
++
++import org.apache.axis.MessageContext;
++
++
++
++/**
++ * Keep here the invocation info:
++ * operation + arguments.
++ * TODO This class should be in the jonas code.
++ * @author Ph Durieux
++ */
++public class ServiceInvocation {
++
++    /**
++     * @return Returns the argNames.
++     */
++    public String getArgNames() {
++        return argNames;
++    }
++    /**
++     * @param argNames The argNames to set.
++     */
++    public void setArgNames(String argNames) {
++        this.argNames = argNames;
++    }
++    /**
++     * @return Returns the methodName.
++     */
++    public String getMethodName() {
++        return methodName;
++    }
++    /**
++     * @param methodName The methodName to set.
++     */
++    public void setMethodName(String methodName) {
++        this.methodName = methodName;
++    }
++    /**
++     * @return Returns the numArgs.
++     */
++    public int getNumArgs() {
++        return numArgs;
++    }
++    /**
++     * @param numArgs The numArgs to set.
++     */
++    public void setNumArgs(int numArgs) {
++        this.numArgs = numArgs;
++    }
++    private String methodName = "";
++    private String argNames = "";
++    private int numArgs = -1;
++    
++    public ServiceInvocation(MessageContext msgContext) {
++
++        SOAPMessage  reqMsg  = msgContext.getMessage();
++        SOAPEnvelope reqEnv;
++        try {
++            reqEnv = reqMsg.getSOAPPart().getEnvelope();
++        } catch (SOAPException e1) {
++            e1.printStackTrace();
++            return;
++        }
++        SOAPBody body;
++        try {
++            body = reqEnv.getBody();
++        } catch (SOAPException e) {
++            e.printStackTrace();
++            return;
++        }
++        if (body == null) {
++            return;
++        }
++        Iterator it = body.getChildElements();
++        SOAPElement operation = (SOAPElement) it.next();
++        methodName = operation.getNodeName();
++        numArgs = 0;
++        for (Iterator i = operation.getChildElements(); i.hasNext();) {
++            SOAPElement elt = (SOAPElement) i.next();
++            numArgs++;
++            argNames += elt.getNodeName();
++        }
++    }
++
++    public boolean equals(Object obj) {
++       if (obj == null) {
++           return false;
++       }
++       return toString().equals(obj.toString());
++    }
++
++    public int hashCode() {
++       return numArgs;
++    }
++
++    public String toString() {
++       return "[method=" + methodName + ",Args=" + argNames + "]";
++    }
++
++}
++
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d58b270
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,51 @@
+#!/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
+
+JAVACMD := /usr/bin/cacao
+ANT_OPTS := -Xmx256m
+ANT_HOME := /usr/share/ant
+DEB_JARS := \
+	/usr/share/classpath/glibj.zip \
+	ant-nodeps \
+	jdepend \
+	servlet-api \
+	jsp-api \
+	junit \
+	gnumail \
+	oro \
+	log4j-1.2 \
+	commons-logging \
+	activation \
+	commons-httpclient333 \
+	commons-net \
+	commons-discovery \
+	bsf \
+	wsdl4j \
+	qname 
+
+DEB_ANT_COMPILER := jikes
+DEB_ANT_BUILD_TARGET := clean compile javadocs
+
+# Additional command-line arguments for Ant
+#ANT_ARGS := -verbose -debug
+
+LIBRARY_PACKAGE := axis
+API_VERSION     := 1.2.1
+
+install/lib$(LIBRARY_PACKAGE)-java:: 
+	install -m 644 build/lib/$(LIBRARY_PACKAGE).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar
+	ln -s $(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE).jar
+
+	install -m 644 build/lib/axis-ant.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/axis-ant-$(API_VERSION).jar
+	ln -s axis-ant-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/axis-ant.jar
+	ln -s axis-ant-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/ant/lib/axis-ant.jar
+
+	install -m 644 build/lib/jaxrpc.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/jaxrpc-$(API_VERSION).jar
+	ln -s jaxrpc-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/jaxrpc.jar
+
+	install -m 644 build/lib/saaj.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/saaj-$(API_VERSION).jar
+	ln -s saaj-$(API_VERSION).jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/saaj.jar
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/axis.git



More information about the pkg-java-commits mailing list