You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by ma...@apache.org on 2005/08/17 11:51:55 UTC

svn commit: r233143 [2/2] - in /webservices/jaxme/branches/MAVEN: ./ common-build/ prerequisites/ projects/ projects/api/ projects/api/src/ projects/api/src/main/ projects/api/src/main/java/ projects/api/xdocs/ projects/jm/ projects/jm/src/ projects/jm...

Added: webservices/jaxme/branches/MAVEN/projects/js/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/js/maven.xml?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/js/maven.xml (added)
+++ webservices/jaxme/branches/MAVEN/projects/js/maven.xml Wed Aug 17 02:51:32 2005
@@ -0,0 +1,1189 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+	Copyright 2004 The Apache Software Foundation.
+
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+
+	http://www.apache.org/licenses/LICENSE-2.0
+
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+
+-->
+<project xmlns:ant="jelly:ant" xmlns:maven="jelly:maven">
+
+<preGoal name="test:compile">
+
+	<ant:property name="JS.build.test" value="${maven.build.dir}/junit"/>
+	<ant:property name="build.js.db" value="${JS.build.test}/db"/>
+	<ant:property name="build.js.db.db" value="${build.js.db}/db"/>	
+	
+	<ant:path id="js.test.path">
+	  <ant:pathelement path="${maven.build.dest}"/>
+	  <ant:path refid="maven.dependency.classpath"/>
+	</ant:path>
+
+   	<ant:delete dir="${JS.build.test}"/>
+	
+    <ant:taskdef name="enumGenerator" classname="org.apache.ws.jaxme.js.pattern.Ant$AntTypesafeEnumerationGenerator"
+		classpathref="js.test.path"	/>
+    <ant:taskdef name="proxyGenerator" classname="org.apache.ws.jaxme.js.pattern.Ant$AntProxyGenerator"
+			classpathref="js.test.path"/>
+	<ant:taskdef name="versionGenerator" classname="org.apache.ws.jaxme.js.pattern.Ant$AntVersionGenerator"
+			classpathref="js.test.path"/>
+    <ant:taskdef name="xmlRpcGenerator" classname="org.apache.ws.jaxme.js.pattern.Ant$XmlRpcGenerator"
+			classpathref="js.test.path"/>
+	
+    <ant:proxyGenerator targetClass="org.apache.ws.jaxme.js.junit.ObservableList"
+                  extendedClass="java.util.Observable" destDir="${JS.build.test}">
+	         <ant:implementedInterface mandatory="true" interface="java.util.List"/>
+    </ant:proxyGenerator>
+	
+    <ant:enumGenerator targetClass="org.apache.ws.jaxme.js.junit.EnumExample"
+                   destDir="${JS.build.test}">
+            <ant:item name="JOE" value="John Doe"/>
+            <ant:item name="POPEYE" value="Olivia's Lover"/>
+            <ant:item name="DONALD" value="The Duck King"/>
+    </ant:enumGenerator>
+
+    <ant:xmlRpcGenerator
+                targetPackage="org.apache.ws.jaxme.js.junit.xmlrpcclient"
+                      destDir="${JS.build.test}">
+            <ant:dispatcher name="org.apache.ws.jaxme.js.junit.xmlrpcclient.Dispatcher"
+                implementingXmlRpcHandler="false"/>
+            <ant:serverClasses dir="${pom.build.unitTestSourceDirectory}" includes="**/XmlRpcClientTestRemoteClass.java"/>
+    </ant:xmlRpcGenerator>   
+
+    <ant:sql
+            src="${pom.build.unitTestSourceDirectory}/org/apache/ws/jaxme/js/junit/create.sql"
+            driver="${jdbc.driver}"
+            url="${jdbc.url}"
+            userid="${jdbc.user}"
+            password="${jdbc.password}" 
+            classpathref="js.test.path"/>
+
+    <ant:versionGenerator driver="${jdbc.driver}"
+                              url="${jdbc.url}"
+                             user="${jdbc.user}"
+                         password="${jdbc.password}"
+                           tables="MAIN SUB SUBSUB"
+                        verColumn="VER"
+                      targetClass="org.apache.ws.jaxme.js.junit.MAINCloner"
+                generatingLogging="true"
+                          destDir="${JS.build.test}"/>
+
+	<ant:path id="generated.test.src"
+              location="${JS.build.test}"/>
+
+    <maven:addPath id="maven.test.compile.src.set"
+                   refid="generated.test.src"/>
+
+</preGoal>
+</project>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Added: webservices/jaxme/branches/MAVEN/projects/js/project.properties
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/js/project.properties?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/js/project.properties (added)
+++ webservices/jaxme/branches/MAVEN/projects/js/project.properties Wed Aug 17 02:51:32 2005
@@ -0,0 +1,29 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+#  
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+
+maven.antlr.grammars=java15.g
+maven.antlr.src.dir=${basedir}/src/main/java/org/apache/ws/jaxme/js/jparser
+
+maven.junit.sysproperties=antlr.test.src jdbc.driver jdbc.user jdbc.password jdbc.url
+#js.src tells AntlrTest where to find the sources. Better ideas?
+js.src=${pom.build.sourceDirectory}
+jdbc.driver=org.hsqldb.jdbcDriver
+jdbc.url=jdbc:hsqldb:${build.js.db.db}
+jdbc.user=sa
+jdbc.password=
+
+
+

