[Webtest] problem with doc/samples/installTest.xml

Marc Guillemot webtest@lists.canoo.com
Mon, 08 Mar 2004 00:25:36 +0100


Webtest doesn't work currently with Ant 1.6.
You have to use an oldier version for instance 1.5.4

Marc.

Perfekcik wrote:
> Hi
> 
> While trying to run it ant shows mi this information:
> "
> bash-2.05b$ ant -v -buildfile installTest.xml
> Apache Ant version 1.6.0 compiled on December 18 2003
> Buildfile: installTest.xml
> Detected Java version: 1.4 in: /usr/local/jre
> Detected OS: Linux
> parsing buildfile /home/perf/temp/canoo/doc/samples/installTest.xml with 
> URI = file:///home/perf/temp/canoo/doc/samples/installTest.xml
> Project base dir set to: /home/perf/temp/canoo/doc/samples
> Build sequence for target `all' is [checkANT, mayPrintANTError, 
> checkWebTest, all]
> Complete build sequence is [checkANT, mayPrintANTError, checkWebTest, 
> all, ]
> 
> checkANT:
> 
> mayPrintANTError:
> Skipped because property 'ant.version.ok' set.
> 
> checkWebTest:
>      [echo] base dir is /home/perf/temp/canoo/doc/samples
> 
> BUILD FAILED
> /home/perf/temp/canoo/doc/samples/installTest.xml:10: Task must be of 
> type "Step": invoke at 
> /home/perf/temp/canoo/doc/samples/installTest.xml:23:  is of type 
> org.apache.tools.ant.UnknownElement
>         at 
> com.canoo.webtest.ant.TestStepSequence.addTask(TestStepSequence.java:66)
>         at 
> org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:366)
>         at 
> org.apache.tools.ant.UnknownElement.handleChild(UnknownElement.java:586)
>         at 
> org.apache.tools.ant.UnknownElement.handleChildren(UnknownElement.java:357)
>         at 
> org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:213)
>         at 
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:189)
>         at org.apache.tools.ant.Task.perform(Task.java:400)
>         at org.apache.tools.ant.Target.execute(Target.java:338)
>         at org.apache.tools.ant.Target.performTasks(Target.java:365)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
>         at org.apache.tools.ant.Main.runBuild(Main.java:669)
>         at org.apache.tools.ant.Main.startAnt(Main.java:220)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
> 
> Total time: 2 seconds
> "
> 
> what to do?
> 
> Thanks
> 
> Regards
> Perf
> 
> PS
> i'm new here, nice to meet you all
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>