You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2010/05/20 00:03:12 UTC

svn commit: r946443 - in /tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python: build.xml pom.xml src/main/resources/EmailGateway.wsdl

Author: nash
Date: Wed May 19 22:03:11 2010
New Revision: 946443

URL: http://svn.apache.org/viewvc?rev=946443&view=rev
Log:
Merge revision r945295 from 1.0 release branch

Added:
    tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/src/main/resources/EmailGateway.wsdl
      - copied unchanged from r945295, tuscany/sca-java-1.x/branches/sca-java-travelsample-1.0/launchers/payment-python/src/main/resources/EmailGateway.wsdl
Modified:
    tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/build.xml
    tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/pom.xml

Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/build.xml?rev=946443&r1=946442&r2=946443&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/build.xml (original)
+++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/build.xml Wed May 19 22:03:11 2010
@@ -25,6 +25,12 @@
     <property name="package-path" value="../util/scatours-util-launcher-common.jar"/>
 
     <target name="wsdljava">
+        <!-- Include the Java classes for EmailGateway in this jar file as a workaround for TUSCANY-3557. -->
+        <antcall target="wsimport">
+            <param name="wsdlfile" value="EmailGateway.wsdl"/>
+            <param name="javaclass" value="com/tuscanyscatours/emailgateway/EmailGateway.class"/>
+            <param name="package" value="com.tuscanyscatours.emailgateway"/>
+        </antcall>
         <antcall target="wsimport">
             <param name="wsdlfile" value="Payment.wsdl"/>
             <param name="javaclass" value="com/tuscanyscatours/payment/Payment.class"/>

Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/pom.xml?rev=946443&r1=946442&r2=946443&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/pom.xml (original)
+++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/launchers/payment-python/pom.xml Wed May 19 22:03:11 2010
@@ -142,6 +142,25 @@
                             <xnocompile>true</xnocompile>
                         </configuration>
                     </execution>
+                    <!-- Include the Java classes for EmailGateway in this jar file as a workaround for TUSCANY-3557. -->
+                    <execution>
+                        <id>emailgateway</id>
+                        <phase>process-sources</phase>
+                        <goals>
+                            <goal>wsimport</goal>
+                        </goals>
+                        <configuration>
+                            <packageName>com.tuscanyscatours.emailgateway</packageName>
+                            <wsdlDirectory>${basedir}/src/main/resources</wsdlDirectory>
+                            <wsdlFiles>
+                                <wsdlFile>EmailGateway.wsdl</wsdlFile>
+                            </wsdlFiles>
+                            <sourceDestDir>${project.build.directory}/jaxws-source</sourceDestDir>
+                            <staleFile>${project.build.directory}/jaxws-source/stale/emailgateway.stale</staleFile>
+                            <verbose>false</verbose>
+                            <xnocompile>true</xnocompile>
+                        </configuration>
+                    </execution> 
                 </executions>
             </plugin>
             <plugin>