You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/11/29 19:10:59 UTC

svn commit: r480665 - /webservices/axis/trunk/c/build/executeTest.xml

Author: nadiramra
Date: Wed Nov 29 10:10:58 2006
New Revision: 480665

URL: http://svn.apache.org/viewvc?view=rev&rev=480665
Log:
executeTest.xml should not do monitor flush if monitor is not up.

Modified:
    webservices/axis/trunk/c/build/executeTest.xml

Modified: webservices/axis/trunk/c/build/executeTest.xml
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/build/executeTest.xml?view=diff&rev=480665&r1=480664&r2=480665
==============================================================================
--- webservices/axis/trunk/c/build/executeTest.xml (original)
+++ webservices/axis/trunk/c/build/executeTest.xml Wed Nov 29 10:10:58 2006
@@ -85,8 +85,7 @@
 		<property name="clientArgs" value="" />
 	</target>
 
-	<target name="setForMonitor" if="test.endpoint"
-		unless="test.nomonitor">
+	<target name="setForMonitor" if="test.endpoint"	unless="test.nomonitor">
 		<propertyregex property="protocol" input="${test.endpoint}"
 			regexp="(.*)://" select="\1" />
 
@@ -221,8 +220,7 @@
 				<if>
 					<equals arg1="${mockServer}" arg2="true" />
 					<then>
-						<antcall target="startMockServer"
-							inheritall="true" />
+						<antcall target="startMockServer" inheritall="true" />
 					</then>
 				</if>
 
@@ -232,9 +230,7 @@
 				<!-- Run the client test -->
 				<stopwatch name="${test.name}.timer" action="start" />
 				<if>
-					<not>
-						<isset property="test.timeout"/>
-					</not>
+					<not> <isset property="test.timeout"/>	</not>
 					<then>
 						<property name="test.timeout" value="120000"/>
 					</then>
@@ -249,7 +245,11 @@
 				<echo
 					message="${test.name} - Execution Time - ${timer1}" />
 
-				<monitor flush="true"/>
+		        <if>
+		            <isfalse value="${test.nomonitor}" />
+		            <then> <monitor flush="true" /> </then>
+		        </if>				
+
 			</try>
 			<catch>
 				<echo



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