|
77 | 77 | <arg line="-src target/xmlbeans-src -d target/classes test-resources/xsd/type-test.xsd"/> |
78 | 78 | </java> |
79 | 79 |
|
| 80 | + <!-- codegen for the enterprise wsdl --> |
| 81 | + <ant:echo>Running codegen for Enterprise WSDL - take 1</ant:echo> |
| 82 | + <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> |
| 83 | + <classpath refid="maven.dependency.classpath"/> |
| 84 | + <arg line="-d xmlbeans -o target/enterprise-test1 -s -uri test-resources/enterprise.wsdl"/> |
| 85 | + </java> |
| 86 | + <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test1" |
| 87 | + target="jar.client"/> |
| 88 | + |
| 89 | + <ant:echo>Running codegen for Enterprise WSDL - take 2</ant:echo> |
| 90 | + <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> |
| 91 | + <classpath refid="maven.dependency.classpath"/> |
| 92 | + <arg line="-o target/enterprise-test2 -s -uri test-resources/enterprise.wsdl"/> |
| 93 | + </java> |
| 94 | + <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test2" |
| 95 | + target="jar.client"/> |
| 96 | + |
| 97 | + |
| 98 | + <ant:echo>Running codegen for Enterprise WSDL - take 3</ant:echo> |
| 99 | + <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> |
| 100 | + <classpath refid="maven.dependency.classpath"/> |
| 101 | + <arg line="-d xmlbeans -ss -sd -g -o target/enterprise-test3 -s -uri test-resources/enterprise.wsdl"/> |
| 102 | + </java> |
| 103 | + <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test3" |
| 104 | + target="jar.server"/> |
| 105 | + |
| 106 | + <ant:echo>Running codegen for Enterprise WSDL - take 4</ant:echo> |
| 107 | + <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> |
| 108 | + <classpath refid="maven.dependency.classpath"/> |
| 109 | + <arg line="-ns2p urn:sobject.enterprise.soap.sforce.com,com.salesforce -d xmlbeans -ss -sd -g -o target/enterprise-test4 -s -uri test-resources/enterprise.wsdl"/> |
| 110 | + </java> |
| 111 | + <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test4" |
| 112 | + target="jar.server"/> |
80 | 113 | </preGoal> |
81 | 114 |
|
82 | 115 | <postGoal name="test:compile"> |
|
0 commit comments