|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 ## |
|
4 ## This is an Velocity template for generating an HTML index |
|
5 ## of the Ant Task/Types |
|
6 ## |
|
7 ## Objects expected in context: |
|
8 ## |
|
9 ## $title - Project title (of type String) |
|
10 ## $antroot - (of type AntRoot) |
|
11 ## |
|
12 <html> |
|
13 <head> |
|
14 <title>$title Ant Tasks</title> |
|
15 <link rel="stylesheet" type="text/css" href="style.css" /> |
|
16 |
|
17 </head> |
|
18 <body> |
|
19 |
|
20 <div id="navigation"> |
|
21 |
|
22 ## Tasks |
|
23 <h2>$category Tasks</h2> |
|
24 |
|
25 #foreach( $taskDoc in $antroot.getTasksByCategory($category) ) |
|
26 #if($taskDoc && !$taskDoc.isInnerClass()) |
|
27 |
|
28 <p><a href="${taskDoc.getFullClassName()}.html" target="task"> |
|
29 Task <${taskDoc.getAntName()}> |
|
30 </a> |
|
31 </p> |
|
32 <div class="description"> |
|
33 #if($taskDoc.getShortComment()) |
|
34 $taskDoc.getShortComment() |
|
35 #else |
|
36 <i>No comment available</i> |
|
37 #end |
|
38 </div> |
|
39 #end |
|
40 #end |
|
41 |
|
42 |
|
43 ## Types |
|
44 <h2>$category Types</h2> |
|
45 |
|
46 #foreach( $taskDoc in $antroot.getTypesByCategory($category) ) |
|
47 #if($taskDoc && !$taskDoc.isInnerClass() && $taskDoc.isTagged()) |
|
48 <p><a href="${taskDoc.getFullClassName()}.html" target="task"> |
|
49 Type <${taskDoc.getAntName()}> |
|
50 </a> |
|
51 </p> |
|
52 |
|
53 <div class="description"> |
|
54 #if($taskDoc.getShortComment()) |
|
55 $taskDoc.getShortComment() |
|
56 #else |
|
57 <i>No comment available</i> |
|
58 #end |
|
59 </div> |
|
60 |
|
61 #end |
|
62 #end |
|
63 </div> |
|
64 </body> |
|
65 </html> |