You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by avenger <sa...@gmail.com> on 2011/06/02 15:17:57 UTC

Remote ant - java.io.EOFException when run

my build.xml file in local

<project name="test" default="remotecalls">
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${ant.home}/lib/ant-contrib.jar"/>
</classpath>
</taskdef>
<target name="remotecalls">
<remoteant machine="10.18.120.102" port="17000">
<runtarget target="remotecall">
</runtarget>
</remoteant>
</target>
</project>

when i run the ant, the remote call is made to the remote server and target
is executed on the remote box, but i get a java.io.EOFException with BUILD
FAILED message on my local

 java.io.EOFException
        at
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputSt
ream.java:2552)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
        at
net.sf.antcontrib.antserver.client.Client.sendCommand(Client.java:233
)
        at
net.sf.antcontrib.antserver.client.ClientTask.execute(ClientTask.java
:144)

have anyone run into this issue earlier? 
please help me out

--
View this message in context: http://ant.1045680.n5.nabble.com/Remote-ant-java-io-EOFException-when-run-tp4448092p4448092.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org