Added: webservices/jaxme/branches/MAVEN/projects/js/project.xml
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/js/project.xml?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/js/project.xml (added)
+++ webservices/jaxme/branches/MAVEN/projects/js/project.xml Wed Aug 17 02:51:32 2005
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	
+	Copyright 2004 The Apache Software Foundation.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+	
+-->
+<project>
+    <extend>../../common-build/project.xml</extend>
+    <pomVersion>3</pomVersion>
+    <id>jaxme:jaxmejs</id>
+    <artifactId>jaxmejs</artifactId>
+    <name>JaxMeJS</name>
+    <groupId>jaxme</groupId>
+    <package>org.apache.ws.jaxme.js</package>
+    <description>This is a framework for generating Java sources. It is based on an abstraction of the Java sources. For instance, there is an object called JavaSource. This object can have embedded instances of JavaMethod or JavaField, it can have inner classes, constructors, and so on. You get the idea. Compared to a basic approach of just using Writer.write(String), the framework has the obvious disadvantage of additional complexity and overhead.</description>
+    <contributors>
+        <contributor>
+            <name>Frederic Ahring</name>
+            <email>fahring at de.ibm.com</email>
+        </contributor>
+    </contributors>
+    <dependencies>
+        <dependency>
+            <groupId>antlr</groupId>
+            <artifactId>antlr</artifactId>
+            <version>2.7.5</version>
+            <type>jar</type>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <type>jar</type>
+        </dependency>
+        <dependency>
+            <groupId>ant</groupId>
+            <artifactId>ant</artifactId>
+            <version>1.5.4</version>
+            <type>jar</type>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <version>1.2.8</version>
+            <type>jar</type>
+        </dependency>
+        <dependency>
+            <groupId>hsqldb</groupId>
+            <artifactId>hsqldb</artifactId>
+            <version>1.7.1</version>
+            <type>jar</type>
+        </dependency>
+    </dependencies>
+    <shortDescription>The JaxMe JavaSource framework</shortDescription>
+</project>
+

Added: webservices/jaxme/branches/MAVEN/projects/js/src/.cvsignore
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/js/src/.cvsignore?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/js/src/.cvsignore (added)
+++ webservices/jaxme/branches/MAVEN/projects/js/src/.cvsignore Wed Aug 17 02:51:32 2005
@@ -0,0 +1 @@
+build

Added: webservices/jaxme/branches/MAVEN/projects/pm/LICENSE.txt
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/pm/LICENSE.txt?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/pm/LICENSE.txt (added)
+++ webservices/jaxme/branches/MAVEN/projects/pm/LICENSE.txt Wed Aug 17 02:51:32 2005
@@ -0,0 +1,201 @@
+                                 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.

