시소당
deploy를 맘대로 ant에서 주무를 수 있듯이, was의 start / shutdown 또한 맘대로 주무른다.
1. start
dir은 도메인 디렉토리 네임을
준다.
<target name="start-server">
<wlserver dir="./config" host="127.0.0.1" port="7001" action="start"/>
</target>
2. shutdown
action만 바꿔주면 된다. 참고로 start, shutdown, reboot, connect 값이 가능하다
<target name="shutdown-server">
<wlserver dir="./config" host="127.0.0.1" port="7001" action="shutdown"/>
</target>
3. reboot, connect는 DIY~
출처 : http://doyou.tistory.com/15