How to start stop JBoss server using Ant target?

Grey

New Member
Starting stopping JBoss server using Ant target instead of exec and pass the run script i.e. build.xml\[code\]<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="http://stackoverflow.com/questions/10434588/true"/> </exec> </target>\[/code\]
 
Back
Top