Added: webservices/jaxme/branches/MAVEN/projects/pm/README.txt
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/pm/README.txt?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/pm/README.txt (added)
+++ webservices/jaxme/branches/MAVEN/projects/pm/README.txt Wed Aug 17 02:51:32 2005
@@ -0,0 +1,26 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+#  
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+
+The JaxMe Persistence Management
+
+JaxMe Persistence Management means the ability to read JaxMe objects from, insert them into, update them in, or delete them from the database. These operations are supported by JaxMe's persistence managers.
+
+The word database has a very broad meaning. The PM layer restricts itself to the most basic operations. As a result, almost arbitrary types of databases may be used:
+
+    * Relational databases via JDBC; the JaxMeJdbcSG may be used to read an existing database schema via JDBC metadata and converts the tables into JaxMe objects. For any table, it also creates a specific persistence manager, which is a subclass of PMJdbcImpl.
+    * Native XML databases via XML:DB, a database independent API, much like JDBC; native XML databases include , , or . The most important difference between native XML and relational databases is, that the formers have no limitations on the structure of XML documents being stored. As a consequence, there is no need for specific support in the schema and XmlDbPM, the persistence manager for XML:DB, is generic.
+    * Native XML databases via proprietary API's or protocols; currently this only includes Tamino via the InoManager.
+

