![](/img/trans.png)
[英]How to connect to remote server and start/stop the Tomcat that's running on that particular server using Ant?
[英]How to start stop JBoss server using Ant target?
开始使用Ant目标而非exec停止JBoss服务器并传递运行脚本,即
<target="start-jboss" description="Starts JBoss instance" depends="prepare">
<exec dir="${jboss.home}/bin" executable="cmd.exe" os="Windows07">
<arg line="/c run.bat -S"/>
<env key="NOPAUSE" value="true"/>
</exec>
</target>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.