The "sleep" target never gets executed if I'm using Resin 2.16. It works
fine when I'm using Resin 2.05.
Resin 2.1.6 starts and just stays forever but Resin 2.0.5 doesn't have any
problems.
Can anyone help?
-Sitaram
<target name="sleep">
<echo message = "In the target sleep "/>
<script language="javascript"> <![CDATA[
importPackage(java.util);
importPackage(java.lang);
java.lang.System.out.print("Sleeping... (5 sec)");
java.lang.Thread.sleep(5000);
java.lang.System.out.println("Waking...");
]]>
</script>
</target>
<target name="StartStopServer">
<antcall target="CheckServerTypeAndStartServer"/>
<antcall target="sleep"/>
<antcall target="CheckServerTypeAndStopServer"/>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]