ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Lochart" <>
Subject Re: Heed help with telnet task
Date Wed, 29 Oct 2003 17:21:44 GMT
You need to go get the commons-net package from Apache and put the jar in
your $ANT_HOME_/lib directory.  All optional tasks require 3rd party jars.


Now I've gained some understanding
Of the only world that we see.
Things that I once dreamed of
Have become reality.

These walls that still surround me
Still contain the same old me,
Just one more who's searching for
A world that ought to be.
----- Original Message ----- 
From: "Avery Marvin R" <>
To: "Ant Users List (E-mail)" <>
Sent: Wednesday, October 29, 2003 12:08 PM
Subject: Heed help with telnet task

> 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}"
> password="${password}">
> <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"/>
> </telnet>
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message