You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by de...@apache.org on 2007/07/05 10:33:30 UTC

svn commit: r553416 - /webservices/axis2/trunk/java/modules/fastinfoset/maven.xml

Author: deepal
Date: Thu Jul  5 01:33:29 2007
New Revision: 553416

URL: http://svn.apache.org/viewvc?view=rev&rev=553416
Log:
oops , I have done a mistake. Now we generate stub correctly 

Modified:
    webservices/axis2/trunk/java/modules/fastinfoset/maven.xml

Modified: webservices/axis2/trunk/java/modules/fastinfoset/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/fastinfoset/maven.xml?view=diff&rev=553416&r1=553415&r2=553416
==============================================================================
--- webservices/axis2/trunk/java/modules/fastinfoset/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/fastinfoset/maven.xml Thu Jul  5 01:33:29 2007
@@ -52,13 +52,25 @@
     		</ant:classpath>
     		<ant:arg line="-o target/test-classes -of SimpleAddService.wsdl -efd unqualified -cn org.apache.axis2.fastinfoset.SimpleAddService"/>
     	</ant:java>
-    	<!-- Let's Generate the client stub -->
-    	<ant:java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-    		<ant:classpath>
-    			<ant:path refid="maven.dependency.classpath"/>
-    			<ant:pathelement location="target/test-classes"/>
-    		</ant:classpath>
-   		    <ant:arg line="-uri target/test-classes/SimpleAddService.wsdl -o test -S . -or"/>
-    	</ant:java>
+        <!-- compiling some custom wsdl files -->
+        <j:set var="wsdl.source.dir" value="test-resources/wsdl"/>
+        <j:set var="wsdl.output.base.dir" value="target/wsdl"/>
+        <!-- make the dirs -->
+        <mkdir dir="${wsdl.output.base.dir}"/>
+
+       <ant:echo>Compiling SimpleAddService.wsdl</ant:echo>
+        <mkdir dir="${wsdl.output.base.dir}/simpleAddService"/>
+        <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+            <jvmarg line="${maven.junit.jvmargs}"/>
+            <classpath refid="maven.dependency.classpath"/>
+            <classpath location="${compiled.classes.dir}"/>
+            <ant:arg line="-uri target/test-classes/SimpleAddService.wsdl -o target/wsdl/simpleAddService -S . -or"/>
+        </java>
+        <javac destdir="target/classes" debug="on">
+            <jvmarg line="${maven.junit.jvmargs}"/>
+            <classpath refid="maven.dependency.classpath"/>
+            <classpath location="${compiled.classes.dir}"/>
+            <src path="target/wsdl/simpleAddService"/>
+        </javac>
     </preGoal>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org