On Wed, 22 Jan 2003, ROSSEL Olivier wrote:
> Date: Wed, 22 Jan 2003 18:01:57 +0100 > From: ROSSEL Olivier <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: AW: easy struts > > > > Can anyone tell me if Ant is able to start/stop Tomcat? > > > > > > > Cactus includes some Ant targets that do this, but I've never > > needed them. > > I just leave Tomcat running all the time and used the dynamic install, > > reload, and remove commands that come with Tomcat 4.1. > > > > Starting and stopping Tomcat takes *way* too long in a > > development cycle, > > on matter how you actually do it. > > So your development cycle is: > stop context, deploy, start context? > I presume it is more subtle than that. > Are the "dynamic install" "reload" and "remove" commands available via Ant? Yes. My development cycle is: 1) ant install (depends on the compile target, if needed) 2) test 3) fix something 4) ant reload (depends on compile target) 5) go to 2) unless its beer time, then go to 6) 6) ant remove I restart Tomcat itself only to upgrade versions or install new JAR files. This is all available with Tomcat 4.1, and documented as well: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/ Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>