ALT Linux repos
S: | 1.0-alt5_0.36.b3jpp11 |
5.0: | 1.0-alt4_0.b3.1jpp5 |
4.1: | 1.0-alt3_0.b2.2jpp1.7 |
4.0: | 1.0-alt3_0.b2.2jpp1.7 |
Group :: Development/Java
RPM: ant-contrib
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: ant-contrib-antservertest.patch
Download
Download
--- 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>