From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/sleep.html | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/sleep.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/sleep.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/sleep.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/sleep.html new file mode 100644 index 00000000..80827b51 --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/sleep.html @@ -0,0 +1,85 @@ + + + + + +Sleep Task + + + + +

Sleep

+

Description

+

A task for sleeping a short period of time, useful when a build or deployment + process requires an interval between tasks.

+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
hourshours to to add to the sleep timeNo
minutes minutes to add to the sleep timeNo
secondsseconds to add to the sleep timeNo
millisecondsmilliseconds to add to the sleep timeNo
failonerrorflag controlling whether to break the build on an error. + No
+

The sleep time is the sum of specified values, hours, minutes seconds and milliseconds. + A negative value can be supplied to any of them provided the total sleep time + is positive

+

Note that sleep times are always hints to be interpred by the OS how it feels + - small times may either be ignored or rounded up to a minimum timeslice. Note + also that the system clocks often have a fairly low granularity too, which complicates + measuring how long a sleep actually took.

+

Examples

+
   <sleep milliseconds="10"/>
+Sleep for about 10 mS. +
   <sleep seconds="2"/>
+Sleep for about 2 seconds. +
   <sleep hours="1" minutes="-59" seconds="-58"/>
+

Sleep for one hour less 59:58, or two seconds again

+
   <sleep/>
+Sleep for no time at all. This may yield the CPU time to another thread or process. + + + + + -- cgit 1.2.3-korg