rubys       02/02/27 15:36:53

  Modified:    java     build.xml
               java/src/org/apache/axis/wsdl/toJava Emitter.java
  Added:       java/test/wsdl/interop3/compound1 build.xml
               java/test/wsdl/interop3/import1 build.xml
  Log:
  Add interop/compound1
  
  Revision  Changes    Path
  1.116     +2 -0      xml-axis/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/build.xml,v
  retrieving revision 1.115
  retrieving revision 1.116
  diff -u -r1.115 -r1.116
  --- build.xml 27 Feb 2002 23:09:15 -0000      1.115
  +++ build.xml 27 Feb 2002 23:36:53 -0000      1.116
  @@ -520,6 +520,7 @@
     <!-- =================================================================== -->
     <target name="interop3" depends="buildTest">
       <ant dir="test/wsdl/interop3/import1"/>
  +    <ant dir="test/wsdl/interop3/compound1"/>
     </target>
   
     <!-- =================================================================== -->
  @@ -527,6 +528,7 @@
     <!-- =================================================================== -->
     <target name="clean">
       <delete dir="${build.dir}"/>
  +    <delete dir="${test.dir}/build"/>
       <delete dir="${dist.dir}"/>
       <delete file="client-config.wsdd"/>
       <delete file="server-config.wsdd"/>
  
  
  
  1.21      +0 -1      xml-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java
  
  Index: Emitter.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- Emitter.java      27 Feb 2002 23:09:15 -0000      1.20
  +++ Emitter.java      27 Feb 2002 23:36:53 -0000      1.21
  @@ -249,7 +249,6 @@
               while (keys.hasMoreElements()) {
                   try {
                       String key = (String) keys.nextElement();
  -System.out.println(key + " => " + mappings.getProperty(key));
                       namespaces.put(key, mappings.getProperty(key));
                   }
                   catch (Throwable t) {
  
  
  
  1.1                  xml-axis/java/test/wsdl/interop3/compound1/build.xml
  
  Index: build.xml
  ===================================================================
  <project name="Round3" default="main">
    <property name="root.dir" value="../../.."/>
  
    <path id="test-classpath">
      <pathelement location="${build.dest}" />
      <pathelement path="${java.class.path}" />
      <pathelement location="${java.home}/../lib/tools.jar"/>
      <fileset dir="../../../lib">
        <include name="*.jar"/>
      </fileset>
    </path>
  
    <taskdef name="wsdl2java" classname="test.wsdl.Wsdl2javaAntTask">
        <classpath refid="test-classpath"/>
    </taskdef>
  
    <target name="main">
  
      <!-- generate skeletons -->
      <wsdl2java url="http://www.whitemesa.net/wsdl/r3/compound1.wsdl";
                 output="${root.dir}/build/work" skeleton="yes"/>
  
      <copy file="SoapInteropCompound1BindingImpl.java"
            todir="${root.dir}/build/work/test/wsdl/interop3/compound1"/>
  
      <copy file="Compound1TestCase.java"
            todir="${root.dir}/build/work/test/wsdl/interop3/compound1"/>
  
      <!-- compile the skeletons -->
      <javac srcdir="${root.dir}/${build.dir}/work" 
        destdir="${root.dir}/${build.dest}" debug="on">
        <classpath refid="test-classpath" />
        <include name="test/wsdl/interop3/**/*.java" />
      </javac>
    </target>
  
  </project>
  
  
  
  1.1                  xml-axis/java/test/wsdl/interop3/import1/build.xml
  
  Index: build.xml
  ===================================================================
  <project name="Round3" default="main">
    <property name="root.dir" value="../../.."/>
  
    <path id="test-classpath">
      <pathelement location="${build.dest}" />
      <pathelement path="${java.class.path}" />
      <pathelement location="${java.home}/../lib/tools.jar"/>
      <fileset dir="../../../lib">
        <include name="*.jar"/>
      </fileset>
    </path>
  
    <taskdef name="wsdl2java" classname="test.wsdl.Wsdl2javaAntTask">
        <classpath refid="test-classpath"/>
    </taskdef>
  
    <target name="main">
  
      <!-- generate skeletons -->
      <wsdl2java url="http://www.whitemesa.com/r3/import1.wsdl";
                 output="${root.dir}/build/work" skeleton="yes"/>
  
      <mkdir dir="${root.dir}/${build.dest}"/>
  
      <!-- compile the skeletons -->
      <javac srcdir="${root.dir}/${build.dir}/work" 
        destdir="${root.dir}/${build.dest}" debug="on">
        <classpath refid="test-classpath" />
        <include name="test/wsdl/interop3/**/*.java" />
      </javac>
    </target>
  
  </project>
  
  
  


Reply via email to