[Webtest] [webtest][JIRA] Closed: (WT-45) Problems with Ant 1.5.1
Denis N. Antonioli (JIRA)
webtest@lists.canoo.com
Mon, 12 Sep 2005 10:07:43 +0200 (CEST)
[ http://webtest-community.canoo.com/jira/browse/WT-45?page=history ]
Denis N. Antonioli closed WT-45:
--------------------------------
Resolution: Won't Fix
Webtest does indeed require one of the 1.6 versions of ant, as well as Java 1.4 or newer.
> Problems with Ant 1.5.1
> -----------------------
>
> Key: WT-45
> URL: http://webtest-community.canoo.com/jira/browse/WT-45
> Project: WebTest
> Type: Bug
> Environment: Windows XP, Ant 1.5.1, Canoo 1.6
> Reporter: Sean O Shea
>
> When I try to run my ANT target which runs my canoo tests I get the following error:
> file:Z:/vobs_opensrc/tutorial/AccountViewer/av-canoo-build.xml:43: Test failed.
> Exception raised: com.canoo.webtest.engine.StepExecutionException: Unexpected ex
> ception caught: java.lang.NoSuchMethodError: org.apache.xerces.xni.Augmentations
> .removeAllItems()V, Step: InvokePage at file:Z:/vobs_opensrc/tutorial/AccountVie
> wer/av-canoo-build.xml:50: with (stepId="testLoginPage.getLoginPage", url="", s
> tepType="invoke")com.canoo.webtest.engine.StepExecutionException: Unexpected exc
> eption caught: java.lang.NoSuchMethodError: org.apache.xerces.xni.Augmentations.
> removeAllItems()V, Step: InvokePage at file:Z:/vobs_opensrc/tutorial/AccountView
> er/av-canoo-build.xml:50: with (stepId="testLoginPage.getLoginPage", url="", st
> epType="invoke")
> at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:432)
> at com.canoo.webtest.steps.Step.execute(Step.java:103)
> at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:31)
> at com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecification
> Task.java:80)
> at org.apache.tools.ant.Task.perform(Task.java:319)
> at org.apache.tools.ant.Target.execute(Target.java:309)
> at org.apache.tools.ant.Target.performTasks(Target.java:336)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
> at org.apache.tools.ant.Task.perform(Task.java:319)
> at org.apache.tools.ant.Target.execute(Target.java:309)
> at org.apache.tools.ant.Target.performTasks(Target.java:336)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
> 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)
> My ant taskdef looks like this:
> <taskdef file="${canoo.home}/webtestTaskdefs.properties">
> <classpath>
> <fileset dir="${canoo.home}" includes="**/lib/*.jar"/>
> </classpath>
> </taskdef>
> I'm guessing that this must be something to do with ANT versions.
> I tried the exact same tests with ANT 1.6.2 and it works fine.
> Unfortunately I have to use ANT 1.5.1
> Might someone be able to offer some help
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira