if I do any changes , I 'll keep you informed of course.
the wiki site how-to is correct, only that in my case I have to login the
user first to start my tests:

data.getParameters().setString("username", "myusername");

data.getParameters().setString("password", "mypassword");

// Execute the login action.

ActionLoader.getInstance().exec(data, "LoginUser");



regards

Akmal

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 17, 2003 2:51 PM
Subject: RE: Testing with maven/cactus


> Akmal,
>
> You hit on my big problem with the plugin in, the doctype needs to be
merged
> in.  At any rate, if you add any improvements, keep me posted.  Does what
> you did match the How to test with Cactus section of the turbine wiki?
> http://nagoya.apache.org/wiki/apachewiki.cgi?JakartaTurbine2Faq
>
> Eric PUgh
>
> -----Original Message-----
> From: Akmal Sarhan [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 15, 2003 5:20 AM
> To: Turbine Users List
> Subject: Re: Testing with maven/cactus
>
>
> now it works!!!!!!
> thanks very much for your help.
>
> what I did was that I changed the web.xml in
> ...plugins\maven-cactus-plugin-1.2\plugin-resources\conf to add the
doctype
> and changed the structure of my turbine app to be as follows:
>
> /src
>   /java
>   /schema
>   /test-cactus
>   /webapp
>     /logs
>     /resources
>     /templates
>     /WEB-INF
>       /conf
>       /web.xml
>
> and now it works, thanks again
>
> regards
> Akmal
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 14, 2003 4:21 PM
> Subject: RE: Testing with maven/cactus
>
>
> >
> > Okay, you are actually working at this point!  Most of the tests in the
> > sample fail, some sort of web.xml file problem that I don't understand
> yet.
> > However, check out these lines:
> >   [junit] Running org.apache.maven.cactus.sample.TestSampleServlet
> >       [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1,031
> > sec
> >
> > If you go into the test-reports dir and check it oiut, you will see that
> one
> > worked!  Now try your turbine ones.
> >
> > Also, what conf change did you make?  I have seen the error you speak
of,
> > but haven't had luck tracking it down.
> >
> > Eric Pugh
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to