ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avery Marvin R <>
Subject Heed help with telnet task
Date Wed, 29 Oct 2003 17:08:25 GMT
First off, let me say that I'm new to ant and java.

When I invoke the telnet task using the following script -

		<telnet server="${install_server}" userid="${userid}"
		<read  string="C:\>"/>
		<write string="${cmd.base} ${install_server}
${cmd.server.option} ${server_name} ${}"/>
		<read  timeout="180" string="UnManagedProcess"/>
		<read  string="C:\>"/>
		<write string="exit"/>

I don't get past the first line. I get the following error -

Could not load a dependent class (org/apache/commons/net/SocketClient) for
type telnet

The SocketClient class in my NetComponents.jar file is
com/orinc/net/SocketClient, which
I believe is the problem. How do I correct this? Thanks in advance.

PS: The script works fine in Eclipse!!???

Marvin Avery

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message