ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nagarajan Murugesan <NMURUGE...@Selectica.com>
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"
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

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