blob: 07e8e744e20e9c5b6a746db03f5449f54479a679 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
##
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing,
## software distributed under the License is distributed on an
## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
## KIND, either express or implied. See the License for the
## specific language governing permissions and limitations
## under the License.
##
##
## This is an Velocity template for generating an HTML index
## of the Ant Task/Types
##
## Objects expected in context:
##
## $title - Project title (of type String)
## $antroot - (of type AntRoot)
##
<html>
<head>
<title>$title</title>
<link href="styles.css" type="text/css" rel="stylesheet">
</head>
<body class="index">
<div>
#if ($category == 'all')
#set ($taskDocs = $antroot.getAll())
<h3>Core Tasks</h3>
#else
#set ($taskDocs = $antroot.getTasksByCategory($category))
<h3>$category Tasks</h3>
#end
#foreach ($taskDoc in $taskDocs)
#if ($taskDoc && $taskDoc.isTask() && !$taskDoc.isIgnored())
<p><a href="${taskDoc.getFullClassName()}.html" target="task">Task <code>${taskDoc.getAntName()}</code></a></p>
#if ($taskDoc.getShortComment())
<p class="taskShortDescription">$taskDoc.getShortComment()</p>
#end
#end
#end
</div>
</body>
</html>