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"
classname="com.kasisoft.ant.interactive.Interactive"/>
and for <foreach> task
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />

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.

Thanks,
Nagarajan

Reply via email to