ant-contrib/ant-contrib-antservertest.patch

28 lines
1017 B
Diff

--- test/resources/antserver/antservertest.xml.orig 2005-02-03 19:04:11.000000000 -0500
+++ test/resources/antserver/antservertest.xml 2006-06-01 11:57:05.000000000 -0400
@@ -3,8 +3,8 @@
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
- <property name="server.host" value="localhost" />
- <property name="server.port" value="17000" />
+ <property name="server.host" value="127.0.0.1" />
+ <property name="server.port" value="23456" />
<target name="default">
</target>
@@ -124,11 +124,11 @@
<try>
<antcall target="${test.target}" />
</try>
- <finally>
+ <catch>
<remoteant machine="${server.host}" port="${server.port}">
<shutdown />
</remoteant>
- </finally>
+ </catch>
</trycatch>
</sequential>
</parallel>