Is it possible to re-write the following two targets to start/stop Resin instead of Tomcat?

<!-- =================================================================== -->
<!-- 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>


<!-- =================================================================== -->
<!-- Stop Tomcat -->
<!-- =================================================================== -->
<target name="stop.tomcat" description="stops tomcat">
<java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
<jvmarg value="-Dcatalina.home=${tomcat.home}"/>
<arg value="stop"/>
<classpath>
<fileset dir="${tomcat.home}">
<include name="bin/bootstrap.jar"/>
</fileset>
</classpath>
</java>
</target>


Thanks,

Matt


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



Reply via email to