Added: webservices/jaxme/branches/MAVEN/projects/pm/build.xml
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/pm/build.xml?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/pm/build.xml (added)
+++ webservices/jaxme/branches/MAVEN/projects/pm/build.xml Wed Aug 17 02:51:32 2005
@@ -0,0 +1,144 @@
+<!--
+ * Copyright 2002-2004  The Apache Software Foundation
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<project name="PM" default="all">
+    <import file="jm.xml"/>
+
+    <property name="build.pm" location="${build}/pm"/>
+    <property name="build.pm.classes" location="${build.pm}/classes"/>
+    <property name="build.pm.db" location="${build.pm}/db"/>
+    <property name="build.pm.reports" location="${build.pm}/reports"/>
+    <property name="build.pm.test" location="${build.pm}/test"/>
+    <property name="build.pm.test.classes" location="${build.pm.test}/classes"/>
+    <property name="build.pm.test.src" location="${build.pm.test}/src"/>
+    <property name="src.pm" location="src/pm"/>
+
+    <property name="jdbc.pm.driver" value="org.hsqldb.jdbcDriver"/>
+    <property name="jdbc.pm.url" value="jdbc:hsqldb:${build.pm.db}/db"/>
+    <property name="jdbc.pm.user" value="sa"/>
+    <property name="jdbc.pm.password" value=""/>
+   
+    <path id="pm.class.path">
+        <pathelement location="${preqs}/junit.jar"/>
+        <pathelement location="${dist}/jaxmeapi-${version}.jar"/>
+        <pathelement location="${dist}/jaxmejs-${version}.jar"/>
+        <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="${preqs}/xmldb-api-20021118.jar"/>
+        <!-- These aren't in the CVS and aren't necessary for the build -->
+        <pathelement location="${preqs}/TaminoAPI4J.jar"/>
+        <pathelement location="${preqs}/TaminoJCA.jar"/>
+    </path>
+
+    <path id="pm.runtime.path">
+        <path refid="pm.class.path"/>
+        <pathelement location="${dist}/jaxmepm-${version}.jar"/>
+    </path>
+
+	<available classname="com.softwareag.tamino.db.api.objectModel.sax.TSAXDocument"
+		        property="have.inoapi4j"
+		    classpathref="pm.class.path"/>
+
+    <target name="clean">
+        <delete dir="${build.pm}"/>
+        <delete dir="${dist}" includes="jaxmepm*"/>
+    </target>
+
+    <target name="dirs" depends="JM.dirs">
+        <mkdir dir="${build.pm.classes}"/>
+        <mkdir dir="${build.pm.test.src}"/>
+        <mkdir dir="${build.pm.test.classes}"/>
+    </target>
+
+    <target name="PM.compile" depends="dirs,JM.all">
+        <javac classpathref="pm.class.path" debug="${debug}"
+            optimize="${optimize}" destdir="${build.pm.classes}"
+            source="1.3" target="1.3"
+            srcdir="${src.pm}">
+            <exclude name="org/apache/ws/jaxme/pm/junit/**/*"/>
+            <exclude name="org/apache/ws/jaxme/**/api4j/*" unless="have.inoapi4j"/>
+            <exclude name="org/apache/ws/jaxme/pm/ino/URLEncoder14.java" unless="have14"/>   
+        </javac>
+        <jarzip filename="jaxmepm" srcdir="${src.pm}" classesdir="${build.pm.classes}"/>
+    </target>
+
+    <target name="PM.check.db">
+        <uptodate property="PM.uptodate.db" srcfile="src/test/pm/initdb.sql" targetfile="${build.pm.db}/db.properties"/>
+    </target>
+
+    <target name="PM.init.db" depends="PM.check.db" unless="PM.uptodate.db">
+    	<delete dir="${build.pm.db}"/>
+        <mkdir dir="${build.pm.db}"/>
+    	<sql classpathref="pm.runtime.path" driver="${jdbc.pm.driver}"
+	        password="${jdbc.pm.password}" src="src/test/pm/initdb.sql"
+	       url="${jdbc.pm.url}" userid="${jdbc.pm.user}"/>
+    </target>
+
+    <target name="all" depends="PM.compile"/>
+
+    <target name="PM.taskdef" depends="JM.all">
+        <taskdef classname="org.apache.ws.jaxme.generator.XJCTask" classpathref="pm.runtime.path" name="xjc"/>
+    </target>
+
+    <target name="PM.generate" depends="PM.compile,PM.taskdef,PM.init.db">
+        <xjc target="${build.pm.test.src}">
+            <schema dir="src/test/pm" includes="*.xsd"/>
+            <sgFactoryChain className="org.apache.ws.jaxme.pm.generator.jdbc.JaxMeJdbcSG"/>
+            <schemaReader className="org.apache.ws.jaxme.generator.sg.impl.JaxMeSchemaReader"/>
+            <produces dir="${build.pm.test.src}" includes="org/apache/ws/jaxme/test/pm/session/*"/>
+            <property name="jdbc.driver" value="${jdbc.pm.driver}"/>
+            <property name="jdbc.url" value="${jdbc.pm.url}"/>
+            <property name="jdbc.user" value="${jdbc.pm.user}"/>
+            <property name="jdbc.password" value="${jdbc.pm.password}"/>
+        </xjc>
+    </target>
+
+    <target name="PM.generate.compile" depends="PM.generate">
+        <javac debug="${debug}"
+            source="1.3" target="1.3"
+            optimize="${optimize}" destdir="${build.pm.test.classes}">
+            <classpath>
+                <path refid="pm.class.path"/>
+                <pathelement location="${dist}/jaxmepm-${version}.jar"/>
+            </classpath>
+            <src path="${build.pm.test.src}"/>
+            <src path="${src.pm}"/>
+            <include name="org/apache/ws/jaxme/test/pm/**/*"/>
+            <include name="org/apache/ws/jaxme/pm/junit/**/*"/>
+            <exclude name="org/apache/ws/jaxme/pm/ino/URLEncoder14.java" unless="have14"/>   
+        </javac>
+        <copy todir="${build.pm.test.classes}">
+            <fileset dir="${build.pm.test.src}" includes="**/*.xml,**/*.properties"/>
+        </copy>
+    </target>
+
+    <target name="test" depends="JM.test,PM.generate.compile">
+        <path id="pm.junit.path">
+            <path refid="pm.class.path"/>
+            <pathelement location="${dist}/jaxmepm-${version}.jar"/>
+            <pathelement location="${build.pm.test.classes}"/>
+        </path>
+        <runtests reportsdir="${build.pm.reports}" classpathref="pm.junit.path">
+            <tests>
+                <fileset dir="${src.pm}" includes="org/apache/ws/jaxme/pm/junit/**/*Test.java"/>
+            </tests>
+        </runtests>
+    </target>
+</project>

