ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billy.ba...@thirty3.net
Subject Starting up tomcat via the <exec> task?
Date Fri, 01 Aug 2003 20:32:10 GMT
I know there's a specific task <java> for starting up
tomcat but how would I start up tomcat through the
<exec> task... I have the following in my build.xml
file...

		<java
classname="org.apache.catalina.startup.Bootstrap"
fork="true">
			<classpath>
				<pathelement
location="${java.home}/../lib/tools.jar"/>
				<pathelement
location="${catalina.home}/bin/bootstrap.jar"/>
			</classpath>
			<jvmarg value="-Dvoyager=1"/>
			<jvmarg
value="-Djava.endorsed.dirs=${tc.endorsed.dirs}"/>
			<jvmarg value="-Dcatalina.home=${catalina.home}"/>
			<jvmarg value="-Dcatalina.base=${catalina.base}"/>
			<jvmarg
value="-Djava.io.tmpdir=${catalina.tempdir}"/>
			<jvmarg value="-Dfile.encoding=UTF-8"/>
			<jvmarg value="-Xmx${catalina.heapsize}m"/>
			<jvmarg value="-Xdebug"/>
			<jvmarg value="-Xnoagent"/>
			<jvmarg value="-Xrunjdwp:transport=${debug.args}"/>
			<arg value="start"/>
		</java>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message