Mihir, IBM provides Ant tasks to start/stop the server. However you have to run them from within a special Ant environment (runAnt). I find it is easier to configure the build to just run the shell scripts to stop/start the server. It's also less intrusive on your build.