Added: webservices/jaxme/branches/MAVEN/projects/pm/project.xml
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/pm/project.xml?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/pm/project.xml (added)
+++ webservices/jaxme/branches/MAVEN/projects/pm/project.xml Wed Aug 17 02:51:32 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	
+	Copyright 2004 The Apache Software Foundation.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+	
+-->
+<project>
+    <pomVersion>3</pomVersion>
+    <id>jaxme:jaxmepm</id>
+    <artifactId>jaxmepm</artifactId>
+    <name>JaxMePM</name>
+    <groupId>jaxme</groupId>
+    <package>org.apache.ws.jaxme.pm</package>
+    <description>JaxMe Persistence Management means the ability to read JaxMe objects from, insert them into, update them in, or delete them from the database. These operations are supported by JaxMe's persistence managers.&#xD;
+&#xD;
+The word database has a very broad meaning. The PM layer restricts itself to the most basic operations. As a result, almost arbitrary types of databases may be used:&#xD;
+&#xD;
+    * Relational databases via JDBC; the JaxMeJdbcSG may be used to read an existing database schema via JDBC metadata and converts the tables into JaxMe objects. For any table, it also creates a specific persistence manager, which is a subclass of PMJdbcImpl.&#xD;
+    * Native XML databases via XML:DB, a database independent API, much like JDBC; native XML databases include , , or . The most important difference between native XML and relational databases is, that the formers have no limitations on the structure of XML documents being stored. As a consequence, there is no need for specific support in the schema and XmlDbPM, the persistence manager for XML:DB, is generic.&#xD;
+    * Native XML databases via proprietary API's or protocols; currently this only includes Tamino via the InoManager.</description>
+    <url>http://ws.apache.org/jaxme/pm/</url>
+    <extend>../../common-build/project.xml</extend>
+    <shortDescription>The JaxMe Persistence Management</shortDescription>
+</project>
+

Added: webservices/jaxme/branches/MAVEN/projects/xs/LICENSE.txt
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/xs/LICENSE.txt?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/xs/LICENSE.txt (added)
+++ webservices/jaxme/branches/MAVEN/projects/xs/LICENSE.txt Wed Aug 17 02:51:32 2005
@@ -0,0 +1,201 @@
+                                 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.

Added: webservices/jaxme/branches/MAVEN/projects/xs/README.txt
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/xs/README.txt?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/xs/README.txt (added)
+++ webservices/jaxme/branches/MAVEN/projects/xs/README.txt Wed Aug 17 02:51:32 2005
@@ -0,0 +1,45 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+#  
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+
+The JaxMe parser for XML Schema
+
+This is JaxMeXS, a parser for XML schema. Yet another one, to be precise. As there are a lot of other parsers around, the question arises: What makes it different? What advantages does it have?
+
+Let's begin with a disadvantage: This one is not a strict parser. In other words, it was not written to detect any possible invalid schema. Strictness is a secondary goal.
+
+The main purpose of JaxMeXS is being extensible. It is written with XML languages in mind, that extend XML schema. The best example is JAXB, the XML binding specification for Java. It extends XML schema by adding some more tags, for example like this:
+
+  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+      targetNamespace="http://ws.apache.org/jaxme/examples/misc/jaxb"
+      xmlns:jaxb="http://java.sun.com/xml/ns/jaxb">
+    <xs:annotation>
+      <xs:appinfo>
+        <jaxb:schemaBindings>
+          <jaxb:package name="com.mycompany.xml"/>
+        </jaxb:schemaBindings>
+      </xs:appinfo>
+    </xs:annotation>
+    ...
+      
+
+JAXB is a Java source generator, which converts an XML schema into Java classes. These Java classes have the ability to read an XML document conforming to the original schema and return its information. As usual for Java classes, they have to be located in some package, com.mycompany.xml in our case. The above example demonstrates how JAXB uses an additional tag jaxb:package to specify it.
+
+This is exactly where JaxMeXS fits in. Quite unsurprising, because it was written as the XML schema parser for JaxMe, which aims to be a JAXB implementation and extends the JAXB language by even more tags. The main idea of JaxMeXS is:
+
+    * Write a parser for XML schema.
+    * Extend the parser with the JAXB tags. This is simple: Any additional element is implemented by a standard Java bean. The attributes are mapped to properties and the property setters are called almost automagically.
+    * Extend the JAXB parser with the JaxMe tags by adding more beans.
+

Added: webservices/jaxme/branches/MAVEN/projects/xs/project.properties
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/xs/project.properties?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/xs/project.properties (added)
+++ webservices/jaxme/branches/MAVEN/projects/xs/project.properties Wed Aug 17 02:51:32 2005
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------------
+# Copyright 2001-2004 The Apache Software Foundation.
+# 
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# 
+#      http://www.apache.org/licenses/LICENSE-2.0
+#  
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------------------------------
+
+maven.junit.fork=yes
+maven.junit.sysproperties=xstc.zip.file
+xstc.zip.file=dontknow
+

