Author: dims
Date: Tue Sep 20 15:51:23 2005
New Revision: 290579
URL: http://svn.apache.org/viewcvs?rev=290579&view=rev
Log:
- Move packages around.
- Update License to ASL 2.0
Added:
webservices/commons/trunk/XmlSchema/src/org/apache/ws/
webservices/commons/trunk/XmlSchema/src/org/apache/ws/commons/
Removed:
webservices/commons/trunk/XmlSchema/src/org/apache/axis/xsd/
Modified:
webservices/commons/trunk/XmlSchema/build.xml
webservices/commons/trunk/XmlSchema/test/tests/TestElementForm.java
webservices/commons/trunk/XmlSchema/test/tests/TestForwardRefs.java
Modified: webservices/commons/trunk/XmlSchema/build.xml
URL:
http://svn.apache.org/viewcvs/webservices/commons/trunk/XmlSchema/build.xml?rev=290579&r1=290578&r2=290579&view=diff
==============================================================================
--- webservices/commons/trunk/XmlSchema/build.xml (original)
+++ webservices/commons/trunk/XmlSchema/build.xml Tue Sep 20 15:51:23 2005
@@ -26,8 +26,9 @@
</target>
<target name="compile" depends="prepare" description="compiles the src and
puts it in build/classes">
- <javac srcdir="${src.dir}" destdir="${build_classes.dir}"
debug="true"
- deprecation="true">
+ <javac srcdir="${src.dir}" destdir="${build_classes.dir}"
debug="true"
+ source="1.2" target="1.2"
+ deprecation="true">
<include name="**/*.java" />
</javac>
</target>
@@ -35,6 +36,9 @@
<target name="compile-tests" depends="prepare-tests, compile"
description="compiles the tests and puts them in build/test-classes">
<javac srcdir="${test.dir}" destdir="${test_classes.dir}"
debug="true"
deprecation="true">
+ <classpath>
+ <pathelement location="${build_classes.dir}"/>
+ </classpath>
<include name="**/*.java" />
</javac>
</target>
Modified: webservices/commons/trunk/XmlSchema/test/tests/TestElementForm.java
URL:
http://svn.apache.org/viewcvs/webservices/commons/trunk/XmlSchema/test/tests/TestElementForm.java?rev=290579&r1=290578&r2=290579&view=diff
==============================================================================
--- webservices/commons/trunk/XmlSchema/test/tests/TestElementForm.java
(original)
+++ webservices/commons/trunk/XmlSchema/test/tests/TestElementForm.java Tue Sep
20 15:51:23 2005
@@ -19,13 +19,12 @@
import java.io.InputStream;
import java.io.FileInputStream;
-import java.util.Iterator;
-import org.apache.axis.xsd.xml.schema.XmlSchemaCollection;
-import org.apache.axis.xsd.xml.schema.XmlSchemaElement;
-import org.apache.axis.xsd.xml.schema.XmlSchemaComplexType;
-import org.apache.axis.xsd.xml.schema.XmlSchemaSequence;
-import org.apache.axis.xsd.xml.schema.XmlSchemaObjectCollection;
+import org.apache.ws.commons.schema.XmlSchemaCollection;
+import org.apache.ws.commons.schema.XmlSchemaElement;
+import org.apache.ws.commons.schema.XmlSchemaComplexType;
+import org.apache.ws.commons.schema.XmlSchemaSequence;
+import org.apache.ws.commons.schema.XmlSchemaObjectCollection;
import javax.xml.transform.stream.StreamSource;
import javax.xml.namespace.QName;
Modified: webservices/commons/trunk/XmlSchema/test/tests/TestForwardRefs.java
URL:
http://svn.apache.org/viewcvs/webservices/commons/trunk/XmlSchema/test/tests/TestForwardRefs.java?rev=290579&r1=290578&r2=290579&view=diff
==============================================================================
--- webservices/commons/trunk/XmlSchema/test/tests/TestForwardRefs.java
(original)
+++ webservices/commons/trunk/XmlSchema/test/tests/TestForwardRefs.java Tue Sep
20 15:51:23 2005
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2004,2005 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.
+ */
+
package tests;
import junit.framework.TestCase;
@@ -5,11 +21,11 @@
import java.io.InputStream;
import java.io.FileInputStream;
-import org.apache.axis.xsd.xml.schema.XmlSchemaCollection;
-import org.apache.axis.xsd.xml.schema.XmlSchemaElement;
-import org.apache.axis.xsd.xml.schema.XmlSchemaType;
-import org.apache.axis.xsd.xml.schema.XmlSchemaComplexType;
-import org.apache.axis.xsd.xml.schema.XmlSchemaSequence;
+import org.apache.ws.commons.schema.XmlSchemaCollection;
+import org.apache.ws.commons.schema.XmlSchemaElement;
+import org.apache.ws.commons.schema.XmlSchemaType;
+import org.apache.ws.commons.schema.XmlSchemaComplexType;
+import org.apache.ws.commons.schema.XmlSchemaSequence;
import javax.xml.transform.stream.StreamSource;
import javax.xml.namespace.QName;