perryan 2005/03/18 04:25:48
Modified: c/build executeTest.xml
Log:
Added option to allow the endpoint properties to be passed verbatim to the
test client
Revision Changes Path
1.21 +7 -3 ws-axis/c/build/executeTest.xml
Index: executeTest.xml
===================================================================
RCS file: /home/cvs/ws-axis/c/build/executeTest.xml,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- executeTest.xml 17 Mar 2005 11:32:20 -0000 1.20
+++ executeTest.xml 18 Mar 2005 12:25:48 -0000 1.21
@@ -51,19 +51,23 @@
</target>
<target name="setForNoMonitor" depends="checkIfEndpointSet"
if="endpoint.ok">
- <propertyregex property="protocol" input="${test.endpoint}"
- regexp="(.*)://" select="\1"/>
<propertyregex property="restOfURL" input="${test.endpoint}"
regexp="://(.*)" select="\1"/>
+ <propertyregex property="protocol" input="${test.endpoint}"
+ regexp="(.*)://${restOfURL}" select="\1"/>
<propertyregex property="context" input="${restOfURL}"
regexp="/(.*)" select="\1"/>
<property name="clientArgs"
value="${protocol}://${testHost}:${testPort}/${context}"/>
</target>
- <target name="checkIfEndpointSet">
+ <target name="setVerbatim" if="test.verbatim">
+ <property name="clientArgs" value="${testHost} ${testPort}
${test.endpoint}"/>
+ </target>
+
+ <target name="checkIfEndpointSet" depends="setVerbatim">
<condition property="endpoint.ok">
<isset property="test.endpoint"/>
</condition>