SHA256
1
0
forked from pool/ant-contrib
ant-contrib/ant-contrib-antservertest.patch
Michal Vyskocil 87447dd655 - upgrade to 1.0b3
* no upstream changelog available
- removed patches:
  * ant-contrib-1.0b2-enable-for-task.patch
    there is no for task in beta3
  * ant-contrib-ant-1.7.0.patch
    no longer needed
  * ant-contrib-build_xml.patch
    fixed upstream
- added patches:
  * ant-contrib-antservertest.patch
  * ant-contrib-pom.patch
  * local-ivy.patch
- add pom file
- add ant.d configuration

OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant-contrib?expand=0&rev=14
2013-11-06 14:23:51 +00:00

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>