[Webtest] Running webtest

Afshartous, Nick webtest@lists.canoo.com
Mon, 24 Apr 2006 14:28:49 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C667AB.6745BD10
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0014_01C667AB.6745BD10"


------=_NextPart_001_0014_01C667AB.6745BD10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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. 


------=_NextPart_001_0014_01C667AB.6745BD10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7036.0">
<TITLE>Running webtest</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE=3D"Times New Roman">Hi,</FONT>
</P>

<P><FONT FACE=3D"Times New Roman">Thanks for any help with the issues =
below.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">--</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">=A0=A0=A0=A0=A0 Nick</FONT>
</P>

<P><FONT FACE=3D"Times New Roman">- running cygwin under Windows:</FONT>

<BR><FONT FACE=3D"Times New Roman">&nbsp;</FONT>=20

<BR><FONT FACE=3D"Courier =
New">/cygdrive/f/local/canoo/bin/../bin/webtest.sh -f =
/cygdrive/f/local/canoo/bin/../resources/webtestsRunner.xml =
-Dwebtest.testdir=3D/cygdrive/f/local/canoo/doc/samples =
-Dwebtest.testfile=3DinstallTest.xml</FONT></P>

<P><FONT FACE=3D"Courier New">Will use =
/cygdrive/f/local/jdk1.5.0_02/bin/java</FONT>

<BR><FONT FACE=3D"Courier New">Buildfile: =
\cygdrive\f\local\canoo\bin\..\resources\webtestsRunner.xml does not =
exist! </FONT>
</P>

<P><FONT FACE=3D"Times New Roman">Looks like an issue with the path to =
webtestsRunner.xml.&nbsp; I saw that webtest.sh has a check for cygwin =
and verified that this block is executed.</FONT></P>

<P><FONT FACE=3D"Times New Roman">- I can run the installTest.xml using =
the runWebtests.bat, but when I copy the installTest.xml to a different =
directory I get</FONT></P>

<P><FONT FACE=3D"Courier New">f:\local\canoo\bin\..\bin\webtest.bat -f =
&quot;f:\local\canoo\bin\..\resources\webtestsRunner.xml&quot; =
-Dwebtest.testdir=3DC:\Documents and Settings\afshartousn =
-Dwebtest.testfile=3Dinstalltest.xml</FONT></P>

<P><FONT FACE=3D"Courier =
New">&quot;f:\local\jdk1.5.0_02\bin\java.exe&quot; -Xms64M -Xmx256M -cp =
&quot;f:\local\canoo\bin\..\lib\runtime\ant-launcher.jar&quot; =
-Dant.library.dir=3D&quot;f:\local\canoo\bin\..\lib\runtime&quot; =
org.apache.tools.ant.launch.Launcher -nouserlib -lib =
&quot;f:\local\canoo\bin\..\lib\build;f:\local\canoo\bin\..\lib\build\clo=
ver.jar&quot; -f =
&quot;f:\local\canoo\bin\..\resources\webtestsRunner.xml&quot; =
-Dwebtest.testdir=3DC:\Documents and Settings\afshartousn =
-Dwebtest.testfile=3Dinstalltest.xml</FONT></P>

<P><FONT FACE=3D"Courier New">Buildfile: =
f:\local\canoo\bin\..\resources\webtestsRunner.xml</FONT>

<BR><FONT FACE=3D"Courier New">Trying to override old definition of task =
sleep</FONT>

<BR><FONT FACE=3D"Courier New">BUILD FAILED</FONT>

<BR><FONT FACE=3D"Courier New">Target `and' does not exist in this =
project. </FONT>
</P>

</BODY>
</HTML>
------=_NextPart_001_0014_01C667AB.6745BD10--

------=_NextPart_000_0013_01C667AB.6745BD10
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII8DCCAngw
ggHhoAMCAQICEG/GNX2YAq/KgsIrAHAHLfUwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDQwNzEzMzUzOVoXDTA3MDQwNzEzMzUz
OVowUzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJ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