ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject Re: Running tomcat under ant
Date Wed, 11 Apr 2001 15:05:07 GMT

----- Original Message -----
From: "Jim Cheesman" <jchees@msl.es>
To: <ant-user@jakarta.apache.org>
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.


Mime
View raw message