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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]