@@ -150,8 +150,71 @@
<pre class="code">$escape.getText($value.getText())</pre>
#end
#macro ( makeProject )
#set ($menus = $project.getChild("body").getChildren("menu"))
#macro ( makeTabs )
<div class="tab">
<table summary="tab bar" border="0" cellpadding="0" cellspacing="0">
<tr>
#set ( $tabs = $project.getChild("body").getChildren("menusection"))
#if ( $project.getChild("body").getChild("menusection") )
#foreach ( $tab in $tabs )
#set ($currentIndex = $root.getChild("properties").getChild("index").getAttributeValue("value") )
#set ($index = $tab.getAttributeValue("index"))
#set ($name = $tab.getAttributeValue("name"))
#set ($link = $tab.getAttributeValue("href"))
#if ( ($currentIndex && $currentIndex.trim().equals( $index )) || ((!$currentIndex) && $velocityCount == 1) )
<td width="8"><img alt="" height="5" width="8" src="images/spacer.gif"></td><td valign="bottom">
<table summary="selected tab" style="height: 1.5em" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="5" bgcolor="$blue2"><img height="5" width="5" alt="" src="$relativePath/images/tabSel-left.gif"></td><td valign="middle" bgcolor="$blue2"><font color="$lightfg" size="2" face="Arial, Helvetica, Sans-serif"><b>$name</b></font></td><td valign="top" width="5" bgcolor="$blue2"><img height="5" width="5" alt="" src="$relativePath/images/tabSel-right.gif"></td>
</tr>
</table>
</td>
#else
<td width="5"><img alt="" height="8" width="8" src="$relativePath/images/spacer.gif"></td><td valign="bottom">
<table summary="non selected tab" style="height: 1.4em" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="5" bgcolor="$blue4"><img height="5" width="5" alt="" src="$relativePath/images/tab-left.gif"></td><td valign="middle" bgcolor="$blue4"><a href="$relativePath$link"><font size="2" face="Arial, Helvetica, Sans-serif">$name</font></a></td><td valign="top" width="5" bgcolor="$blue4"><img height="5" width="5" alt="" src="$relativePath/images/tab-right.gif"></td>
</tr>
</table>
</td>
#end
#end
#else
<td width="8"><img alt="" height="5" width="8" src="images/spacer.gif"></td><td valign="bottom">
<table summary="selected tab" style="height: 1.5em" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="5" bgcolor="$blue2"><img height="5" width="5" alt="" src="$relativePath/images/tabSel-left.gif"></td><td valign="middle" bgcolor="$blue2"><font color="$lightfg" size="2" face="Arial, Helvetica, Sans-serif"><b>Home</b></font></td><td valign="top" width="5" bgcolor="$blue2"><img height="5" width="5" alt="" src="$relativePath/images/tabSel-right.gif"></td>
</tr>
</table>
</td>
#end
</tr>
</table>
</div>
#end
#macro ( makeMainNavigation )
#set ( $tabs = $project.getChild("body").getChildren("menusection"))
#if ( $project.getChild("body").getChild("menusection") )
#set ( $currentIndex = $root.getChild("properties").getChild("index").getAttributeValue("value") )
#if ( $currentIndex )
#foreach ( $tab in $tabs )
#set ($index = $tab.getAttributeValue("index"))
#if ( $currentIndex.trim().equals( $index ) )
#set ($menus = $tab.getChildren("menu"))
#end
#end
#else
#set ($menus = $project.getChild("body").getChild("menusection").getChildren("menu"))
#end
#else
#set ($menus = $project.getChild("body").getChildren("menu"))
#end
#makeProject ( $menus )
#end
#macro ( makeProject $menus)
<div class="menu"><ul>
#foreach ( $menu in $menus )
<li><font color="$blue1">$menu.getAttributeValue("name")</font>
@@ -179,7 +242,7 @@
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
<link type="text/css" href="page.css" rel="stylesheet">
<link type="text/css" href="$relativePath/ page.css" rel="stylesheet">
#set ($authors = $root.getChild("properties").getChildren("author"))
#foreach ( $au in $authors )
#metaauthor ( $au.getText() $au.getAttributeValue("email") )
@@ -189,57 +252,45 @@
<body text="$darkfg" bgcolor="$lightbg">
<table summary="navigation path" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap="nowrap" valign="middle" bgcolor="$blue1" height="20"><img height="1" width="5" alt="" border="0" src="images/spacer.gif"><font size="2" face="Arial, Helvetica, Sans-serif"><script src="breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
<td nowrap="nowrap" valign="middle" bgcolor="$blue1" height="20"><img height="1" width="5" alt="" border="0" src="$relativePath/ images/spacer.gif"><font size="2" face="Arial, Helvetica, Sans-serif"><script src="$relativePath/ breadcrumbs.js" language="JavaScript" type="text/javascript"></script></font></td>
</tr>
<tr>
<td bgcolor="$blue2" height="2"><img height="2" width="2" alt="" border="0" src="images/spacer.gif"></td>
<td bgcolor="$blue2" height="2"><img height="2" width="2" alt="" border="0" src="$relativePath/ images/spacer.gif"></td>
</tr>
</table>
<table summary="header with logos" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="$blue3"><a href="http://ant.apache.org/"><img border="0" alt="Apache Ant site" src="images/group-logo.gif"></a></td><td width="100%" align="center" bgcolor="$blue3"><a href="http://ant.apache.org/"><img alt="Apache Ant logo" border="0" src="images/project-logo.gif"></a></td><td valign="top" rowspan="2" bgcolor="$blue3">
<td bgcolor="$blue3"><a href="http://ant.apache.org/"><img border="0" alt="Apache Ant site" src="$relativePath/ images/group-logo.gif"></a></td><td width="100%" align="center" bgcolor="$blue3"><a href="http://ant.apache.org/"><img alt="Apache Ant logo" border="0" src="$relativePath/ images/project-logo.gif"></a></td><td valign="top" rowspan="2" bgcolor="$blue3">
<form target="_blank" onsubmit="q.value = query.value + ' site:ant.apache.org'" action="http://www.google.com/search" method="get">
<table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="$blue2">
<tr>
<td colspan="3"><img height="10" width="1" alt="" src="images/spacer.gif"></td>
<td colspan="3"><img height="10" width="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
<tr>
<td><img height="1" width="1" alt="" src="images/spacer.gif"></td><td nowrap="nowrap"><input name="q" type="hidden"><input size="15" id="query" type="text"><img height="1" width="5" alt="" src="images/spacer.gif"><input name="Search" value="Search" type="submit">
<td><img height="1" width="1" alt="" src="$relativePath/ images/spacer.gif"></td><td nowrap="nowrap"><input name="q" type="hidden"><input size="15" id="query" type="text"><img height="1" width="5" alt="" src="$relativePath/ images/spacer.gif"><input name="Search" value="Search" type="submit">
<br>
<font face="Arial, Helvetica, Sans-serif" size="2" color="white">
the Apache Ant site
</font></td><td><img height="1" width="1" alt="" src="images/spacer.gif"></td>
</font></td><td><img height="1" width="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
<tr>
<td><img alt="" border="0" height="10" width="9" src="images/search-left.gif"></td><td><img height="1" width="1" alt="" src="images/spacer.gif"></td><td><img alt="" border="0" height="10" width="9" src="images/search-right.gif"></td>
<td><img alt="" border="0" height="10" width="9" src="$relativePath/ images/search-left.gif"></td><td><img height="1" width="1" alt="" src="$relativePath/ images/spacer.gif"></td><td><img alt="" border="0" height="10" width="9" src="$relativePath/ images/search-right.gif"></td>
</tr>
</table>
</form>
</td><td bgcolor="$blue3"><img height="10" width="10" alt="" src="images/spacer.gif"></td>
</td><td bgcolor="$blue3"><img height="10" width="10" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
<tr>
<td valign="bottom" bgcolor="$blue3" colspan="2">
<div class="tab">
<table summary="tab bar" border="0" cellpadding="0" cellspacing="0">
<tr>
#makeTabs()
<td width="8"><img alt="" height="8" width="8" src="images/spacer.gif"></td><td valign="bottom">
<table summary="selected tab" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="30" valign="top" width="5" bgcolor="$blue2"><img height="5" width="5" alt="" src="images/tabSel-left.gif"></td><td valign="middle" bgcolor="$blue2"><font color="$lightfg" size="2" face="Arial, Helvetica, Sans-serif"><b>Home</b></font></td><td valign="top" width="5" bgcolor="$blue2"><img height="5" width="5" alt="" src="images/tabSel-right.gif"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td><td bgcolor="$blue3"><img alt="" width="1" height="1" src="images/spacer.gif"></td>
</td><td bgcolor="$blue3"><img alt="" width="1" height="1" src="$relativePath/images/spacer.gif"></td>
</tr>
<tr>
<td bgcolor="$blue2" colspan="4"><img width="1" height="10" alt="" src="images/spacer.gif"></td>
<td bgcolor="$blue2" colspan="4"><img width="1" height="10" alt="" src="$relativePath/images/spacer.gif"></td>
</tr>
</table>
<table summary="page content" bgcolor="$lightbg" width="100%" border="0" cellpadding="0" cellspacing="0">
@@ -250,49 +301,49 @@
<td rowspan="3" valign="top">
<table summary="blue line" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="$blue3"><img width="10" height="1" alt="" src="images/spacer.gif"></td>
<td bgcolor="$blue3"><img width="10" height="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
<tr>
<td bgcolor="$blue1"><font color="$blue2" size="4" face="Arial, Helvetica, Sans-serif"> </font></td>
</tr>
<tr>
<td bgcolor="$blue3"><img width="10" height="1" alt="" src="images/spacer.gif"></td>
<td bgcolor="$blue3"><img width="10" height="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
</table>
</td><td bgcolor="$blue3"><img width="1" height="1" alt="" src="images/spacer.gif"></td><td valign="bottom" bgcolor="$blue2"><img width="10" height="10" alt="" src="images/spacer.gif"></td><td nowrap="nowrap" valign="top" bgcolor="$blue2">
#makeProject ()
</td><td valign="bottom" bgcolor="$blue2"><img width="10" height="10" alt="" src="images/spacer.gif"></td><td bgcolor="$blue3"><img width="1" height="1" alt="" src="images/spacer.gif"></td>
</td><td bgcolor="$blue3"><img width="1" height="1" alt="" src="$relativePath/ images/spacer.gif"></td><td valign="bottom" bgcolor="$blue2"><img width="10" height="10" alt="" src="$relativePath/ images/spacer.gif"></td><td nowrap="nowrap" valign="top" bgcolor="$blue2">
#makeMainNavigation ()
</td><td valign="bottom" bgcolor="$blue2"><img width="10" height="10" alt="" src="$relativePath/ images/spacer.gif"></td><td bgcolor="$blue3"><img width="1" height="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
<tr>
<td valign="bottom" align="left" colspan="2" rowspan="2" bgcolor="$blue2"><img height="10" width="10" border="0" alt="" src="images/menu-left.gif"></td><td bgcolor="$blue2"><img height="10" width="10" border="0" alt="" src="images/spacer.gif"></td><td valign="bottom" align="right" colspan="2" rowspan="2" bgcolor="$blue2"><img height="10" width="10" border="0" alt="" src="images/menu-right.gif"></td>
<td valign="bottom" align="left" colspan="2" rowspan="2" bgcolor="$blue2"><img height="10" width="10" border="0" alt="" src="$relativePath/ images/menu-left.gif"></td><td bgcolor="$blue2"><img height="10" width="10" border="0" alt="" src="$relativePath/ images/spacer.gif"></td><td valign="bottom" align="right" colspan="2" rowspan="2" bgcolor="$blue2"><img height="10" width="10" border="0" alt="" src="$relativePath/ images/menu-right.gif"></td>
</tr>
<tr>
<td height="1" bgcolor="$blue3"><img width="1" height="1" alt="" src="images/spacer.gif"></td>
<td height="1" bgcolor="$blue3"><img width="1" height="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
</table>
</td><td valign="top" width="100%">
<table summary="content" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="4" bgcolor="$blue3"><img width="10" height="1" alt="" src="images/spacer.gif"></td>
<td colspan="4" bgcolor="$blue3"><img width="10" height="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
<tr>
<td align="left" width="10" bgcolor="$blue1"><img width="10" height="1" alt="" src="images/spacer.gif"></td><td align="left" width="50%" bgcolor="$blue1"><font color="$blue2" size="3" face="Arial, Helvetica, Sans-serif">
<td align="left" width="10" bgcolor="$blue1"><img width="10" height="1" alt="" src="$relativePath/ images/spacer.gif"></td><td align="left" width="50%" bgcolor="$blue1"><font color="$blue2" size="3" face="Arial, Helvetica, Sans-serif">
</font><img width="10" height="8" alt="" src="images/spacer.gif"></td><td align="right" width="50%" bgcolor="$blue1"><font color="$blue2" size="3" face="Arial, Helvetica, Sans-serif">
</font><img width="10" height="8" alt="" src="$relativePath/ images/spacer.gif"></td><td align="right" width="50%" bgcolor="$blue1"><font color="$blue2" size="3" face="Arial, Helvetica, Sans-serif">
</font><img width="10" height="8" alt="" src="images/spacer.gif"></td><td width="10" bgcolor="$blue1"><img width="10" height="1" alt="" src="images/spacer.gif"></td>
</font><img width="10" height="8" alt="" src="$relativePath/ images/spacer.gif"></td><td width="10" bgcolor="$blue1"><img width="10" height="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
<tr>
<td colspan="4" bgcolor="$blue3"><img width="10" height="1" alt="" src="images/spacer.gif"></td>
<td colspan="4" bgcolor="$blue3"><img width="10" height="1" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
<tr>
<td align="left" width="10"><img width="10" height="1" alt="" src="images/spacer.gif"></td><td align="left" width="100%">
<td align="left" width="10"><img width="10" height="1" alt="" src="$relativePath/ images/spacer.gif"></td><td align="left" width="100%">
<div class="content">
#end
#macro (footer)
</div>
</td><td width="10"><img width="10" height="4" alt="" src="images/spacer.gif"></td>
</td><td width="10"><img width="10" height="4" alt="" src="$relativePath/ images/spacer.gif"></td>
</tr>
</table>
</td>
@@ -300,7 +351,7 @@
</table>
<table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td colspan="2" height="1" bgcolor="$blue2"><img height="1" width="1" alt="" src="images/spacer.gif"><a href="images/label.gif"></a><a href="images/page.gif"></a><a href="images/chapter.gif"></a><a href="images/chapter_open.gif"></a><a href="images/current.gif"></a><a href="/favicon.ico"></a></td>
<td colspan="2" height="1" bgcolor="$blue2"><img height="1" width="1" alt="" src="$relativePath/ images/spacer.gif"><a href="$relativePath/ images/label.gif"></a><a href="$relativePath/ images/page.gif"></a><a href="$relativePath/ images/chapter.gif"></a><a href="$relativePath/ images/chapter_open.gif"></a><a href="$relativePath/ images/current.gif"></a><a href="/favicon.ico"></a></td>
</tr>
<tr>
<td colspan="2" bgcolor="$blue1" class="copyright" align="center"><font size="2" face="Arial, Helvetica, Sans-Serif">Copyright © 2000-2003 The Apache Software Foundation. All rights reserved.<script type="text/javascript" language="JavaScript"><!--