ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Youngquist" <>
Subject ANT telnet question
Date Tue, 24 Jul 2001 20:01:24 GMT

	I am trying use the optional task "telnet" and I get the following build
error below when I try process the following build.xml file.  Note: the
optional.tar file exists in the ant/lib directory and ANT_HOME is set
correctly.  (I dumped the LOCALCLASSPATH before the ant script invoked ant.)
Any clues as to what I need to do to get this working?  I am using Ant 1.3
and optional.jar 1.3.



  <target name="telnet1">
   <telnet server="ws1" userid="uid" password="passwd">
     <read string="%"/>
     <read string="%"/>

ant telnet1


.../samples/ant/ant_again/test2/build.xml:26: Could not create task of type:
telnet. Common solutions are to use taskdef to declare your task, or, if
this is an optional task, to put the optional.jar in the lib directory of
your ant installation (ANT_HOME).

Total time: 1 second



View raw message