[Webtest] cannot get <scriptStep> to work - ClassNotFoundException: org.apache

Chris Gerrard webtest@lists.canoo.com
Fri, 21 Apr 2006 10:17:31 -0700 (PDT)

Thanks Paul,

It didn't work.
I made a new build file with the bootstrap target, set the default to it and
ran webtest with this output:
Buildfile: bootstrap.xml
Trying to override old definition of task sleep


C:\Java\webtest\doc\doc\samples\bootstrap.xml:14: Reference
${webtest.path.id} not found.

Looking through the various files I found this reference in
	<dirname property="webtest.classpath.dir"
file="${ant.file.webtestClasspath}" />
	<path id="webtest.path.id">
		<!-- to find webtest's log4j properties -->
		<pathelement location="${webtest.classpath.dir}/"/>
		<fileset dir="${webtest.classpath.dir}" includes="*.jar"/>
		<fileset dir="${webtest.classpath.dir}" includes="optional/*.jar"/>
		<fileset dir="${webtest.classpath.dir}" includes="plugins/**/*.jar"/>
		<fileset dir="${webtest.classpath.dir}" includes="runtime/*.jar"/>

I tried putting this code in my build file and it didn't improve things.

I've tried figuring this out, but my Ant isn't good enough, I'm afraid.

Any suggestions?


View this message in context: http://www.nabble.com/cannot-get-%3CscriptStep%3E-to-work---ClassNotFoundException%3A-org.apache.bsf.engines.javascript.JavaScriptEngine-t1484027.html#a4030564
Sent from the WebTest forum at Nabble.com.