axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Butek <bu...@us.ibm.com>
Subject Re: cvs commit: xml-axis/java/test/wsdl/_import build.xml NStoPkg.properties
Date Wed, 11 Sep 2002 19:19:13 GMT




Other things the import tests test:
- import test 1 tests getting NStoPkg mappings partially from the
NStoPkg.properties file and partially from the command line.  import test 2
gets everything from the command line.  If you notice, both import test 1
and import test 2 use the same Import.wsdl file.
- make sure WSDL2Java can generate stuff into unrelated directories.

Russell Butek
butek@us.ibm.com


Russell Butek/Austin/IBM@IBMUS on 09/11/2002 12:54:04 PM

Please respond to axis-dev@xml.apache.org

To:    axis-dev@xml.apache.org
cc:
Subject:    Re: cvs commit: xml-axis/java/test/wsdl/_import build.xml
       NStoPkg.properties







Don't change this!  This is testing Java keyword clashes.  WSDL2Java should
change "import" to "_import" (or is it "import_"?).  If it doesn't we've
got a bug.

Russell Butek
butek@us.ibm.com


dims@apache.org on 09/11/2002 12:31:00 PM

Please respond to axis-dev@xml.apache.org

To:    xml-axis-cvs@apache.org
cc:
Subject:    cvs commit: xml-axis/java/test/wsdl/_import build.xml
       NStoPkg.properties



dims        2002/09/11 10:31:00

  Modified:    java/test/wsdl/_import build.xml NStoPkg.properties
  Log:
  Cleanup package names such that the tests can be run using "ant compile
  run" in the test\wsdl\_import directory.

  Revision  Changes    Path
  1.6       +11 -10    xml-axis/java/test/wsdl/_import/build.xml

  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/_import/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml   10 Sep 2002 16:06:53 -0000    1.5
  +++ build.xml   11 Sep 2002 17:31:00 -0000    1.6
  @@ -70,10 +70,11 @@
                  noimports="no"
                  verbose="no"
                  testcase="yes">
  -        <mapping namespace="urn:import" package="test.wsdl.import"/>
  -        <mapping namespace="urn:importBinding1"
  package="test.wsdl.import.binding1"/>
  -        <mapping namespace="urn:importBinding2"
  package="test.wsdl.import.binding2"/>
  +        <mapping namespace="urn:import"
  package="test.wsdl._import.test1"/>
  +        <mapping namespace="urn:importBinding1"
  package="test.wsdl._import.test1.binding1"/>
  +        <mapping namespace="urn:importBinding2"
  package="test.wsdl._import.test1.binding2"/>
       </wsdl2java>
  +
       <!-- Import Test 2:  all namespace->package mappings from the -->
       <!--                 command line.                            -->
       <wsdl2java url="${axis.home}/test/wsdl/_import/Import.wsdl"
  @@ -84,12 +85,12 @@
                  noimports="no"
                  verbose="no"
                  testcase="yes">
  -        <mapping namespace="urn:import" package="test.import2"/>
  -        <mapping namespace="urn:importBinding1"
  package="test.import2.binding1"/>
  -        <mapping namespace="urn:importBinding2"
  package="test.import2.binding2"/>
  -        <mapping namespace="urn:types.import.test"
  package="test.import2.types"/>
  -        <mapping namespace="urn:iface.import.test"
  package="test.import2.iface"/>
  -        <mapping namespace="urn:messages.import.test"
  package="test.import2.messages"/>
  +        <mapping namespace="urn:import"
  package="test.wsdl._import.test2"/>
  +        <mapping namespace="urn:importBinding1"
  package="test.wsdl._import.test2.binding1"/>
  +        <mapping namespace="urn:importBinding2"
  package="test.wsdl._import.test2.binding2"/>
  +        <mapping namespace="urn:types.import.test"
  package="test.wsdl._import.test2.types"/>
  +        <mapping namespace="urn:iface.import.test"
  package="test.wsdl._import.test2.iface"/>
  +        <mapping namespace="urn:messages.import.test"
  package="test.wsdl._import.test2.messages"/>
       </wsdl2java>

       <!-- Import Test 3:  all namespace->package mappings from the -->
  @@ -99,7 +100,7 @@
       <wsdl2java
                  url="${axis.home}/test/wsdl/_import/ImportMessagesXSDImport.wsdl"

                  output="${axis.home}/build/work"
                  noimports="no">
  -        <mapping namespace="urn:types.import.test"
  package="test.import.test3"/>
  +        <mapping namespace="urn:types.import.test"
  package="test.wsdl._import.test3"/>
       </wsdl2java>

       <javac srcdir="${build.dir}/work" destdir="${build.dest}"
       fork="${javac.fork}"



  1.2       +3 -1      xml-axis/java/test/wsdl/_import/NStoPkg.properties

  Index: NStoPkg.properties
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/wsdl/_import/NStoPkg.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NStoPkg.properties      16 Jan 2002 14:07:59 -0000    1.1
  +++ NStoPkg.properties      11 Sep 2002 17:31:00 -0000    1.2
  @@ -1 +1,3 @@
  -urn\:types.import.test=test.import3
  +urn\:types.import.test=test.wsdl._import.test1.types
  +urn\:iface.import.test=test.wsdl._import.test1.iface
  +urn\:messages.import.test=test.wsdl._import.test1.messages








Mime
View raw message