Hello,
I am using the ant task 'runservertests' as indicated in the manual.
It works perfectly well when the server starts correctly, but I have a
problem when the weblogic server doesn't start (because of a
misconfiguration,
a file missing...).
The ant logs returns "Java Result: 1", and ant never exits from the
"start.weblogic"
task I defined.
Is there any "timeout" that I could set up in 'runservertests'?
Thanks for your help,
Herve
<target name="unittests.with.weblogic" description="Run tests on Diligent
Server" depends="unittests.compile">
<taskdef name="runservertests"
classname="org.apache.cactus.ant.RunServerTestsTask">
<classpath>
<pathelement location="${cactus.ant.jar}"/>
</classpath>
</taskdef>
<runservertests
testURL="http://localhost:7001/ServletRedirector?Cactus_Service=RUN_TEST"
startTarget="start.weblogic"
stopTarget="stop.weblogic"
testTarget="unittests.all"/>
</target>
<target name="start.weblogic">
...
</target>
<target name="stop.weblogic">
...
</target>
--
To unsubscribe, e-mail: <mailto:cactus-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@;jakarta.apache.org>