[Webtest] Running webtest

Paul King webtest@lists.canoo.com
Tue, 25 Apr 2006 08:12:42 +1000


> Target `and' does not exist in this project.

Is because there is no quotes around

> -Dwebtest.testdir=C:\Documents and Settings\afshartousn 

Cheers, Paul.

Afshartous, Nick wrote:
> Hi,
> 
> Thanks for any help with the issues below.
> 
> -- 
>       Nick
> 
> - running cygwin under Windows:
>  
> /cygdrive/f/local/canoo/bin/../bin/webtest.sh -f 
> /cygdrive/f/local/canoo/bin/../resources/webtestsRunner.xml 
> -Dwebtest.testdir=/cygdrive/f/local/canoo/doc/samples 
> -Dwebtest.testfile=installTest.xml
> 
> Will use /cygdrive/f/local/jdk1.5.0_02/bin/java
> Buildfile: \cygdrive\f\local\canoo\bin\..\resources\webtestsRunner.xml 
> does not exist!
> 
> Looks like an issue with the path to webtestsRunner.xml.  I saw that 
> webtest.sh has a check for cygwin and verified that this block is executed.
> 
> - I can run the installTest.xml using the runWebtests.bat, but when I 
> copy the installTest.xml to a different directory I get
> 
> f:\local\canoo\bin\..\bin\webtest.bat -f 
> "f:\local\canoo\bin\..\resources\webtestsRunner.xml" 
> -Dwebtest.testdir=C:\Documents and Settings\afshartousn 
> -Dwebtest.testfile=installtest.xml
> 
> "f:\local\jdk1.5.0_02\bin\java.exe" -Xms64M -Xmx256M -cp 
> "f:\local\canoo\bin\..\lib\runtime\ant-launcher.jar" 
> -Dant.library.dir="f:\local\canoo\bin\..\lib\runtime" 
> org.apache.tools.ant.launch.Launcher -nouserlib -lib 
> "f:\local\canoo\bin\..\lib\build;f:\local\canoo\bin\..\lib\build\clover.jar" 
> -f "f:\local\canoo\bin\..\resources\webtestsRunner.xml" 
> -Dwebtest.testdir=C:\Documents and Settings\afshartousn 
> -Dwebtest.testfile=installtest.xml
> 
> Buildfile: f:\local\canoo\bin\..\resources\webtestsRunner.xml
> Trying to override old definition of task sleep
> BUILD FAILED
> Target `and' does not exist in this project.
>