[Webtest] RE: Playback

Archit P webtest@lists.canoo.com
Thu, 14 Jul 2005 20:18:06 +0530


Hi Meghanath,

This is a classpath issue. Ant is not able to find ant-contrib jar file.
Please find out why it's not able to find the ant-contrib jar file.
Insure that the ant-contrib jar is in theWebTest\lib folder of the
WebTest from which you are running your WebTest script.=20
=20
Hope you have checked the reporting module submitted by us on the
webtest community site.

Regards,
Archit


-----Original Message-----
From: Chintakrindi Meghanath [mailto:Meghanath@NextLinx.com]=20
Sent: Thursday, July 14, 2005 7:59 PM
To: webtest@lists.canoo.com
Subject: [Webtest] RE: Playback



Hi Archit

The following is the Stack Trace.

I:\Program Files\Calypso\Calypso\WebTest>ant -f MarsSimp.xml
Buildfile: MarsSimp.xml
Trying to override old definition of task sleep
  [taskdef] Could not load definitions from resource
net/sf/antcontrib/antcontri b.properties. It could not be found.

generateReport:

BUILD FAILED
I:\Program Files\Calypso\Calypso\WebTest\MarsSimp.xml:92: Could not
create task or type of type: trycatch.

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

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

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

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

Thanks
Meghanath

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest



MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that =
of Mastek Limited, unless specifically indicated to that effect. Mastek Lim=
ited does not accept any responsibility or liability for it. This e-mail an=
d attachments (if any) transmitted with it are confidential and/or privileg=
ed and solely for the use of the intended person or entity to which it is a=
ddressed. Any review, re-transmission, dissemination or other use of or tak=
ing of any action in reliance upon this information by persons or entities =
other than the intended recipient is prohibited. This e-mail and its attach=
ments have been scanned for the presence of computer viruses. It is the res=
ponsibility of the recipient to run the virus check on e-mails and attachme=
nts before opening them. If you have received this e-mail in error, kindly =
delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~