[Webtest] JavaScript since build 240 issue

Dierk Koenig webtest@lists.canoo.com
Tue, 5 Nov 2002 20:12:25 +0100


good idea,

we could copy that forking stuff from the junit task.

Would you like to try? It does not seem like I have 
5 minutes in a row during this week...

> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Michael Finney
> Sent: Dienstag, 5. November 2002 19:31
> To: webtest@lists.canoo.com
> Subject: Re: [Webtest] JavaScript since build 240 issue
> 
> 
> Would fork'ing help?
> 
> 
>   <target name="run_TheThing" depends="compile">
>     <junit fork="yes" >
> 
>      : other stuff....
> 	  
>     </junit>
>   </target>
>  
> 
> --- Dierk Koenig <dierk.koenig@canoo.com> wrote:
> > 
> > 
> > Hiall,
> > 
> > since the move to the latest httpunit version, there
> > is some 
> > functionality to deal with JavaScript (JS).
> > 
> > However, I disabled that functionality again, i.e.
> > removed
> > the js.jar from the lib dir. In order to re-enable
> > it again,
> > just re-add the attached file.
> > 
> > The reason for disabling was that the mozilla class
> > loader
> > interfered with ant's classpath handling, raising 
> > "NoClassDefFoundError:
> > org/mozilla/javascript/NativeFunction".
> > 
> > To go around that problem and still test with JS
> > enabled, 
> > you need to add the js.jar to the java classpath
> > before calling ant.
> > We will support JS as soon as we see a way without
> > breaking
> > the self-containment of the build (everything needs
> > to run
> > by just typing "ant" on the commandline). 
> > 
> > Help on this is very welcome.
> > 
> > happy testing
> > Dierk
> 
> > ATTACHMENT part 2 application/octet-stream
> name=js.jar
> 
> 
> 
> =====
> Michael Finney
> Sun Certified Programmer for the Java 2 Platform
> Sun Certified Developer for the Java 2 Platform
> Sun Certified Web Component Developer for J2EE Platform 
> Cofounder of PPJDG
> Cofounder of cosAgile - Colorado Springs XP Users Group
> If replying to this email address fails, try finney@ACM.org
> 
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>