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/10/25 11:55:12 UTC

svn commit: r1027017 - /tuscany/sca-java-1.x/trunk/samples/helloworld-ws-sdo/build.xml

Author: nash
Date: Mon Oct 25 09:55:12 2010
New Revision: 1027017

URL: http://svn.apache.org/viewvc?rev=1027017&view=rev
Log:
Merge r998328 Add missing code generation to build.xml file

Modified:
    tuscany/sca-java-1.x/trunk/samples/helloworld-ws-sdo/build.xml

Modified: tuscany/sca-java-1.x/trunk/samples/helloworld-ws-sdo/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/samples/helloworld-ws-sdo/build.xml?rev=1027017&r1=1027016&r2=1027017&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/samples/helloworld-ws-sdo/build.xml (original)
+++ tuscany/sca-java-1.x/trunk/samples/helloworld-ws-sdo/build.xml Mon Oct 25 09:55:12 2010
@@ -52,6 +52,20 @@
 
             <classpath refid="project.classpath"/>
         </java>
+        <java classname="org.apache.tuscany.sdo.generate.XSD2JavaGenerator" fork="true">
+            <arg value="-targetDirectory"/>
+            <arg value="target/sdo-source"/>
+            <arg value="-javaPackage"/>
+            <arg value="model.sdo"/>
+            <arg value="-prefix"/>
+            <arg value="Entity"/>
+            <arg value="-noNotification"/>
+            <arg value="-noContainment"/>
+            <arg value="-noUnsettable"/>
+            <arg value="src/main/resources/test.xsd"/>
+
+            <classpath refid="project.classpath"/>
+        </java>
     </target>
 
     <target name="compile" depends="init, generate-sdo">