Invoking Tomcat

2002-02-20 Thread dnc
Hi, Is it possible for Ant to shutdown Tomcat if it is already running, build my web archive and after deploying it to start Tomcat up again if the build is sucessful? This would save me typing: shutdown build startup every time I want to run my web app. D. Clarkson -- To unsubscribe,

RE: Invoking Tomcat

2002-02-20 Thread dnc
That looks like a good idea and I tried it: target name=deploy-war depends=concepweb-war delete dir=${tomcat.home}/webapps/ConcepWeb / copy file=${build.classes.dir}/ConcepWeb.war todir=${tomcat.home}/webapps / /target target name=test depends=deploy-war exec dir=${tomcat.home}/bin