Vincent,
Thanks for your prompt reply! Actually I had noticed that para that you
highlighted.
"The Server part is usually packaged as a war file that you put in your
Servlet engine webapps directory.
On the client side you simply need to put the above-mentionned classes in
your CLASSPATH (don't forget to put the cactus.properties file in your
CLASSPATH). You start running the tests by starting a JUnit runner (either
the gui one or the text one). "
Unfortunately, the part is not clear (to me), the Server part
the classes you want to test,
your Cactus test classes,
the Cactus jar,
the JUnit jar,
needs to be WARed. Is there a necessary directory structure, what xml
deployment files need to be included in this WAR?
Is it sufficient to just place the test classes in a directory mentioned in
the classpath or is it necessary to specify the classes individually?
Thanks!
----- Original Message -----
From: "Vincent Massol" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 4:16 PM
Subject: Re: [cactus] Help with Cactus
>
> ----- Original Message -----
> From: "Kelvin Tan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 03, 2001 12:30 AM
> Subject: Help with Cactus
>
>
> > Hi,
> >
> > Am experiencing difficulty with getting Cactus running with jUnit. The
> error
> > is: error instantiating class (my test class). I've placed the test
> classes
> > in the WEB-INF/classes directory and in my classpath.
> >
> > Can anyone help out here?
> >
>
> By checking the installation.html page on the Cactus web page I noticed
that
> it is indeed not very clear how to set up correctly the CLASSPATH. As this
> one of the most frequent problem, I'll correct that ASAP and I'll also add
> an entry to the Cactus FAQ.
>
> Check the http://jakarta.apache.org/commons/cactus/servlets.html page. At
> the top, there is an explanation about what should be in the CLASSPATH.
I'll
> move this information to the installation page.
>
> Tell me if it helps.
>
> Thanks
> Vincent .
>
> P.S.: Please try to prefix your message regarding cactus with [cactus] in
> the subject. This is to differentiate from other components also being
> discussed on the list.
>