On Wed, 14 Aug 2002, Steve Downey wrote:

> This patch starts up a copy of tomcat with the watchdog war files, runs 
> watchdog against it, and shuts down tomcat afterwards. It uses the Launcher 
> to run tomcat in the background, and puts the webapps, work, logs and conf 
> directories in a tmp dir so as not to muck up the build.
> 
> The only part I really don't like is that there isn't a good way to know that 
> tomcat is up and running, so for now there's a sleep between launching tomcat 
> and starting the watchdog tests.

For tomcat5 ? Well, it is - if you use the task ( take a look at 
build2.xml ). The task will start tomcat inprocess, and will return 
after all the startup is done ( and continue with the next task ).

( unless you have wait="true" )

Costin




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

Reply via email to