Added: webservices/jaxme/branches/MAVEN/projects/xs/project.xml
URL: http://svn.apache.org/viewcvs/webservices/jaxme/branches/MAVEN/projects/xs/project.xml?rev=233143&view=auto
==============================================================================
--- webservices/jaxme/branches/MAVEN/projects/xs/project.xml (added)
+++ webservices/jaxme/branches/MAVEN/projects/xs/project.xml Wed Aug 17 02:51:32 2005
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+	
+	Copyright 2004 The Apache Software Foundation.
+	
+	Licensed under the Apache License, Version 2.0 (the "License");
+	you may not use this file except in compliance with the License.
+	You may obtain a copy of the License at
+	
+	http://www.apache.org/licenses/LICENSE-2.0
+	
+	Unless required by applicable law or agreed to in writing, software
+	distributed under the License is distributed on an "AS IS" BASIS,
+	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+	See the License for the specific language governing permissions and
+	limitations under the License.
+	
+-->
+<project>
+    <pomVersion>3</pomVersion>
+    <id>jaxmexs:jaxmexs</id>
+    <artifactId>jaxmexs</artifactId>
+    <name>JaxMeXS</name>
+    <groupId>jaxmexs</groupId>
+    <package>org.apache.ws.jaxme.xs</package>
+    <description>This is JaxMeXS, a parser for XML schema. Yet another one, to be precise. As there are a lot of other parsers around, the question arises: What makes it different? What advantages does it have?&#xD;
+&#xD;
+Let's begin with a disadvantage: This one is not a strict parser. In other words, it was not written to detect any possible invalid schema. Strictness is a secondary goal.&#xD;
+&#xD;
+The main purpose of JaxMeXS is being extensible. It is written with XML languages in mind, that extend XML schema. The best example is JAXB, the XML binding specification for Java. It extends XML schema by adding some more tags</description>
+    <contributors>
+        <contributor>
+            <name>Daniel Barclay</name>
+            <email>daniel at fgm.com</email>
+        </contributor>
+        <contributor>
+            <name>Richard Calmbach</name>
+            <email>RichardCalmbach at fairisaac.com</email>
+        </contributor>
+        <contributor>
+            <name>Mik Lernout</name>
+            <email>mik at futurestreet.org</email>
+        </contributor>
+        <contributor>
+            <name>Markus Holzner</name>
+            <email>MarkusHo at gmx.net</email>
+        </contributor>
+        <contributor>
+            <name>Chris Kirk</name>
+            <email>mrck1996 at yahoo.co.uk</email>
+        </contributor>
+        <contributor>
+            <name>Nina Juliadotter</name>
+            <email>nvjuliad at it.uts.edu.au</email>
+        </contributor>
+    </contributors>
+    <build>
+        <unitTest>
+            <includes>
+                <include>**/*Test.java</include>
+            </includes>
+            <excludes>
+                <exclude>**/WSDLTest.java</exclude>
+            </excludes>
+            <resources>
+                <resource>
+                    <directory>src/test/resources/</directory>
+                    <targetPath>org/apache/ws/jaxme/xs/junit</targetPath>
+                    <filtering>false</filtering>
+                </resource>
+            </resources>
+        </unitTest>
+    </build>
+    <extend>../../common-build/project.xml</extend>
+    <shortDescription>The JaxMe parser for XML Schema</shortDescription>
+    <dependencies>
+        <dependency>
+            <groupId>jaxme</groupId>
+            <artifactId>jaxmeapi</artifactId>
+            <version>0.5beta</version>
+            <type>jar</type>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <type>jar</type>
+            <url>http://www.junit.org</url>
+        </dependency>
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xerces</artifactId>
+            <version>2.5.0</version>
+            <jar>xercesImpl-2.5.0.jar</jar>
+            <type>jar</type>
+            <url>http://xml.apache.org/xerces2-j/</url>
+        </dependency>
+        <dependency>
+            <groupId>xml-apis</groupId>
+            <artifactId>xml-apis</artifactId>
+            <version>1.0.b2</version>
+            <type>jar</type>
+        </dependency>
+    </dependencies>
+</project>
+



---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org