[Webtest] StepExecutionException

Denis N. Antonioli webtest@lists.canoo.com
Sat, 14 Jan 2006 17:34:27 +0100


Hi

On 14 janv. 06, at 15:50, Marc Guillemot wrote:

> In Peggy's case, the cause of the error is that the ant script =20
> looks for
> jars located in some other directories than the ones provided with
> webtest and in this case it contained a conflicting jar.
>
> Denis, perhaps should we provide a custom version of the ant scripts
> that don't look outside webtest dirs?
>
> Marc.
>
> Davidson, Peggy (MAN-Corporate) wrote:
>> Thanks to Marc for the help in resolving this problem. The culprit =20=

>> to this problem was it was using an earlier version of rhino (1.5 =20
>> or older). Even though I made sure there was no classpath being =20
>> used or ant being used other than what was distributed with the =20
>> webtest. I took Marc's suggestion and searched for all js*.jar and =20=

>> removed all of them and I then ran the tests and it was =20
>> successful.  I  then restored a little at a time until I found the =20=

>> one causing the exception. There was a .ant directory under C:=20
>> \Documents and Settings\pdavidson, removing this and all tests and =20=

>> samples ran just fine.


That was one of the idea behind the webtest shell/batch scripts, but =20
obviously I missed:
"	=95 	jars from ${user.home}/.ant/lib (unless -nouserlib is =
set)" [ant =20
manual].

New versions of the scripts have just been checked in, they are =20
expected for R_1126.

Have a nice week-end
	dna

--=20
If you steal from 1 you are plagarizing
If you steal from 10 you are doing research
If you steal from 100 you are an expert.
   -- B. Delaney