![](/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.