ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artemis Ozten" <>
Subject RE: using telnet in ant 1.6.1
Date Wed, 05 May 2004 22:58:51 GMT
I downloaded commons-net-1.2.0.jar and jakarta-oro-2.0.8.jar to
ANT_HOME/lib folder and everything worked. Thank you.

Additional information: The ant failed one more time because it could
not find task "foreach" in ant 1.6.1 libraries.

To get that working; I downloaded ant-contrib-0.6.jar from
and copied it to $ANT_HOME/lib directory.

Now, "foreach" task is working also. Hope this info helps someone.

-----Original Message-----
From: [] 
Sent: Wednesday, May 05, 2004 11:39 AM
Subject: RE: using telnet in ant 1.6.1

The optional.jar has been replaced with ant-xyz.jars (xyz stands for the
external lib/jar)
in 1.6.1. So I reckon you dont need the optional.jar in 1.6.1. Instead
add two more jars to it.
They are commons-net-1.1.0.jar(1.2.0 is the latest)and
jakart-oro-2.0.8.jar. Then try out. 
You can find the jar binaries at 


> -----Original Message-----
> From: Conelly, Luis (GNF, Contractor) []
> Sent: 05 May 2004 19:26
> To: Ant Users List
> Subject: RE: using telnet in ant 1.6.1
> With ant 1.6.1 you need new libraries... see
> Be aware of comments in 
> Regards, 
> Luis
> -----Original Message-----
> From: Artemis Ozten []
> Sent: Wednesday, May 05, 2004 1:24 PM
> To:
> Subject: using telnet in ant 1.6.1
> I have been using ant 1.5.4 and telnet task just fine in MS Windows. I
> upgraded to ANT 1.6.1 and my telnet task fails:
> C:\dev\build\remoteTarget.xml:207: Could not create task or 
> type of typo
> Ant could not find the task or a class this task relies upon.
> This is common and has a number of causes; the usual
> solutions are to read the manual pages then download and
> install needed JAR files, or fix the build file:
>  - You have misspelt 'telnet'.
>    Fix: check your spelling.
>  - The task needs an external JAR file to execute
>    and this is not found at the right place in the classpath.
>    Fix: check the documentation for dependencies.
>    Fix: declare the task.
>  - The task is an Ant optional task and optional.jar is absent
>    Fix: look for optional.jar in ANT_HOME/lib, download if needed
> ............................
> ......................
> I copied optional.jar and netComponents.jar to ANT_HOME/lib but result
> did not change. The jars are old as ANT 1.5.4. Would that matter? Or
> Should I declare the task too? 
> Thanks for any insight you may offer,
> Artemis
> This e-mail may contain confidential, proprietary information on
>, Inc.  It is intended solely for the name recipient(s)
> listed above and should be maintained in strictest confidence.  If you
> are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution, or use of the information contained
> herein (including any reliance thereon) is STRICTLY 
> have received this e-mail in error, please immediately notify 
> the sender
> at and delete this information from your computer and destroy any
> related paper copies.
> .

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

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

View raw message