WebSphere Ant Tasks
843833Aug 16 2007 — edited Sep 21 2007Has anybody been able to successfully run any of the ws specific ant tasks for WAS 6.1? I have the jar file - com.ibm.ws.runtime_6.1.0.jar (which I had to hunt down - it does not come with the 6.1 installation by the way - go figure). Here's an example ant target:
<target name="stopApp">
<taskdef name="wsStopApp" classname="com.ibm.websphere.ant.tasks.StopApplication"/>
<wsStopApp wasHome="${user.install.root}" application="myApp"/>
</target>
When I run this, the ant messages indicate that the app was stopped:
[wsStopApp] Stopping Application [rodApp]...
[wsStopApp] Stopped Application [rodApp]
But, the app is actually not stopped.
Maybe I'm missing a jar in my classpath, but there are no ClassNotFound errors or anything like that.
Thanks,
Bob