----- Original Message -----
From: "Jim Cheesman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 3:30 PM
Subject: Running tomcat under ant


> Is there anyway to start up tomcat from within ant, and then continue
> running? I'm trying to run some cactus tests from within ant, but of
course
> I need the compiled files to be available to tomcat for this to work. The
> problem is that the tomcat process never returns, and so ant hangs on the
> exec. Setting a timeout doesn't seem to help.
>
> Any ideas?
>

Yes, this is what we do for Cactus tests .... !
Look at http://jakarta.apache.org/commons/cactus/ant.html and
http://jakarta.apache.org/commons/cactus/servlets.html for documentation.
Download the Cactus sample for real code that does it !

Vincent Massol.

Reply via email to