You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by BRUNOT Sébastien <se...@cegetel.fr> on 2003/09/03 09:49:06 UTC

RE : Always execute a end method on the client-side?

>> 
>> My problem is that I set up test data using DBUnit on the client in
the
>> begin(WebRequest) method, and then want to clean it up after the test
has
>> run, regardless of it has failed or not. I do not want the DBUnit
JARs,
>> test-data etc. transported to the server unless I absolutely _have
to_. :-
>> )

>On that point, my belief is that database cleaning should not be done as it
is a waste of >time. Why not better set up the database in the correct state
*before* each test? This
>prevents side effects and is inline with the unit testing methodology which
says that all >tests are independent. It's also clearer for a reader as he
will know what data needs to >be set before the test.

I think that database cleaning after each test is a good thing to do : as a
unit test doesn't know wich test was run before it, it has to clean the
entire database and then set up the entire database if the cleaning is done
in the setUp() method... If you perform the cleaning at the end of the test,
you just have to clean the data you generated during test execution. It
might save a lot of time, especially if you intend to run the same tests
under different database load conditions !

Some real life experiences on the subject ? (or maybe we should follow up
the thread on a more "generalist" unit testing mailing list ?)

Sebastien Brunot 

RE: eclipse cactus plugin

Posted by Vincent Massol <vm...@pivolis.com>.
Hi,

I don't understand what you mean. What subproject are you building? Have
you read
http://jakarta.apache.org/cactus/participating/howto_build.html?

-Vincent

> -----Original Message-----
> From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> Sent: 04 September 2003 19:42
> To: Cactus Users List
> Subject: RE: eclipse cactus plugin
> 
> hi,
> 
> I am trying to build Cactus. Has anyone tried to build with servlet
> container other than jetty?
> 
> Thanks.
> 
> suvasis
> 
> 
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: Thursday, September 04, 2003 9:35 AM
> To: 'Cactus Users List'; smukherjee@firstam.com
> Subject: RE: eclipse cactus plugin
> 
> 
> 
> > -----Original Message-----
> > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > Sent: 04 September 2003 18:21
> > To: Cactus Users List
> > Subject: RE: eclipse cactus plugin
> >
> > hi Vincent,
> >
> > What is the time frame for this effort?
> 
> No time frame defined as nobody is currently working on it.
> 
> >
> > The latest workable release doesn't have a weblogic 8.1 docs. Has it
> been
> > tested yet?
> 
> Nope. As I've said, the only container I've tested myself is Jetty. I
> have not idea is any of the other work. WL 8.1 is certainly not
> supported.
> 
> >
> > Is there any other similar project to perform integration testing of
> > weblogic 8.1 in-container objects?
> 
> Yes, Cactus. Simply don't use the Eclipse plugin.
> 
> -Vincent
> 
> >
> > suvasis
> >
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: Wednesday, September 03, 2003 11:02 PM
> > To: 'Cactus Users List'
> > Subject: RE: eclipse cactus plugin
> >
> >
> > Hi,
> >
> > > -----Original Message-----
> > > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > > Sent: 03 September 2003 23:48
> > > To: Vincent Massol; 'Cactus Users List'
> > > Subject: RE: eclipse cactus plugin
> > >
> > > hi,
> > >
> > > Does eclipse cactus plugin support weblogic 8.1 container? I don't
> see
> > wl
> > > 8.1 as one of the containers in
> > windows->preferences->cactus->containers.
> >
> > No. It's really experimental at this stage. I'm not even sure it
works
> > fine with containers other than Jetty ATM. We're in the process of
> > refactoring completely the eclipse plugin so that it uses the "new"
> Ant
> > integration (it's using something very old ATM).
> >
> > Thanks
> > -Vincent
> >
> > >
> > > Thanks.
> > >
> > > suvasis
> > >
> > > -----Original Message-----
> > > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > > Sent: Wednesday, September 03, 2003 1:05 PM
> > > To: 'Cactus Users List'; smukherjee@firstam.com
> > > Subject: RE: eclipse cactus plugin
> > >
> > >
> > > Hi,
> > >
> > > That's normal. You need 2 plugins but the nightly build you picked
> has
> > > built only one (there was a problem with the other plugin build).
> You
> > > can use the build in
> > >
> http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-08-31-manual/
> > >
> > > You'll find all installation information on
> > > http://jakarta.apache.org/cactus/integration/eclipse/index.html
> > >
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > > > Sent: 03 September 2003 22:49
> > > > To: Cactus Users List
> > > > Subject: eclipse cactus plugin
> > > >
> > > > hi,
> > > >
> > > > I am trying eclipse cactus plugin, I copied the nightly build to
> > > > eclipse/plugins folder. But cactus never shows up as plugin.
> > > >
> > > > Env details:
> > > >
> > > > 1. eclipse 2.1
> > > > 2. cactus nightly build
> > > >
> > > > I never see the runner in the nightly build area.
> > > >
> > > > http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-09-02/
> > > >
> > > > >>jakarta-cactus-integration-eclipse-runner-13-<version>.zip
> > > > >>The Cactus Runner plugin for J2EE 1.3.
> > > >
> > > > I only see webapp in the nightly build area.
> > > >
> > > > >>jakarta-cactus-integration-eclipse-webapp-<version>.zip
> > > > >>The Web Application plugin.
> > > >
> > > > I also restarted the eclipse IDE several times.
> > > >
> > > > Is there anything I am missing in the integration?
> > > >
> > > > Thanks.
> > > >
> > > > suvasis
> > > >
> > > >
> > > >
> > > >
> >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
cactus-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> cactus-user-help@jakarta.apache.org
> > >
> > >
> > >
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



RE: eclipse cactus plugin

Posted by Suvasis Mukherjee <sm...@firstam.com>.
hi,

I am trying to build Cactus. Has anyone tried to build with servlet
container other than jetty?

Thanks.

suvasis


-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com]
Sent: Thursday, September 04, 2003 9:35 AM
To: 'Cactus Users List'; smukherjee@firstam.com
Subject: RE: eclipse cactus plugin



