|
Ant example source code file (sleep.xml)
The sleep.xml source code
<project name="sleeptest" default="all" >
<target name="test1">
<sleep />
</target>
<target name="test2">
<sleep milliseconds="10"/>
</target>
<target name="test3">
<sleep seconds="2"/>
</target>
<target name="test4">
<sleep hours="1" minutes="-59" seconds="-58"/>
</target>
<target name="test5">
<sleep minutes="-59" seconds="-58"/>
</target>
<target name="test6">
<sleep minutes="-59" seconds="-58" failonerror="no"/>
</target>
<target name="all"
depends="test1,test2,test3,test4,test5" />
</project>
Other Ant examples (source code examples)Here is a short list of links related to this Ant sleep.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.