ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alban Peignier" <alban.peign...@free.fr>
Subject Re: JMX Weblogic Stop Task
Date Wed, 29 Jan 2003 14:35:57 GMT
I've found the same workaround. .. but I doesn't need to fork :

--- build.xml part ---
  <target name="test.main" depends="prepare, prepare.classpath, test.check">
    <java classname="Main" classpathref="classpath">
      <arg line="--server ${server}"/>
      <arg line="--password ${password}"/>
      <arg line="--url ${adminurl}"/>
    </java>
  </target>

  <target name="test.task" depends="prepare, prepare.classpath, test.check">
    <taskdef name="wljmxstop" classname="WLJMXStop"
    classpathref="classpath" />
    <wljmxstop username="system"  servername="${server}"
    password="${password}"	       adminserverurl="${adminurl}"/>
  </target>
---

The 'test.main' target works. The 'test.task' targt doesn't work.

The BEA support is currently studying the problem.

Alban

-- 
http://www.tryphon.homeip.net/~alban



---------------------------------------------------------------------
To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-dev-help@jakarta.apache.org


Mime
View raw message