Hi
I noticed that the WAS5 plugin does not call ws_ant
before doing anything. Just by putting in the taskdef
for the WebSphere task into ant, it will not work
without the bootstrapping that ws_ant provides.

Here is the code snippet taken out from the plugin:

<goal name="was5:serverStatus" description="Show the
status of a WebSphere Appserver">
    <ant:fail
unless="maven.was5.serverStatus.server">maven.was5.serverStatus.server
must be specified (specifying maven.was5.server is
sufficient)</ant:fail>
    <maven:paramCheck fail="yes"
value="${maven.was5.home}" message="ERROR:
maven.was5.home is not set"/>
    <assert:assertFileExists file="${maven.was5.home}"
msg=" ERROR: maven.was5.home is not a valid
directory"/>

    <taskdef name="wasServerStatus"
classname="com.ibm.websphere.ant.tasks.ServerStatus"
classpath="${maven.was5.home}/lib/wsanttasks.jar"/>
    <ant:wasServerStatus
server="${maven.was5.serverStatus.server}">
...

Did this ever work for anybody?
J


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to