For those that are interested, here's a simple but useful task
that sleeps for a specified length of time.

We've used it to ensure that Tomcat has had time to
start and is ready to receive requests.

Rob.

Servidium Inc.
http://www.servidium.com
Build better web and wireless applications faster.


Attachment: Sleep.java
Description: Binary data

Title: Ant User Manual

Sleep

Description

Sleeps for a specified period of time.

Parameters

Attribute Description Required
millis length of time to sleep in milliseconds. Yes, and the value must be greater than zero.

Examples

  <sleep millis="10000"/>
   

Reply via email to