#243 remoteant does not work with ant-contrib 1.0b3 and ant 1.8.1

open
nobody
None
5
2011-06-21
2011-06-21
Sukrit Khera
No

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

Discussion

  • Sukrit Khera
    Sukrit Khera
    2011-06-21

    Sample xml to reproduce the problem

     
    Attachments
  • Sukrit Khera
    Sukrit Khera
    2011-06-21

    Full exception trace

     
    Attachments