<!-- =================================================================== -->
<!-- Start Tomcat -->
<!-- =================================================================== -->
<target name="start.tomcat"
description="starts tomcat in the current console window">
<java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
<jvmarg value="-Dcatalina.home=${tomcat.home}"/>
<arg value="start"/>
<classpath>
<pathelement path="${java.home}/../lib/tools.jar"/>
<fileset dir="${tomcat.home}">
<include name="bin/bootstrap.jar"/>
</fileset>
</classpath>
</java>
</target>
I don't know if the ${java.home} stuff is necessary, but I left it in there since i don't have time to test it w/o.
Matt
On Jan 27, 2004, at 3:38 PM, Keshav Sarin wrote:
Does anyone know how to start tomcat 5 using ant target?
Thanks Keshav
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
