Additional Ant Tasks

Dale Anson


Table of Contents

1. Introduction
2. License
3. Installation
4. Assert Task
5. If Task
If
More Conditions
6. SwitchTask
7. Try Task
8. Unset Task
9. Variable Task
10. Stopwatch
11. Limit
12. FileUtils
13. StringUtils
14. UID
15. Math
16. Hostname
17. HTTP Post
18. SSH and SCP
19. AntFetch
20. AntCallBack
21. Call Task
22. Grep Task
23. Split Task
24. Repeat Task
25. Suite Task
26. TestCase Task
27. Performance Monitoring
28. Feedback

List of Tables

4.1. Assert Task Attributes
5.1. If Task Attributes
5.2. IfPropertyTrue Attributes
5.3. IfPropertyFalse Attributes
5.4. StartsWith Attributes
5.5. EndsWith Attributes
5.6. IsGreaterThan Attributes
5.7. IsLessThan Attributes
5.8. DateBefore, TimeBefore
5.9. DateDifference, TimeDifference
6.1. Switch Task Attributes
6.2. "case" and "default" Attributes
7.1. Try Task Attributes
8.1. Unset Task Attributes
9.1. Variable Task Attributes
10.1. Stopwatch Task Attributes
11.1. Limit Task Attributes
12.1. FileUtil Task Attributes
12.2. listfiles
12.3. lastmodified
13.1. StringUtil Task Attributes
13.2. indexof, lastindexof: Find the index of or the last index of a substring.
13.3. substring: Get a substring from the string.
13.4. replace: Replace parts of the string.
13.5. sort: Sort items in a string.
13.6. messagebox: Put the string in a box for nice display.
14.1. UID Task Attributes
15.1. Math Task Attributes
15.2. Op Attributes
15.3. Num Attributes
16.1. Hostname Task Attributes
17.1. Post Task Attributes
17.2. Prop Attributes
19.1. AntFetch Attributes
20.1. AntCallBack Attributes
21.1. Call Task Attributes
22.1. Grep Task Attributes
23.1. Split Task Attributes
24.1. Repeat Task Attributes
25.1. Suite Attributes
26.1. TestCase Attributes