Permalink
Browse files

Import of WSDL4J 1.6.2 (directly from :pserver:anonymous@wsdl4j.cvs.s…

…ourceforge.net:/cvsroot/wsdl4j wsdl4j-1_6_2)
  • Loading branch information...
vanto committed Jun 16, 2011
0 parents commit 09c4aaba1e95358d0ba35609109cbd8aa67e6e57
Showing with 25,376 additions and 0 deletions.
  1. +320 −0 build.xml
  2. +880 −0 doc/changes.html
  3. +177 −0 doc/cvschangelog.xsl
  4. BIN doc/fab/JSR110_final_approval_ballot.doc
  5. BIN doc/fab/JSR110_final_approval_ballot.pdf
  6. BIN doc/fab/appeals.pdf
  7. +83 −0 doc/fab/final-questions.txt
  8. BIN doc/fab/jwsdl-api.zip
  9. BIN doc/fab/jwsdltck-bin-1.0.zip
  10. +13 −0 doc/fab/license.txt
  11. +27 −0 doc/fab/terms.txt
  12. BIN doc/fab/wsdl4j-bin-1.3.zip
  13. +53 −0 doc/index.html
  14. +68 −0 doc/install.html
  15. BIN doc/pfd/JSR110_proposed_final_draft.doc
  16. BIN doc/pfd/JSR110_proposed_final_draft.pdf
  17. BIN doc/pfd/jwsdl-api.zip
  18. +13 −0 doc/pfd/license.txt
  19. BIN doc/spec/final/jsr110-1.0.doc
  20. BIN doc/spec/final/jsr110-1.0.pdf
  21. BIN doc/spec/final/jwsdl-api-1.0.zip
  22. +13 −0 doc/spec/final/license.txt
  23. BIN doc/spec/maint_rel_1.1/JSR110-maint-rel-changelog.zip
  24. BIN doc/spec/maint_rel_1.1/jsr110-1.1.doc
  25. BIN doc/spec/maint_rel_1.1/jsr110-1.1.pdf
  26. BIN doc/spec/maint_rel_1.1/jwsdl-api-1.1.zip
  27. +13 −0 doc/spec/maint_rel_1.1/license.txt
  28. BIN doc/spec/maint_rel_1.2/JSR110-maint-rel-1_2-changelog.doc
  29. BIN doc/spec/maint_rel_1.2/JSR110-maint-rel-1_2-changelog.pdf
  30. BIN doc/spec/maint_rel_1.2/jsr110-1.2.doc
  31. BIN doc/spec/maint_rel_1.2/jsr110-1.2.pdf
  32. BIN doc/spec/maint_rel_1.2/jwsdl-api-1.2.zip
  33. +13 −0 doc/spec/maint_rel_1.2/license.txt
  34. +229 −0 license.html
  35. +1 −0 readme.txt
  36. +197 −0 src/com/ibm/wsdl/AbstractWSDLElement.java
  37. +74 −0 src/com/ibm/wsdl/BindingFaultImpl.java
  38. +363 −0 src/com/ibm/wsdl/BindingImpl.java
  39. +73 −0 src/com/ibm/wsdl/BindingInputImpl.java
  40. +200 −0 src/com/ibm/wsdl/BindingOperationImpl.java
  41. +73 −0 src/com/ibm/wsdl/BindingOutputImpl.java
  42. +136 −0 src/com/ibm/wsdl/Constants.java
  43. +879 −0 src/com/ibm/wsdl/DefinitionImpl.java
  44. +86 −0 src/com/ibm/wsdl/FaultImpl.java
  45. +118 −0 src/com/ibm/wsdl/ImportImpl.java
  46. +86 −0 src/com/ibm/wsdl/InputImpl.java
  47. +174 −0 src/com/ibm/wsdl/MessageImpl.java
  48. +249 −0 src/com/ibm/wsdl/OperationImpl.java
  49. +86 −0 src/com/ibm/wsdl/OutputImpl.java
  50. +105 −0 src/com/ibm/wsdl/PartImpl.java
  51. +99 −0 src/com/ibm/wsdl/PortImpl.java
  52. +309 −0 src/com/ibm/wsdl/PortTypeImpl.java
  53. +126 −0 src/com/ibm/wsdl/ServiceImpl.java
  54. +49 −0 src/com/ibm/wsdl/TypesImpl.java
  55. +417 −0 src/com/ibm/wsdl/extensions/PopulatedExtensionRegistry.java
  56. +92 −0 src/com/ibm/wsdl/extensions/http/HTTPAddressImpl.java
  57. +88 −0 src/com/ibm/wsdl/extensions/http/HTTPAddressSerializer.java
  58. +92 −0 src/com/ibm/wsdl/extensions/http/HTTPBindingImpl.java
  59. +88 −0 src/com/ibm/wsdl/extensions/http/HTTPBindingSerializer.java
  60. +38 −0 src/com/ibm/wsdl/extensions/http/HTTPConstants.java
  61. +92 −0 src/com/ibm/wsdl/extensions/http/HTTPOperationImpl.java
  62. +88 −0 src/com/ibm/wsdl/extensions/http/HTTPOperationSerializer.java
  63. +68 −0 src/com/ibm/wsdl/extensions/http/HTTPUrlEncodedImpl.java
  64. +78 −0 src/com/ibm/wsdl/extensions/http/HTTPUrlEncodedSerializer.java
  65. +68 −0 src/com/ibm/wsdl/extensions/http/HTTPUrlReplacementImpl.java
  66. +78 −0 src/com/ibm/wsdl/extensions/http/HTTPUrlReplacementSerializer.java
  67. +36 −0 src/com/ibm/wsdl/extensions/mime/MIMEConstants.java
  68. +116 −0 src/com/ibm/wsdl/extensions/mime/MIMEContentImpl.java
  69. +103 −0 src/com/ibm/wsdl/extensions/mime/MIMEContentSerializer.java
  70. +92 −0 src/com/ibm/wsdl/extensions/mime/MIMEMimeXmlImpl.java
  71. +94 −0 src/com/ibm/wsdl/extensions/mime/MIMEMimeXmlSerializer.java
  72. +112 −0 src/com/ibm/wsdl/extensions/mime/MIMEMultipartRelatedImpl.java
  73. +228 −0 src/com/ibm/wsdl/extensions/mime/MIMEMultipartRelatedSerializer.java
  74. +114 −0 src/com/ibm/wsdl/extensions/mime/MIMEPartImpl.java
  75. +78 −0 src/com/ibm/wsdl/extensions/schema/SchemaConstants.java
  76. +156 −0 src/com/ibm/wsdl/extensions/schema/SchemaDeserializer.java
  77. +236 −0 src/com/ibm/wsdl/extensions/schema/SchemaImpl.java
  78. +33 −0 src/com/ibm/wsdl/extensions/schema/SchemaImportImpl.java
  79. +71 −0 src/com/ibm/wsdl/extensions/schema/SchemaReferenceImpl.java
  80. +49 −0 src/com/ibm/wsdl/extensions/schema/SchemaSerializer.java
  81. +92 −0 src/com/ibm/wsdl/extensions/soap/SOAPAddressImpl.java
  82. +88 −0 src/com/ibm/wsdl/extensions/soap/SOAPAddressSerializer.java
  83. +119 −0 src/com/ibm/wsdl/extensions/soap/SOAPBindingImpl.java
  84. +98 −0 src/com/ibm/wsdl/extensions/soap/SOAPBindingSerializer.java
  85. +164 −0 src/com/ibm/wsdl/extensions/soap/SOAPBodyImpl.java
  86. +124 −0 src/com/ibm/wsdl/extensions/soap/SOAPBodySerializer.java
  87. +49 −0 src/com/ibm/wsdl/extensions/soap/SOAPConstants.java
  88. +164 −0 src/com/ibm/wsdl/extensions/soap/SOAPFaultImpl.java
  89. +120 −0 src/com/ibm/wsdl/extensions/soap/SOAPFaultSerializer.java
  90. +188 −0 src/com/ibm/wsdl/extensions/soap/SOAPHeaderFaultImpl.java
  91. +212 −0 src/com/ibm/wsdl/extensions/soap/SOAPHeaderImpl.java
  92. +269 −0 src/com/ibm/wsdl/extensions/soap/SOAPHeaderSerializer.java
  93. +123 −0 src/com/ibm/wsdl/extensions/soap/SOAPOperationImpl.java
  94. +98 −0 src/com/ibm/wsdl/extensions/soap/SOAPOperationSerializer.java
  95. +92 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12AddressImpl.java
  96. +88 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12AddressSerializer.java
  97. +119 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12BindingImpl.java
  98. +98 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12BindingSerializer.java
  99. +164 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12BodyImpl.java
  100. +124 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12BodySerializer.java
  101. +50 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12Constants.java
  102. +163 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12FaultImpl.java
  103. +119 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12FaultSerializer.java
  104. +187 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12HeaderFaultImpl.java
  105. +212 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12HeaderImpl.java
  106. +267 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12HeaderSerializer.java
  107. +144 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12OperationImpl.java
  108. +112 −0 src/com/ibm/wsdl/extensions/soap12/SOAP12OperationSerializer.java
  109. +66 −0 src/com/ibm/wsdl/factory/WSDLFactoryImpl.java
  110. +36 −0 src/com/ibm/wsdl/util/IOUtils.java
  111. +67 −0 src/com/ibm/wsdl/util/ObjectRegistry.java
  112. +211 −0 src/com/ibm/wsdl/util/StringUtils.java
  113. +453 −0 src/com/ibm/wsdl/util/xml/DOM2Writer.java
  114. +605 −0 src/com/ibm/wsdl/util/xml/DOMUtils.java
  115. +28 −0 src/com/ibm/wsdl/util/xml/QNameUtils.java
  116. +197 −0 src/com/ibm/wsdl/util/xml/XPathUtils.java
  117. +2,343 −0 src/com/ibm/wsdl/xml/WSDLReaderImpl.java
  118. +1,128 −0 src/com/ibm/wsdl/xml/WSDLWriterImpl.java
  119. +127 −0 src/javax/wsdl/Binding.java
  120. +31 −0 src/javax/wsdl/BindingFault.java
  121. +31 −0 src/javax/wsdl/BindingInput.java
  122. +106 −0 src/javax/wsdl/BindingOperation.java
  123. +31 −0 src/javax/wsdl/BindingOutput.java
  124. +421 −0 src/javax/wsdl/Definition.java
  125. +32 −0 src/javax/wsdl/Fault.java
  126. +56 −0 src/javax/wsdl/Import.java
  127. +32 −0 src/javax/wsdl/Input.java
  128. +76 −0 src/javax/wsdl/Message.java
  129. +130 −0 src/javax/wsdl/Operation.java
  130. +79 −0 src/javax/wsdl/OperationType.java
  131. +32 −0 src/javax/wsdl/Output.java
  132. +40 −0 src/javax/wsdl/Part.java
  133. +44 −0 src/javax/wsdl/Port.java
  134. +113 −0 src/javax/wsdl/PortType.java
  135. +62 −0 src/javax/wsdl/Service.java
  136. +14 −0 src/javax/wsdl/Types.java
  137. +32 −0 src/javax/wsdl/WSDLElement.java
  138. +123 −0 src/javax/wsdl/WSDLException.java
  139. +78 −0 src/javax/wsdl/extensions/AttributeExtensible.java
  140. +39 −0 src/javax/wsdl/extensions/ElementExtensible.java
  141. +42 −0 src/javax/wsdl/extensions/ExtensibilityElement.java
  142. +43 −0 src/javax/wsdl/extensions/ExtensionDeserializer.java
  143. +459 −0 src/javax/wsdl/extensions/ExtensionRegistry.java
  144. +42 −0 src/javax/wsdl/extensions/ExtensionSerializer.java
  145. +100 −0 src/javax/wsdl/extensions/UnknownExtensibilityElement.java
  146. +50 −0 src/javax/wsdl/extensions/UnknownExtensionDeserializer.java
  147. +43 −0 src/javax/wsdl/extensions/UnknownExtensionSerializer.java
  148. +25 −0 src/javax/wsdl/extensions/http/HTTPAddress.java
  149. +25 −0 src/javax/wsdl/extensions/http/HTTPBinding.java
  150. +26 −0 src/javax/wsdl/extensions/http/HTTPOperation.java
  151. +15 −0 src/javax/wsdl/extensions/http/HTTPUrlEncoded.java
  152. +15 −0 src/javax/wsdl/extensions/http/HTTPUrlReplacement.java
  153. +37 −0 src/javax/wsdl/extensions/mime/MIMEContent.java
  154. +25 −0 src/javax/wsdl/extensions/mime/MIMEMimeXml.java
  155. +35 −0 src/javax/wsdl/extensions/mime/MIMEMultipartRelated.java
  156. +16 −0 src/javax/wsdl/extensions/mime/MIMEPart.java
  157. +124 −0 src/javax/wsdl/extensions/schema/Schema.java
  158. +25 −0 src/javax/wsdl/extensions/schema/SchemaImport.java
  159. +60 −0 src/javax/wsdl/extensions/schema/SchemaReference.java
  160. +25 −0 src/javax/wsdl/extensions/soap/SOAPAddress.java
  161. +41 −0 src/javax/wsdl/extensions/soap/SOAPBinding.java
  162. +62 −0 src/javax/wsdl/extensions/soap/SOAPBody.java
  163. +62 −0 src/javax/wsdl/extensions/soap/SOAPFault.java
  164. +97 −0 src/javax/wsdl/extensions/soap/SOAPHeader.java
  165. +76 −0 src/javax/wsdl/extensions/soap/SOAPHeaderFault.java
  166. +46 −0 src/javax/wsdl/extensions/soap/SOAPOperation.java
  167. +25 −0 src/javax/wsdl/extensions/soap12/SOAP12Address.java
  168. +41 −0 src/javax/wsdl/extensions/soap12/SOAP12Binding.java
  169. +62 −0 src/javax/wsdl/extensions/soap12/SOAP12Body.java
  170. +61 −0 src/javax/wsdl/extensions/soap12/SOAP12Fault.java
  171. +97 −0 src/javax/wsdl/extensions/soap12/SOAP12Header.java
  172. +75 −0 src/javax/wsdl/extensions/soap12/SOAP12HeaderFault.java
  173. +55 −0 src/javax/wsdl/extensions/soap12/SOAP12Operation.java
  174. +293 −0 src/javax/wsdl/factory/WSDLFactory.java
  175. +62 −0 src/javax/wsdl/xml/WSDLLocator.java
  176. +204 −0 src/javax/wsdl/xml/WSDLReader.java
  177. +71 −0 src/javax/wsdl/xml/WSDLWriter.java
  178. +251 −0 src/javax/xml/namespace/QName.java
  179. BIN tck/jwsdl-1.1/jwsdltck-bin-1.1.zip
  180. +146 −0 tck/jwsdl-1.1/wsdl4j-1.5.3-TEST-com.ibm.wsdl.tck.JWSDLTestSuite.txt
  181. BIN tck/jwsdl-1.2/jwsdltck-bin-1.2.zip
  182. +177 −0 tck/jwsdl-1.2/wsdl4j-1.6-TEST-com.ibm.wsdl.tck.JWSDLTestSuite.txt
  183. +177 −0 tck/jwsdl-1.2/wsdl4j-1.6.1-TEST-com.ibm.wsdl.tck.JWSDLTestSuite.txt
  184. +177 −0 tck/jwsdl-1.2/wsdl4j-1.6.2-TEST-com.ibm.wsdl.tck.JWSDLTestSuite.txt
  185. +261 −0 test/com/ibm/wsdl/ExtendedWSDLCreator.java
  186. +161 −0 test/com/ibm/wsdl/RecursiveGetTest.java
  187. +37 −0 test/com/ibm/wsdl/WSDL4JTestSuite.java
  188. +150 −0 test/com/ibm/wsdl/WSDLLocatorTest.java
  189. +38 −0 test/com/ibm/wsdl/extensions/soap12/ReadSOAP12Test.java
  190. +15 −0 test/com/ibm/wsdl/factory/MyClassLoader.java
  191. +73 −0 test/com/ibm/wsdl/factory/WSDLFactoryImpl2.java
  192. +15 −0 test/com/ibm/wsdl/factory/WSDLFactoryImpl3.java
  193. +227 −0 test/com/ibm/wsdl/factory/WSDLFactoryPropertyTest.java
  194. +240 −0 test/com/ibm/wsdl/xml/ImportWSDLTest.java
  195. +54 −0 test/com/ibm/wsdl/xml/SetFactoryNameTest.java
  196. +125 −0 test/com/ibm/wsdl/xml/WSDLExceptionTest.java
  197. +99 −0 test/javax/xml/namespace/QNameSerializationTest.java
  198. BIN test/javax/xml/namespace/serialized_QName_no_prefix
  199. BIN test/lib/jwsdltck.jar
  200. +99 −0 test/resources/AddressBook.wsdl
  201. +31 −0 test/resources/MyExtendedWSDL.wsdl
  202. +48 −0 test/resources/MyWSDL.wsdl
  203. +58 −0 test/resources/SOAP12Test.wsdl
  204. +16 −0 test/resources/imports/MyImportA.wsdl
  205. +12 −0 test/resources/imports/MyImportB.wsdl
  206. +14 −0 test/resources/imports/MyImportC.wsdl
  207. +38 −0 test/resources/imports/TestImportDefs.wsdl
  208. +551 −0 test/resources/ri.sig
  209. +18 −0 test/resources/schemas/Address.xsd
  210. +24 −0 test/resources/schemas/Flight.xsd
  211. +24 −0 test/resources/schemas/Hotel.xsd
  212. +56 −0 test/resources/schemas/TravelCo.wsdl
  213. +59 −0 test/resources/subdir/AddressBook_1.wsdl
  214. +53 −0 test/resources/subdir/AddressBook_2.wsdl
  215. +53 −0 test/resources/test.wsdl
  216. +82 −0 test/resources/testGetXXXA.wsdl
  217. +80 −0 test/resources/testGetXXXB.wsdl
  218. +75 −0 test/resources/testGetXXXC.wsdl
