Is there anyway to effectively start or stop the Tomcat 5.5 windows service from within Ant?

I tried

     <exec dir="${tomcat.bin}" executable="tomcat5.exe">
           <arg line="//SS//Tomcat5"/>
     </exec>

but it produces an error message (although it works) and I don't know what the corresponding command would be to restart the service. Is there some standard way to accomplish this?

Thanks,

JWS

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

Reply via email to