[Webtest] Issue when using "sshexec" with webtest

Srinivasa Rao Valluru webtest@lists.canoo.com
Fri, 10 Nov 2006 17:57:19 +0530

Hi Anybody,

   I am seeing the below error message when I am using "sshexec" in a
webtest script.

Note: It worked well when used "exec".

Please let us know what to do to proceed further.



: Could not create task or type of type: sshexec.

     [java] Ant could not find the task or a class this task relies upon.

     [java] This is common and has a number of causes; the usual
     [java] solutions are to read the manual pages then download and
     [java] install needed JAR files, or fix the build file:
     [java]  - You have misspelt 'sshexec'.
     [java]    Fix: check your spelling.
     [java]  - The task needs an external JAR file to execute
     [java]      and this is not found at the right place in the classpath.
     [java]    Fix: check the documentation for dependencies.
     [java]    Fix: declare the task.
     [java]  - The task is an Ant optional task and the JAR file and/or
     [java]      implementing the functionality were not found at the
time you
     [java]      yourself built your installation of Ant from the Ant
     [java]    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR
corresponding to the
     [java]      task and make sure it contains more than merely a
     [java]      If all it contains is the manifest, then rebuild Ant
with the needed
     [java]      libraries present in ${ant.home}/lib/optional/ , or
     [java]      download a pre-built release version from apache.org
     [java]  - The build file was written for a later version of Ant
     [java]    Fix: upgrade to at least the latest release version of Ant
     [java]  - The task is not an Ant core or optional task
     [java]      and needs to be declared using <taskdef>.
     [java]  - You are attempting to use a task defined using
     [java]     <presetdef> or <macrodef> but have spelt wrong or not
     [java]    defined it at the point of use

     [java] Remember that for JAR files to be visible to Ant tasks
     [java] in ANT_HOME/lib, the files must be in the same directory or
on the
     [java] classpath

     [java] Please neither file bug reports on this problem, nor email the
     [java] Ant mailing lists, until all of these causes have been explored,
     [java] as this is not an Ant bug.

     [java] Total time: 5 seconds
     [java] Java Result: 1