----- Original Message -----
From: "Nicholas Lesiecki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 4:37 PM
Subject: RE: Cactus and Netbeans
> Laurent,
>
> I'm using Netbeans and Ant almost exactly as Vincent describes. It works
> wonderfully. I'd volunteer for the task of writing a manual for it, but it
> is not necessary. Basically I have an ANT script that build's my test
code,
> deploys it to my local development server, and restarts the server. Since
> Netbeans integrates with Ant, all I have to do is double click on the
build
> script. At that point, running the Cactus test is as easy as executing the
> Test's main method.
>
> In other words, to integrate with NetBeans, all you have to do is ensure
> that your server is configured properly, has your test code on it, and is
> started :)--No Netbeans work involved (though Ant *is*).
>
Well that's one possibility. The good thing with this is that you're using
the same build mechanism inside and outside the IDE. However, there is also
another : simply run the server through Netbeans directly without going
through an Ant build file. The advantage is speed and debugging (unless
you're doing remote debugging which I have never found to work very
successfully). Also if you set up your classes output path to be the
WEB-INF/classes of your webapp, you can leave the server running (automatic
reloading of webapps) so that you don't have to stop and restart it every
time you want to run a testcase.
> Cheers,
-Vincent