首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

ant 起动与关闭tomcat

2012-07-31 
ant 启动与关闭tomcat启动 注意tomcat.home是你的tomcat的安装路径?? ? target?nametomcat.stop ?? ?

ant 启动与关闭tomcat
启动

注意tomcat.home是你的tomcat的安装路径

?

?ant 起动与关闭tomcatant 起动与关闭tomcat ?ant 起动与关闭tomcatant 起动与关闭tomcat
    <target?name="tomcat.stop"> ?? ????<java?jar="${tomcat.home}/bin/bootstrap.jar"?fork="true"> ?? ????????<jvmarg?value="-Dcatalina.home=${tomcat.home}"/> ?? ????????<arg?line="stop"/> ?? ????</java> ?? ????<waitfor?maxwait="5"?maxwaitunit="second"> ?? ????????????????????????????????<available?file="errors.log"/> ?? ????</waitfor> ?? ?? </target>?

热点排行