Restarts the server to which you are connected.
restart
<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/> <target name="restart" > <wst_antTask command="restart"
This command restarts the server to which you are connected:
wstool restart
Ant build example:
<wst_antTask command="restart" />