Hi Simon,
fine, I love success stories after problem reports ... :-)
I setup the plugin as ANT process to enable the use of conflicting
JARs to avoid these pitfalls as far as possible
Siegfried Goeschl
CTO
=================================
IT20one GmbH
mail: [EMAIL PROTECTED]
phone: +43-1-9900046
fax: +43-1-52 37 888
www.it20one.at
On 21 Jan 2003 at 13:06, Simon Moore wrote:
> I put my two dependencies back in and it's still working...
>
> Looks like it was the missing xercesImpl-2.0.2.jar that was the
> problem.
>
> Regards,
>
> Saimon
>
> > -----Mensaje original-----
> > De: Simon Moore [SMTP:[EMAIL PROTECTED]]
> > Enviado el: martes 21 de enero de 2003 12:47
> > Para: Turbine Maven Users List
> > Asunto: RE: Contribution of Maven Canoo Webtest Plugin
> >
> >
> >
> > > -----Mensaje original-----
> > > De: Siegfried G�schl [SMTP:[EMAIL PROTECTED]]
> > > Enviado el: martes 21 de enero de 2003 12:16
> > > Para: Turbine Maven Users List
> > > Asunto: RE: Contribution of Maven Canoo Webtest Plugin
> > >
> > > Hi Simon,
> > >
> > > +) all the required JARs are defined in the project.xml of the
> > > +plugin
> > > and apart from the Canoo Webtest Jars they should be picked up
> > > automatically. They are listed in the dependencies section of the
> > > website.
> > [SM] Yes, of course! I just checked..they are.. :)
> >
> > > +) Looking at your exception NeckoHTML is found ... :-) ... and it
> > > +
> > > fails somehwhere during instantiating a DOM parser. Which MAVEN
> > > version are you using - I tested that stuff on MAVEN b7. Might be
> > > a XERCES, XMLAPIS, XALAN problem ... forget "Nightmare on Elm
> > > Street", try to sort out applications and libraries shipping with
> > > different XML parser versions ... :-(
> > >
> > [SM] I've got it working. What I did:
> >
> > I had a couple of dependencies in my project.xml to xerces and
> > xalan (not sure what those were for ;). I removed those and also I
> > physically downloaded xercesImp-2.0.2.jar into
> > ${maven.repo}/xerces/impl/jars... (maven -X was complaining that
> > this was missing).
> >
> > It now works great.. thanks...I have to check that removing those
> > dependencies don't affect anything else...
> >
> > > +) The webtest scripts are picked up using regexp. Therefore it
> > > should be sufficient to just drop it into the webtest dir.
> > >
> > [SM] These are picked up fine
> >
> > > +) Are you able to run the sample application in the plugin dir.
> > > +It
> > > should work as long as you are not needing a proxy. It is used to
> > > create the sample report found on the website and might be a good
> > > starting point.
> > >
> > [SM] I've got my own test working (i'm behind a corporate ms proxy
> > but I have found a work around.
> >
> > Regards,
> >
> > Saimon
> > > Thanks ...
> > >
> > > Siegfried Goeschl
> > > CTO
> > > =================================
> > > IT20one GmbH
> > > mail: [EMAIL PROTECTED]
> > > phone: +43-1-9900046
> > > fax: +43-1-52 37 888
> > > www.it20one.at
> > >
> > >
> > > On 21 Jan 2003 at 11:21, Simon Moore wrote:
> > >
> > > > I've just checked out the webtest plugin, added a very basic
> > > > webtest script to ${basedir} /webtest and run maven webtest.
> > > >
> > > > Am I missing any other dependencies apart from the two jars
> > > > (webtest-256.jar, webtest-antrunner-256.jar) found in the
> > > > plugins /jars directory?
> > > >
> > > > Should I be specifying anything using :
> > > >
> > > > maven.webtest.jar.fileset.dir=
> > > > maven.webtest.jar.fileset.include=
> > > >
> > > > It's not clear from the documentation that there are any other
> > > > dependencies necessary but I assume that I at least need
> > > > NeckoHTML as I'm getting the exception trace below
> > > >
> > > > Regards,
> > > > Saimon
> > > >
> > > > Exception raised:
> > > > java.lang.NoSuchMethodErrorjava.lang.NoSuchMethodError
> > > > at
> > > > com.meterware.httpunit.DOMParser.<init>(NekoHTMLParser.java
> > > > :125) at
> > > > com.meterware.httpunit.DOMParser.newParser(NekoHTMLParser.j
> > > > ava:85 ) at
> > > > com.meterware.httpunit.NekoHTMLParser.parse(NekoHTMLParser.
> > > > java:4 8) at
> > > > com.meterware.httpunit.HTMLPage.parse(HTMLPage.java:249) at
> > > > com.meterware.httpunit.WebResponse.getReceivedPage(WebResponse.j
> > > > ava:91 8)
> > > > at
> > > > com.meterware.httpunit.WebResponse.addFrameTags(WebResponse.java
> > > > :905)
> > > > at
> > > > com.meterware.httpunit.WebResponse.getFrames(WebResponse.ja
> > > > va:895 ) at
> > > > com.meterware.httpunit.WebResponse.getFrameNames(WebResponse.jav
> > > > a:261)
> > > > at
> > > > com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder
> > > > .java: 83) at
> > > > com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.j
> > > > ava:18 4)
> > > > at
> > > > com.meterware.httpunit.WebClient.updateFrameContents(WebClient.j
> > > > ava:47 2)
> > > > at
> > > > com.meterware.httpunit.WebWindow.updateWindow(WebWindow.jav
> > > > a:167) at
> > > > com.meterware.httpunit.WebWindow.getResponse(WebWindow.java
> > > > :111) at
> > > > com.meterware.httpunit.WebWindow.getResponse(WebWindow.java
> > > > :91) at
> > > > com.meterware.httpunit.WebClient.getResponse(WebClient.java
> > > > :87) at
> > > > com.canoo.webtest.steps.request.Target.getResponse(Target.j
> > > > ava:25 8) at
> > > > com.canoo.webtest.steps.request.Target.gotoTarget(Target.ja
> > > > va:221 ) at
> > > > com.canoo.webtest.steps.request.Target.gotoTarget(Target.ja
> > > > va:185 ) at
> > > > com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.
> > > > java:4 2)
> > > > at
> > > > com.canoo.webtest.steps.AbstractTestStepSpecification.execute(Ab
> > > > stract TestSt epSpecification.java:57)
> > > > at
> > > > com.canoo.webtest.engine.ConfigurableTestCase.runTest(Configurab
> > > > leTest Case.j ava:34)
> > > > at junit.framework.TestCase.runBare(TestCase.java:127) at
> > > > junit.framework.TestResult$1.protect(TestResult.java:106)
> > > > at
> > > > junit.framework.TestResult.runProtected(TestResult.java:124
> > > > ) at junit.framework.TestResult.run(TestResult.java:109) at
> > > > junit.framework.TestCase.run(TestCase.java:118) at
> > > > junit.framework.TestCase.run(TestCase.java:111) at
> > > > com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecific
> > > > ationT ask.ja va:56)
> > > > at org.apache.tools.ant.Task.perform(Task.java:317)
> > > > at org.apache.tools.ant.Target.execute(Target.java:309) at
> > > > org.apache.tools.ant.Target.performTasks(Target.java:334)
> > > > at
> > > > org.apache.tools.ant.Project.executeTarget(Project.java:130
> > > > 6) at
> > > > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) at
> > > > org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java
> > > > :143)
> > > > at org.apache.tools.ant.Task.perform(Task.java:317)
> > > > at org.apache.tools.ant.Target.execute(Target.java:309) at
> > > > org.apache.tools.ant.Target.performTasks(Target.java:334)
> > > > at
> > > > org.apache.tools.ant.Project.executeTarget(Project.java:130
> > > > 6) at
> > > > org.apache.tools.ant.Project.executeTargets(Project.java:12
> > > > 50) at org.apache.tools.ant.Main.runBuild(Main.java:610) at
> > > > org.apache.tools.ant.Main.start(Main.java:196) at
> > > > org.apache.tools.ant.Main.main(Main.java:235)
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]> For
> > > > additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]> For
> additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>