ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sitaram Krishnamurthy" <ksita...@aalayance.com>
Subject Problem using Resin 2.1.6
Date Wed, 05 Feb 2003 16:41:35 GMT
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>


Mime
View raw message