검색결과 리스트
tomcat시작에 해당되는 글 1건
- 2008.09.05 ANT를 이용한 Tomcat Start, Stop (시작, 중지)
글
ANT를 이용한 Tomcat Start, Stop (시작, 중지)
Jakarta
2008. 9. 5. 16:57
ANT를 이용하여 Tomcat 시작, 중지 target
<property name="catalina.home" value="D:/DevTool/Tomcat55" />
<!-- =================================================================== -->
<!-- Tomcat START -->
<!-- =================================================================== -->
<target name="was-start">
<echo message="Start Tomcat" />
<java dir="${catalina.home}/bin/" jar="${catalina.home}/bin/bootstrap.jar" fork="true">
<arg value="start"/>
</java>
</target>
<!-- =================================================================== -->
<!-- Tomcat STOP -->
<!-- =================================================================== -->
<target name="was-stop">
<echo message="Stop Tomcat" />
<java dir="${catalina.home}/bin/" jar="${catalina.home}/bin/bootstrap.jar" fork="true">
<arg value="stop"/>
</java>
</target>