axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r395837 - /webservices/axis2/trunk/java/modules/integration/maven.xml
Date Fri, 21 Apr 2006 10:30:34 GMT
Author: ruchithf
Date: Fri Apr 21 03:30:30 2006
New Revision: 395837

URL: http://svn.apache.org/viewcvs?rev=395837&view=rev
Log:
skipping the enterprise.wsdl codegen stuff when we do maven.test.skip=true

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

Modified: webservices/axis2/trunk/java/modules/integration/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/maven.xml?rev=395837&r1=395836&r2=395837&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/integration/maven.xml Fri Apr 21 03:30:30 2006
@@ -50,8 +50,6 @@
                   location="target/perf/build/lib/PerfSoapService-test-client.jar"/>
         
         <maven:addPath id="maven.dependency.classpath" refid="samples.wsdl.perf.client.jar"/>
-        <!-- $$$$$$$$$$$$$$$$$$$$$$$$$$$ -->
-		<ant:echo>${maven.dependency.classpath}</ant:echo>
         <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
             <classpath refid="maven.dependency.classpath"/>
             <arg line="-d adb -p samples.wsdl.perf2 -o target/perf2 -s -t -ss -sd -g -uri
test/samples/wsdl/perf2/perf.wsdl"/>
@@ -77,39 +75,41 @@
             <arg line="-src target/xmlbeans-src -d target/classes test-resources/xsd/type-test.xsd"/>
         </java>
 
-	<!-- codegen for the enterprise wsdl -->
-	<ant:echo>Running codegen for Enterprise WSDL - take 1</ant:echo>
-        <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-            <classpath refid="maven.dependency.classpath"/>
-            <arg line="-d xmlbeans -o target/enterprise-test1 -s -uri test-resources/enterprise.wsdl"/>
-        </java>
-	 <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test1"
-                 target="jar.client"/>
-
-	<ant:echo>Running codegen for Enterprise WSDL - take 2</ant:echo>
-        <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-            <classpath refid="maven.dependency.classpath"/>
-            <arg line="-o target/enterprise-test2 -s -uri test-resources/enterprise.wsdl"/>
-        </java>
-	 <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test2"
-                 target="jar.client"/>
-
-	
-	<ant:echo>Running codegen for Enterprise WSDL - take 3</ant:echo>
-        <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-            <classpath refid="maven.dependency.classpath"/>
-            <arg line="-d xmlbeans -ss -sd -g -o target/enterprise-test3 -s -uri test-resources/enterprise.wsdl"/>
-        </java>
-	 <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test3"
-                 target="jar.server"/>
-
-	<ant:echo>Running codegen for Enterprise WSDL - take 4</ant:echo>
-        <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-            <classpath refid="maven.dependency.classpath"/>
-            <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"/>
-        </java>
-	 <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test4"
-                 target="jar.server"/>
+        <j:if test="${context.getVariable('maven.test.skip') != 'true'}">
+			<!-- codegen for the enterprise wsdl -->
+			<ant:echo>Running codegen for Enterprise WSDL - take 1</ant:echo>
+				<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+					<classpath refid="maven.dependency.classpath"/>
+					<arg line="-d xmlbeans -o target/enterprise-test1 -s -uri test-resources/enterprise.wsdl"/>
+				</java>
+			 <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test1"
+						 target="jar.client"/>
+		
+			<ant:echo>Running codegen for Enterprise WSDL - take 2</ant:echo>
+				<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+					<classpath refid="maven.dependency.classpath"/>
+					<arg line="-o target/enterprise-test2 -s -uri test-resources/enterprise.wsdl"/>
+				</java>
+			 <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test2"
+						 target="jar.client"/>
+		
+			
+			<ant:echo>Running codegen for Enterprise WSDL - take 3</ant:echo>
+				<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+					<classpath refid="maven.dependency.classpath"/>
+					<arg line="-d xmlbeans -ss -sd -g -o target/enterprise-test3 -s -uri test-resources/enterprise.wsdl"/>
+				</java>
+			 <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test3"
+						 target="jar.server"/>
+		
+			<ant:echo>Running codegen for Enterprise WSDL - take 4</ant:echo>
+				<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+					<classpath refid="maven.dependency.classpath"/>
+					<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"/>
+				</java>
+			 <ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test4"
+						 target="jar.server"/>
+        </j:if>
     </preGoal>
 
     <postGoal name="test:compile">



Mime
View raw message