[Webtest] Problem with import data
Aditya Pinnali
Aditya Pinnali" <adityap1@KPITCummins.com
Fri, 19 Jan 2007 11:34:06 +0530
This is a multi-part message in MIME format.
------_=_NextPart_001_01C73B8F.9E484EC2
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Can any body pls...help me in solving this problem and successfully
import data from excel file..!
=20
I downloaded the MastekContrib.jar and importdata_src.zip files from
the site. What all are the things to be done after this...pls mention in
detail...I'm not able to find tht info in the site...!
=20
=20
BUILD FAILED
D:\canoo\tests\test3.xml:12: Canoo Webtest: R_1440.
Test failed.
Exception raised: com.canoo.webtest.engine.StepExecutionException:
Unexpected ex
ception caught: D:\canoo\tests\test3.xml:31: Could not create task or
type of ty
pe: importdata.
=20
Ant could not find the task or a class this task relies upon.
=20
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 'importdata'.
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
=20
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
=20
=20
=20
=20
=20
Thanks,
Aditya
------_=_NextPart_001_01C73B8F.9E484EC2
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Can any body pls…help me in solving this =
problem and
successfully import data from excel file..!<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I downloaded the <b><span =
style=3D'font-weight:bold'>MastekContrib.jar</span></b>
and <b><span style=3D'font-weight:bold'>importdata_src.zip</span></b> =
files
from the site. What all are the things to be done after this…pls =
mention
in detail…I’m not able to find tht info in the =
site…!<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>BUILD
FAILED<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>D:\canoo\tests\test3.xml:12:
Canoo Webtest: R_1440.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>Test
failed.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>Exception
raised: com.canoo.webtest.engine.StepExecutionException: Unexpected =
ex<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>ception
caught: D:\canoo\tests\test3.xml:31: Could not create task or type of =
ty<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>pe:
importdata.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><o:p> </o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>Ant
could not find the task or a class this task relies =
upon.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><o:p> </o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>This is
common and has a number of causes; the =
usual<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>solutions
are to read the manual pages then download =
and<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>install
needed JAR files, or fix the build =
file:<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
> -
You have misspelt 'importdata'.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
Fix: check your spelling.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
> -
The task needs an external JAR file to =
execute<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
and this is not found at the right place in the =
classpath.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
Fix: check the documentation for =
dependencies.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
Fix: declare the task.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
> -
The task is an Ant optional task and the JAR file and/or =
libraries<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
implementing the functionality were not found at the time =
you<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
yourself built your installation of Ant from the Ant =
sources.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to =
the<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
task and make sure it contains more than merely a =
META-INF/MANIFEST.MF.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
If all it contains is the manifest, then rebuild Ant with the =
needed<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
libraries present in ${ant.home}/lib/optional/ , or =
alternatively,<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
download a pre-built release version from =
apache.org<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
> -
The build file was written for a later version of =
Ant<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
Fix: upgrade to at least the latest release version of =
Ant<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
> -
The task is not an Ant core or optional =
task<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
and needs to be declared using =
<taskdef>.<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
> -
You are attempting to use a task defined =
using<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
<presetdef> or <macrodef> but have spelt wrong or =
not<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>
defined it at the point of use<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><o:p> </o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>Remember
that for JAR files to be visible to Ant tasks =
implemented<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>in
ANT_HOME/lib, the files must be in the same directory or on =
the<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
>classpath<o:p></o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><o:p> </o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><o:p> </o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><o:p> </o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 color=3Dblue face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><o:p> </o:p></span></font></i></p>
<p class=3DMsoNormal><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-style:italic'><o:p> </o:p></span></font></i><=
/p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Aditya<o:p></o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C73B8F.9E484EC2--