If I try to use antremote task using ant-1.8.1+ and ant-contrib1.0b3, I get an exception :
BUILD FAILED
INFO | jvm 1 | 2011/06/20 15:37:00 | E:\dev\workspaces\pearson\successmaker\trunk\AntServer\AntServer-Export\AntServer\server.xml:20: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
If I change ant version to 1.8.0 , I do not get this error.
Please find server.xml file attached , to reproduce this issue.
1. Start the ant agent
ant -f server.xml start
2. Stop the ant agent
ant -f server.xml stop
(YOu will see the exception , when you try to stop the agent. Even when I try to invoke remote targets, I still get the same issue.)
Java : 1.6.0_26-b03 (64 bit)
OS : Windows 7
Ant : 1.8.1/1.8.2
Sample xml to reproduce the problem
Full exception trace