ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nagarajan Murugesan <>
Subject <taskdef> definition for telnet and ftp task
Date Thu, 14 Aug 2003 18:40:26 GMT

Hai all,

Thanks for your help.
I still found my script is not working. It throwing the same error.

Could not create task or type of type: telnet.
Ant could not find the task or a class this task relies upon.

So it is clear that the problem is not in the jar file. it is some where
in the class path.

Usually when we use the optional task we specify the <taskdef>
for example for interactive
<taskdef name="interactive"
and for <foreach> task
<taskdef resource="net/sf/antcontrib/" />

like that, what will the taskdef and class path for <telnet> and <ftp>
actions.Because we are using the external jars. That will solve my problem.


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