320 build.xml
@@ -0,0 +1,320 @@
+<?xml version="1.0"?>
+
+<!-- ===================================================================
+
+ Build file for WSDL4J
+
+Notes:
+ This is a build file for use with the Jakarta Ant build tool.
+
+Prerequisites:
+
+ jakarta-ant from http://jakarta.apache.org
+ A JAXP-compliant DOM parser.
+ - Xerces, from http://xml.apache.org, works fine.
+
+Optional additions:
+
+
+Build Instructions:
+ To build, run
+
+ java org.apache.tools.ant.Main <target>
+
+ in the directory where this file is located with the target you want.
+
+Main targets:
+
+ - compile -> creates the "wsdl4j.jar" package in "./build/lib"
+ - javadocs -> creates the javadocs in "./build/javadocs"
+ - dist -> creates the complete binary distribution
+ - srcdist -> creates the complete src distribution
+ - clean -> removes all the generated files and directories
+
+Author:
+ Matthew J. Duftler <duftler@us.ibm.com>
+
+==================================================================== -->
+
+<project default="compile" basedir=".">
+
+ <target name="init">
+ <property name="name" value="wsdl4j"/>
+ <property name="Name" value="WSDL4J"/>
+ <property name="wsdl4j.version" value="1.6.2"/>
+ <property name="wsdl4j.version.underscore" value="1_6_2"/>
+ <property name="jwsdl.version" value="1.2"/>
+ <property name="jwsdl.version.underscore" value="1_2"/>
+ <property name="qname.version" value="1.0"/>
+ <property name="year" value="2003,2006"/>
+
+ <property name="build.compiler" value="classic"/>
+ <property name="debug" value="off"/>
+
+ <property name="src.dir" value="./src"/>
+ <property name="docs.dir" value="./doc"/>
+
+ <property name="packages"
+ value="javax.*,
+ com.ibm.wsdl.*"/>
+
+ <property name="build.file" value="build.xml"/>
+
+ <property name="build.dir" value="./build"/>
+ <property name="build.dest" value="./build/classes"/>
+ <property name="build.lib" value="./build/lib"/>
+ <property name="build.javadocs" value="./build/javadocs"/>
+
+ <property name="dist.dir.root" value="./dist"/>
+ <property name="dist.dir.name"
+ value="${name}-${wsdl4j.version.underscore}"/>
+ <property name="dist.dir"
+ value="${dist.dir.root}/${dist.dir.name}"/>
+ <property name="dist.bin.file"
+ value="${dist.dir.root}/${name}-bin-${wsdl4j.version}"/>
+ <property name="dist.src.file"
+ value="${dist.dir.root}/${name}-src-${wsdl4j.version}"/>
+
+ <property name="change.log.start.date" value="21 March 2003"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Prepares the build directory -->
+ <!-- =================================================================== -->
+ <target name="prepare" depends="init">
+ <mkdir dir="${build.dir}"/>
+
+ <available property="junit.present" classname="junit.framework.TestCase"/>
+
+ <uptodate property="javadoc.required"
+ targetfile="${build.lib}/${name}.jar">
+ <srcfiles dir="${build.dir}" includes="**/*.html"/>
+ </uptodate>
+
+ <antcall target="checkDependencies"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Warn the user about missing resources -->
+ <!-- =================================================================== -->
+ <target name="checkJUnit" unless="junit.present">
+ <echo message="Warning: JUnit dependencies were not resolved."/>
+ </target>
+ <target name="checkDependencies">
+ <antcall target="checkJUnit"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Source files to be compiled -->
+ <!-- =================================================================== -->
+ <patternset id="javac.source.files">
+ <include name="javax/wsdl/**/*.java"/>
+ <include name="javax/xml/**/*.java"/>
+ <include name="com/ibm/wsdl/**/*.java"/>
+ </patternset>
+
+ <!-- =================================================================== -->
+ <!-- Compiles the source directory -->
+ <!-- =================================================================== -->
+ <target name="compile" depends="prepare">
+ <mkdir dir="${build.dest}"/>
+ <javac srcdir="${src.dir}" destdir="${build.dest}" debug="${debug}">
+ <patternset refid="javac.source.files"/>
+ </javac>
+
+ <mkdir dir="${build.lib}"/>
+ <jar jarfile="${build.lib}/${name}.jar" basedir="${build.dest}">
+ <exclude name="javax/xml/**"/>
+
+ <manifest>
+ <attribute name="Specification-Title" value="JWSDL"/>
+ <attribute name="Specification-Version" value="${jwsdl.version}"/>
+ <attribute name="Specification-Vendor"
+ value="IBM (Java Community Process)"/>
+ <attribute name="Implementation-Title" value="WSDL4J"/>
+ <attribute name="Implementation-Version" value="${wsdl4j.version}"/>
+ <attribute name="Implementation-Vendor" value="IBM"/>
+ </manifest>
+ </jar>
+
+ <jar jarfile="${build.lib}/qname.jar" basedir="${build.dest}">
+ <include name="javax/xml/**/*.class"/>
+
+ <manifest>
+ <attribute name="Specification-Title" value="QName"/>
+ <attribute name="Specification-Version" value="${qname.version}"/>
+ <attribute name="Implementation-Title" value="WSDL4J"/>
+ <attribute name="Implementation-Version" value="${wsdl4j.version}"/>
+ <attribute name="Implementation-Vendor" value="IBM"/>
+ </manifest>
+ </jar>
+
+ <uptodate property="javadoc.required"
+ targetfile="${build.lib}/${name}.jar">
+ <srcfiles dir="${build.dir}" includes="**/*.html"/>
+ </uptodate>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the JWSDL API documentation -->
+ <!-- =================================================================== -->
+ <target name="jwsdl_docs" depends="prepare">
+ <mkdir dir="${build.dir}/jwsdl-api-${jwsdl.version.underscore}"/>
+ <javadoc packagenames="javax.*"
+ sourcepath="${src.dir}"
+ destdir="${build.dir}/jwsdl-api-${jwsdl.version.underscore}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="JWSDL API"
+ doctitle="JWSDL"
+ breakiterator="yes"
+ />
+
+ <mkdir dir="${dist.dir.root}/"/>
+ <zip zipfile="${dist.dir.root}/jwsdl-api-${jwsdl.version}.zip"
+ basedir="${build.dir}/">
+ <include name="jwsdl-api-${jwsdl.version.underscore}/**"/>
+ </zip>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the API documentation -->
+ <!-- =================================================================== -->
+ <target name="javadocs" depends="prepare">
+ <mkdir dir="${build.javadocs}"/>
+ <javadoc packagenames="${packages}"
+ sourcepath="${src.dir}"
+ destdir="${build.javadocs}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${Name} API"
+ doctitle="${Name}"
+ breakiterator="yes"
+ bottom="Copyright &#169; ${year} IBM. All Rights Reserved."
+ />
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the API documentation if necessary -->
+ <!-- =================================================================== -->
+ <target name="javadocsIfRequired" if="javadoc.required" depends="prepare">
+ <antcall target="javadocs"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the binary distribution -->
+ <!-- =================================================================== -->
+ <target name="dist" depends="compile, javadocsIfRequired">
+ <delete dir="${dist.dir}"/>
+
+ <copy todir="${dist.dir}/docs/api">
+ <fileset dir="${build.javadocs}"/>
+ </copy>
+ <copy todir="${dist.dir}/lib">
+ <fileset dir="${build.lib}"/>
+ </copy>
+
+ <copy todir="${dist.dir}/docs">
+ <fileset dir="${docs.dir}">
+ <include name="*.html"/>
+ </fileset>
+ <filterset>
+ <filter token="version" value="${wsdl4j.version.underscore}"/>
+ </filterset>
+ </copy>
+
+ <copy tofile="${dist.dir}/docs/spec/jsr110-1.2.pdf">
+ <fileset dir="${docs.dir}">
+ <include name="spec/maint_rel_1.2/jsr110-1.2.pdf"/>
+ </fileset>
+ </copy>
+
+ <copy file="license.html" tofile="${dist.dir}/license.html"/>
+ <copy file="readme.txt" tofile="${dist.dir}/readme.txt"/>
+
+ <!-- ================================================================= -->
+ <!-- Produces the zip file -->
+ <!-- ================================================================= -->
+ <zip zipfile="${dist.bin.file}.zip" basedir="${dist.dir.root}/">
+ <include name="${dist.dir.name}/**"/>
+ </zip>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the source distribution -->
+ <!-- =================================================================== -->
+ <target name="srcdist" depends="init">
+ <delete dir="${dist.dir}"/>
+
+ <copy todir="${dist.dir}/src">
+ <fileset dir="${src.dir}">
+ <patternset refid="javac.source.files"/>
+ </fileset>
+ </copy>
+
+ <copy file="license.html" tofile="${dist.dir}/license.html"/>
+ <copy file="${build.file}" tofile="${dist.dir}/${build.file}"/>
+
+ <!-- ================================================================= -->
+ <!-- Produces the zip file -->
+ <!-- ================================================================= -->
+ <zip zipfile="${dist.src.file}.zip" basedir="${dist.dir.root}/">
+ <include name="${dist.dir.name}/**"/>
+ </zip>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Cleans everything -->
+ <!-- =================================================================== -->
+ <target name="clean" depends="init">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir.root}"/>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Run's WSDL4J through the JWSDL TCK -->
+ <!-- =================================================================== -->
+ <target name="test" depends="compile" if="junit.present">
+ <junit printsummary="on">
+ <sysproperty key="jwsdltck_home" value="./test"/>
+ <sysproperty key="javax.wsdl.factory.WSDLFactoryCandidate"
+ value="com.ibm.wsdl.factory.WSDLFactoryImpl"/>
+
+ <classpath>
+ <pathelement location="${build.lib}/${name}.jar"/>
+ <pathelement location="${build.lib}/qname.jar"/>
+ <pathelement location="test/lib/jwsdltck.jar"/>
+ </classpath>
+
+ <formatter type="plain"/>
+
+ <test name="com.ibm.wsdl.tck.JWSDLTestSuite"
+ todir="./test"/>
+ </junit>
+ </target>
+
+ <!-- =================================================================== -->
+ <!-- Creates the Change Log -->
+ <!-- =================================================================== -->
+ <target name="changelog" depends="init">
+ <mkdir dir="${build.dir}"/>
+
+ <cvschangelog destfile="${build.dir}/changelog.xml"
+ start="${change.log.start.date}">
+ <user displayname="John Kaputin"
+ userid="kaputin"/>
+ </cvschangelog>
+
+ <style in="${build.dir}/changelog.xml"
+ out="${build.dir}/changelog.html"
+ style="${docs.dir}/cvschangelog.xsl">
+ <param name="title" expression="WSDL4J ChangeLog"/>
+ <param name="module" expression="wsdl4j"/>
+ <param name="cvsweb"
+ expression="http://cvs.sourceforge.net/viewcvs.py/wsdl4j/"/>
+ <param name="date" expression="${TODAY}"/>
+ </style>
+ </target>
+</project>
Oops, something went wrong.

0 comments on commit 09c4aab

Please sign in to comment.