> -----Original Message-----
> From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> Sent: 04 September 2003 18:21
> To: Cactus Users List
> Subject: RE: eclipse cactus plugin
>
> hi Vincent,
>
> What is the time frame for this effort?

No time frame defined as nobody is currently working on it.

>
> The latest workable release doesn't have a weblogic 8.1 docs. Has it
been
> tested yet?

Nope. As I've said, the only container I've tested myself is Jetty. I
have not idea is any of the other work. WL 8.1 is certainly not
supported.

>
> Is there any other similar project to perform integration testing of
> weblogic 8.1 in-container objects?

Yes, Cactus. Simply don't use the Eclipse plugin.

-Vincent

>
> suvasis
>
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: Wednesday, September 03, 2003 11:02 PM
> To: 'Cactus Users List'
> Subject: RE: eclipse cactus plugin
>
>
> Hi,
>
> > -----Original Message-----
> > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > Sent: 03 September 2003 23:48
> > To: Vincent Massol; 'Cactus Users List'
> > Subject: RE: eclipse cactus plugin
> >
> > hi,
> >
> > Does eclipse cactus plugin support weblogic 8.1 container? I don't
see
> wl
> > 8.1 as one of the containers in
> windows->preferences->cactus->containers.
>
> No. It's really experimental at this stage. I'm not even sure it works
> fine with containers other than Jetty ATM. We're in the process of
> refactoring completely the eclipse plugin so that it uses the "new"
Ant
> integration (it's using something very old ATM).
>
> Thanks
> -Vincent
>
> >
> > Thanks.
> >
> > suvasis
> >
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: Wednesday, September 03, 2003 1:05 PM
> > To: 'Cactus Users List'; smukherjee@firstam.com
> > Subject: RE: eclipse cactus plugin
> >
> >
> > Hi,
> >
> > That's normal. You need 2 plugins but the nightly build you picked
has
> > built only one (there was a problem with the other plugin build).
You
> > can use the build in
> >
http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-08-31-manual/
> >
> > You'll find all installation information on
> > http://jakarta.apache.org/cactus/integration/eclipse/index.html
> >
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > > Sent: 03 September 2003 22:49
> > > To: Cactus Users List
> > > Subject: eclipse cactus plugin
> > >
> > > hi,
> > >
> > > I am trying eclipse cactus plugin, I copied the nightly build to
> > > eclipse/plugins folder. But cactus never shows up as plugin.
> > >
> > > Env details:
> > >
> > > 1. eclipse 2.1
> > > 2. cactus nightly build
> > >
> > > I never see the runner in the nightly build area.
> > >
> > > http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-09-02/
> > >
> > > >>jakarta-cactus-integration-eclipse-runner-13-<version>.zip
> > > >>The Cactus Runner plugin for J2EE 1.3.
> > >
> > > I only see webapp in the nightly build area.
> > >
> > > >>jakarta-cactus-integration-eclipse-webapp-<version>.zip
> > > >>The Web Application plugin.
> > >
> > > I also restarted the eclipse IDE several times.
> > >
> > > Is there anything I am missing in the integration?
> > >
> > > Thanks.
> > >
> > > suvasis
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
cactus-user-help@jakarta.apache.org
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org




RE: eclipse cactus plugin

Posted by Vincent Massol <vm...@pivolis.com>.
> -----Original Message-----
> From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> Sent: 04 September 2003 18:21
> To: Cactus Users List
> Subject: RE: eclipse cactus plugin
> 
> hi Vincent,
> 
> What is the time frame for this effort?

No time frame defined as nobody is currently working on it.

> 
> The latest workable release doesn't have a weblogic 8.1 docs. Has it
been
> tested yet?

Nope. As I've said, the only container I've tested myself is Jetty. I
have not idea is any of the other work. WL 8.1 is certainly not
supported.

> 
> Is there any other similar project to perform integration testing of
> weblogic 8.1 in-container objects?

Yes, Cactus. Simply don't use the Eclipse plugin.

-Vincent

> 
> suvasis
> 
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: Wednesday, September 03, 2003 11:02 PM
> To: 'Cactus Users List'
> Subject: RE: eclipse cactus plugin
> 
> 
> Hi,
> 
> > -----Original Message-----
> > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > Sent: 03 September 2003 23:48
> > To: Vincent Massol; 'Cactus Users List'
> > Subject: RE: eclipse cactus plugin
> >
> > hi,
> >
> > Does eclipse cactus plugin support weblogic 8.1 container? I don't
see
> wl
> > 8.1 as one of the containers in
> windows->preferences->cactus->containers.
> 
> No. It's really experimental at this stage. I'm not even sure it works
> fine with containers other than Jetty ATM. We're in the process of
> refactoring completely the eclipse plugin so that it uses the "new"
Ant
> integration (it's using something very old ATM).
> 
> Thanks
> -Vincent
> 
> >
> > Thanks.
> >
> > suvasis
> >
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: Wednesday, September 03, 2003 1:05 PM
> > To: 'Cactus Users List'; smukherjee@firstam.com
> > Subject: RE: eclipse cactus plugin
> >
> >
> > Hi,
> >
> > That's normal. You need 2 plugins but the nightly build you picked
has
> > built only one (there was a problem with the other plugin build).
You
> > can use the build in
> >
http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-08-31-manual/
> >
> > You'll find all installation information on
> > http://jakarta.apache.org/cactus/integration/eclipse/index.html
> >
> > -Vincent
> >
> > > -----Original Message-----
> > > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > > Sent: 03 September 2003 22:49
> > > To: Cactus Users List
> > > Subject: eclipse cactus plugin
> > >
> > > hi,
> > >
> > > I am trying eclipse cactus plugin, I copied the nightly build to
> > > eclipse/plugins folder. But cactus never shows up as plugin.
> > >
> > > Env details:
> > >
> > > 1. eclipse 2.1
> > > 2. cactus nightly build
> > >
> > > I never see the runner in the nightly build area.
> > >
> > > http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-09-02/
> > >
> > > >>jakarta-cactus-integration-eclipse-runner-13-<version>.zip
> > > >>The Cactus Runner plugin for J2EE 1.3.
> > >
> > > I only see webapp in the nightly build area.
> > >
> > > >>jakarta-cactus-integration-eclipse-webapp-<version>.zip
> > > >>The Web Application plugin.
> > >
> > > I also restarted the eclipse IDE several times.
> > >
> > > Is there anything I am missing in the integration?
> > >
> > > Thanks.
> > >
> > > suvasis
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
cactus-user-help@jakarta.apache.org
> >
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



RE: eclipse cactus plugin

Posted by Suvasis Mukherjee <sm...@firstam.com>.
hi Vincent,

What is the time frame for this effort?

The latest workable release doesn't have a weblogic 8.1 docs. Has it been
tested yet?

Is there any other similar project to perform integration testing of
weblogic 8.1 in-container objects?

suvasis

-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com]
Sent: Wednesday, September 03, 2003 11:02 PM
To: 'Cactus Users List'
Subject: RE: eclipse cactus plugin


Hi,

> -----Original Message-----
> From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> Sent: 03 September 2003 23:48
> To: Vincent Massol; 'Cactus Users List'
> Subject: RE: eclipse cactus plugin
>
> hi,
>
> Does eclipse cactus plugin support weblogic 8.1 container? I don't see
wl
> 8.1 as one of the containers in
windows->preferences->cactus->containers.

No. It's really experimental at this stage. I'm not even sure it works
fine with containers other than Jetty ATM. We're in the process of
refactoring completely the eclipse plugin so that it uses the "new" Ant
integration (it's using something very old ATM).

Thanks
-Vincent

>
> Thanks.
>
> suvasis
>
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: Wednesday, September 03, 2003 1:05 PM
> To: 'Cactus Users List'; smukherjee@firstam.com
> Subject: RE: eclipse cactus plugin
>
>
> Hi,
>
> That's normal. You need 2 plugins but the nightly build you picked has
> built only one (there was a problem with the other plugin build). You
> can use the build in
> http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-08-31-manual/
>
> You'll find all installation information on
> http://jakarta.apache.org/cactus/integration/eclipse/index.html
>
> -Vincent
>
> > -----Original Message-----
> > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > Sent: 03 September 2003 22:49
> > To: Cactus Users List
> > Subject: eclipse cactus plugin
> >
> > hi,
> >
> > I am trying eclipse cactus plugin, I copied the nightly build to
> > eclipse/plugins folder. But cactus never shows up as plugin.
> >
> > Env details:
> >
> > 1. eclipse 2.1
> > 2. cactus nightly build
> >
> > I never see the runner in the nightly build area.
> >
> > http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-09-02/
> >
> > >>jakarta-cactus-integration-eclipse-runner-13-<version>.zip
> > >>The Cactus Runner plugin for J2EE 1.3.
> >
> > I only see webapp in the nightly build area.
> >
> > >>jakarta-cactus-integration-eclipse-webapp-<version>.zip
> > >>The Web Application plugin.
> >
> > I also restarted the eclipse IDE several times.
> >
> > Is there anything I am missing in the integration?
> >
> > Thanks.
> >
> > suvasis
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org




RE: eclipse cactus plugin

Posted by Vincent Massol <vm...@pivolis.com>.
Hi,

> -----Original Message-----
> From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> Sent: 03 September 2003 23:48
> To: Vincent Massol; 'Cactus Users List'
> Subject: RE: eclipse cactus plugin
> 
> hi,
> 
> Does eclipse cactus plugin support weblogic 8.1 container? I don't see
wl
> 8.1 as one of the containers in
windows->preferences->cactus->containers.

No. It's really experimental at this stage. I'm not even sure it works
fine with containers other than Jetty ATM. We're in the process of
refactoring completely the eclipse plugin so that it uses the "new" Ant
integration (it's using something very old ATM).

Thanks
-Vincent

> 
> Thanks.
> 
> suvasis
> 
> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com]
> Sent: Wednesday, September 03, 2003 1:05 PM
> To: 'Cactus Users List'; smukherjee@firstam.com
> Subject: RE: eclipse cactus plugin
> 
> 
> Hi,
> 
> That's normal. You need 2 plugins but the nightly build you picked has
> built only one (there was a problem with the other plugin build). You
> can use the build in
> http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-08-31-manual/
> 
> You'll find all installation information on
> http://jakarta.apache.org/cactus/integration/eclipse/index.html
> 
> -Vincent
> 
> > -----Original Message-----
> > From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> > Sent: 03 September 2003 22:49
> > To: Cactus Users List
> > Subject: eclipse cactus plugin
> >
> > hi,
> >
> > I am trying eclipse cactus plugin, I copied the nightly build to
> > eclipse/plugins folder. But cactus never shows up as plugin.
> >
> > Env details:
> >
> > 1. eclipse 2.1
> > 2. cactus nightly build
> >
> > I never see the runner in the nightly build area.
> >
> > http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-09-02/
> >
> > >>jakarta-cactus-integration-eclipse-runner-13-<version>.zip
> > >>The Cactus Runner plugin for J2EE 1.3.
> >
> > I only see webapp in the nightly build area.
> >
> > >>jakarta-cactus-integration-eclipse-webapp-<version>.zip
> > >>The Web Application plugin.
> >
> > I also restarted the eclipse IDE several times.
> >
> > Is there anything I am missing in the integration?
> >
> > Thanks.
> >
> > suvasis
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 



RE: eclipse cactus plugin

Posted by Suvasis Mukherjee <sm...@firstam.com>.
hi,

Does eclipse cactus plugin support weblogic 8.1 container? I don't see wl
8.1 as one of the containers in windows->preferences->cactus->containers.

Thanks.

suvasis

-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com]
Sent: Wednesday, September 03, 2003 1:05 PM
To: 'Cactus Users List'; smukherjee@firstam.com
Subject: RE: eclipse cactus plugin


Hi,

That's normal. You need 2 plugins but the nightly build you picked has
built only one (there was a problem with the other plugin build). You
can use the build in
http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-08-31-manual/

You'll find all installation information on
http://jakarta.apache.org/cactus/integration/eclipse/index.html

-Vincent

> -----Original Message-----
> From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> Sent: 03 September 2003 22:49
> To: Cactus Users List
> Subject: eclipse cactus plugin
>
> hi,
>
> I am trying eclipse cactus plugin, I copied the nightly build to
> eclipse/plugins folder. But cactus never shows up as plugin.
>
> Env details:
>
> 1. eclipse 2.1
> 2. cactus nightly build
>
> I never see the runner in the nightly build area.
>
> http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-09-02/
>
> >>jakarta-cactus-integration-eclipse-runner-13-<version>.zip
> >>The Cactus Runner plugin for J2EE 1.3.
>
> I only see webapp in the nightly build area.
>
> >>jakarta-cactus-integration-eclipse-webapp-<version>.zip
> >>The Web Application plugin.
>
> I also restarted the eclipse IDE several times.
>
> Is there anything I am missing in the integration?
>
> Thanks.
>
> suvasis
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org





RE: eclipse cactus plugin

Posted by Vincent Massol <vm...@pivolis.com>.
Hi,

That's normal. You need 2 plugins but the nightly build you picked has
built only one (there was a problem with the other plugin build). You
can use the build in
http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-08-31-manual/

You'll find all installation information on
http://jakarta.apache.org/cactus/integration/eclipse/index.html

-Vincent

> -----Original Message-----
> From: Suvasis Mukherjee [mailto:smukherjee@firstam.com]
> Sent: 03 September 2003 22:49
> To: Cactus Users List
> Subject: eclipse cactus plugin
> 
> hi,
> 
> I am trying eclipse cactus plugin, I copied the nightly build to
> eclipse/plugins folder. But cactus never shows up as plugin.
> 
> Env details:
> 
> 1. eclipse 2.1
> 2. cactus nightly build
> 
> I never see the runner in the nightly build area.
> 
> http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-09-02/
> 
> >>jakarta-cactus-integration-eclipse-runner-13-<version>.zip
> >>The Cactus Runner plugin for J2EE 1.3.
> 
> I only see webapp in the nightly build area.
> 
> >>jakarta-cactus-integration-eclipse-webapp-<version>.zip
> >>The Web Application plugin.
> 
> I also restarted the eclipse IDE several times.
> 
> Is there anything I am missing in the integration?
> 
> Thanks.
> 
> suvasis
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



eclipse cactus plugin

Posted by Suvasis Mukherjee <sm...@firstam.com>.
hi,

I am trying eclipse cactus plugin, I copied the nightly build to
eclipse/plugins folder. But cactus never shows up as plugin.

Env details:

1. eclipse 2.1
2. cactus nightly build

I never see the runner in the nightly build area.

http://cvs.apache.org/builds/jakarta-cactus/nightly/2003-09-02/

>>jakarta-cactus-integration-eclipse-runner-13-<version>.zip
>>The Cactus Runner plugin for J2EE 1.3.

I only see webapp in the nightly build area.

>>jakarta-cactus-integration-eclipse-webapp-<version>.zip
>>The Web Application plugin.

I also restarted the eclipse IDE several times.

Is there anything I am missing in the integration?

Thanks.

suvasis



RE: RE : Always execute a end method on the client-side?

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: BRUNOT Sébastien
[mailto:sebastien.brunot.prestataire@cegetel.fr]
> Sent: 03 September 2003 09:49
> To: 'Cactus Users List'
> Subject: RE : Always execute a end method on the client-side?
> 
> >>
> >> My problem is that I set up test data using DBUnit on the client in
> the
> >> begin(WebRequest) method, and then want to clean it up after the
test
> has
> >> run, regardless of it has failed or not. I do not want the DBUnit
> JARs,
> >> test-data etc. transported to the server unless I absolutely _have
> to_. :-
> >> )
> 
> >On that point, my belief is that database cleaning should not be done
as
> it
> is a waste of >time. Why not better set up the database in the correct
> state
> *before* each test? This
> >prevents side effects and is inline with the unit testing methodology
> which
> says that all >tests are independent. It's also clearer for a reader
as he
> will know what data needs to >be set before the test.
> 
> I think that database cleaning after each test is a good thing to do :
as
> a
> unit test doesn't know wich test was run before it, it has to clean
the
> entire database and then set up the entire database if the cleaning is
> done
> in the setUp() method... If you perform the cleaning at the end of the
> test,
> you just have to clean the data you generated during test execution.
It
> might save a lot of time, especially if you intend to run the same
tests
> under different database load conditions !
> 
> Some real life experiences on the subject ? (or maybe we should follow
up
> the thread on a more "generalist" unit testing mailing list ?)

If you want to apply your strategy you'll need to setup the whole
database at least once before all the tests run (possibly in a
TestSetup's setUp() method).

Now, it all depends on how coarse-grained are your tests. If you're
doing functional testing calling and thus testing code that calls and
touches several tables you may find that you have a complex setup to do.
However, if you're talking about unit testing, I've found that my code
under test only tests one or a few tables only and the setup is both
easy and fast.

I guess it also depends on how complex your database model is.

-Vincent