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/19 23:37:10 UTC

svn commit: r946412 - /tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml

Author: nash
Date: Wed May 19 21:37:09 2010
New Revision: 946412

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

Modified:
    tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml

Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml?rev=946412&r1=946411&r2=946412&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml (original)
+++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml Wed May 19 21:37:09 2010
@@ -151,14 +151,17 @@
         </condition>
     </target>
 
-    <!-- run the JDK wsimport command if available -->
+    <!-- run the JDK wsimport command if available, then compile the generated Java source -->
     <target name="#wsimport-jdk" if="#jdk-wsimport">
         <property name="#jaxws-tools-dir" value=""/>
         <mkdir dir="target/jaxws-source"/>
         <exec executable="${java.home}/../bin/wsimport" dir="." failonerror="true">
             <arg line="-keep -s ./target/jaxws-source -p ${package} 
-                       -d ./target/classes src/main/resources/${wsdlfile}"/>
+                       -Xnocompile src/main/resources/${wsdlfile}"/>
         </exec>
+        <javac destdir="target/classes" debug="true" source="1.5" target="1.5">
+            <src path="target/jaxws-source"/>
+        </javac>
     </target>
 
     <!-- If building a downloaded distribution, the JAX-WS jars are in lib/jaxws -->