axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/test/wsdl/interop3 emptysa.xml
Date Fri, 22 Feb 2002 05:38:50 GMT
gdaniels    02/02/21 21:38:50

  Added:       java     axis.properties
               java/test/wsdl/interop3 emptysa.xml
  Log:
  Add individual ant build file for the emptysa round 3 test, and a property
  file at the top level to hold all the common properties.  This is a quick
  stab at a way we might begin to make things a bit more modular in the
  test framework.
  
  Revision  Changes    Path
  1.1                  xml-axis/java/axis.properties
  
  Index: axis.properties
  ===================================================================
  axis.version=alpha 3
  
  name=axis
  Name=Axis
  year=2001
  
  debug=off  
  
  deprecation=true
  
  src.dir=./src
  docs.dir=./docs
  samples.dir=./samples
  test.dir=./test
  lib.dir=./lib
  
  wsdl4j.jar=lib/wsdl4j.jar
  commons-logging.jar=lib/commons-logging.jar
  log4j-core.jar=lib/log4j-core.jar
  clutil.jar=lib/clutil.jar
  tt-bytecode.jar=lib/tt-bytecode.jar
  
  junit.jar=lib/junit.jar
  
  packages=org.*,javax.*
  
  build.file=build.xml
  
  build.dir=build
  build.dest=build/classes
  build.lib=build/lib
  build.samples=build/classes/samples
  build.javadocs=build/javadocs
  build.webapp=build/webapps/axis
  
  webapp=webapps/axis
  
  dist.dir=axis-1_0
  
  test.functional.usefile=true
  
  
  
  1.1                  xml-axis/java/test/wsdl/interop3/emptysa.xml
  
  Index: emptysa.xml
  ===================================================================
  <project name="EmptySATest" default="main" basedir="../../..">
  
    <target name="check">
      <echo message="${build.dest}"/>
    </target>
  
    <path id="test-classpath">
      <pathelement location="${build.dest}" />
      <pathelement path="${java.class.path}" />
      <pathelement location="${java.home}/../lib/tools.jar"/>
      <fileset dir="../java/lib">
       <include name="*.jar"/>
      </fileset>
    </path>
  
    <taskdef name="wsdl2java"
             classname="test.wsdl.Wsdl2javaAntTask">
        <classpath refid="test-classpath" />
    </taskdef>
  
    <taskdef name="java2wsdl"
             classname="test.wsdl.Java2WsdlAntTask">
        <classpath refid="test-classpath" />
    </taskdef>
  
    <target name="main">
      <property file="axis.properties"/>
  
      <!-- EmptySA -->
      <!-- Steps 1, 2 and 4: -->
      <wsdl2java url="http://www.whitemesa.com/r3/emptysa.wsdl"
                 output="${basedir}/build/work"
                 skeleton="yes">
          <mapping namespace="http://soapinterop/" package="test.wsdl.interop3.emptysa"/>
      </wsdl2java>
      <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on">
        <classpath refid="test-classpath" />
        <include name="test/wsdl/interop3/emptysa/*.java" />
      </javac>
  
      <!-- Step 3:  see test/wsdl/interop3/Import1TestCase.java -->
      <!-- Step 5:  see test/wsdl/interop3/Import1TestCase.java -->
  
      <!-- Step 6:  -->
      <java2wsdl output="${basedir}/build/work/test/wsdl/interop3/emptysa.wsdl"
                 className= "test.wsdl.interop3.emptysa.SoapInteropEmptySAPortType"
                 namespace="http://soapinterop/"
             location="http://localhost:8080/axis/services/SoapInteropImport1Port">
          <mapping namespace="http://soapinterop/" package="test.wsdl.interop3.emptysa"/>
      </java2wsdl>
      <wsdl2java url="${basedir}/build/work/test/wsdl/interop3/emptysa.wsdl"
                 output="${basedir}/build/work"
                 skeleton="yes">
          <mapping namespace="http://soapinterop/" package="test.wsdl.interop3.emptysa.step6"/>
      </wsdl2java>
  
      <!-- Step 7:  see test/wsdl/interop3/Import1TestCase.java -->
      <!-- Step 8:  see test/wsdl/interop3/Import1TestCase.java -->
      </target>
  </project>
  
  
  

Mime
View raw message