bodewig 2002/12/11 00:37:50 Modified: docs ant15_todo.html antnews.html bindownload.html external.html faq.html index.html problems.html projects.html resources.html srcdownload.html proposal/ant-site/anakia/docs ant15_todo.html antnews.html bindownload.html bylaws.html contributors.html cvs.html external.html faq.html guidelines.html index.html legal.html mail.html mission.html problems.html projects.html resources.html srcdownload.html proposal/ant-site/anakia/xdocs bindownload.xml index.xml srcdownload.xml proposal/ant-site/anakia/xdocs/stylesheets templates.vm xdocs bindownload.xml srcdownload.xml xdocs/stylesheets templates.vm Log: Add support for <base> to Velocity templates, will be needed by download pages sooner or later Revision Changes Path 1.22 +1 -0 jakarta-ant/docs/ant15_todo.html Index: ant15_todo.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/ant15_todo.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- ant15_todo.html 10 Dec 2002 12:13:33 -0000 1.21 +++ ant15_todo.html 11 Dec 2002 08:37:45 -0000 1.22 @@ -12,6 +12,7 @@ <meta name="author" value="Erik Hatcher"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Ant 1.5 Release To-Do List</title> </head> 1.43 +1 -0 jakarta-ant/docs/antnews.html Index: antnews.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/antnews.html,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- antnews.html 10 Dec 2002 12:13:33 -0000 1.42 +++ antnews.html 11 Dec 2002 08:37:45 -0000 1.43 @@ -16,6 +16,7 @@ <meta name="author" value="Magesh Umasankar"> <meta name="email" value=""> + <title>Apache Ant - Ant News</title> </head> 1.2 +2 -0 jakarta-ant/docs/bindownload.html Index: bindownload.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/bindownload.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- bindownload.html 10 Dec 2002 12:13:33 -0000 1.1 +++ bindownload.html 11 Dec 2002 08:37:45 -0000 1.2 @@ -10,6 +10,8 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <base href="http://jakarta.apache.org/ant/."/> + <title>Apache Ant - Downloading Ant - Binary Distribution</title> </head> 1.70 +1 -0 jakarta-ant/docs/external.html Index: external.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/external.html,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- external.html 10 Dec 2002 12:13:33 -0000 1.69 +++ external.html 11 Dec 2002 08:37:45 -0000 1.70 @@ -12,6 +12,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - External Tools and Tasks</title> </head> 1.43 +1 -0 jakarta-ant/docs/faq.html Index: faq.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/faq.html,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- faq.html 10 Dec 2002 12:13:34 -0000 1.42 +++ faq.html 11 Dec 2002 08:37:46 -0000 1.43 @@ -12,6 +12,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Frequently Asked Questions</title> </head> 1.253 +1 -0 jakarta-ant/docs/index.html Index: index.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/index.html,v retrieving revision 1.252 retrieving revision 1.253 diff -u -r1.252 -r1.253 --- index.html 10 Dec 2002 16:55:51 -0000 1.252 +++ index.html 11 Dec 2002 08:37:46 -0000 1.253 @@ -14,6 +14,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Ant</title> </head> 1.25 +1 -0 jakarta-ant/docs/problems.html Index: problems.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/problems.html,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- problems.html 10 Dec 2002 12:13:34 -0000 1.24 +++ problems.html 11 Dec 2002 08:37:47 -0000 1.25 @@ -12,6 +12,7 @@ <meta name="author" value="Conor MacNeill"> <meta name="email" value=""> + <title>Apache Ant - Having Problems?</title> </head> 1.19 +1 -0 jakarta-ant/docs/projects.html Index: projects.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/projects.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- projects.html 10 Dec 2002 12:13:34 -0000 1.18 +++ projects.html 11 Dec 2002 08:37:47 -0000 1.19 @@ -12,6 +12,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Related Projects</title> </head> 1.38 +1 -0 jakarta-ant/docs/resources.html Index: resources.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/resources.html,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- resources.html 10 Dec 2002 12:13:34 -0000 1.37 +++ resources.html 11 Dec 2002 08:37:47 -0000 1.38 @@ -12,6 +12,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Resources</title> </head> 1.2 +2 -0 jakarta-ant/docs/srcdownload.html Index: srcdownload.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/srcdownload.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- srcdownload.html 10 Dec 2002 12:13:34 -0000 1.1 +++ srcdownload.html 11 Dec 2002 08:37:47 -0000 1.2 @@ -10,6 +10,8 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <base href="http://jakarta.apache.org/ant/."/> + <title>Apache Ant - Downloading Ant - Source Distribution</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/ant15_todo.html Index: ant15_todo.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/ant15_todo.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ant15_todo.html 10 Dec 2002 10:35:16 -0000 1.3 +++ ant15_todo.html 11 Dec 2002 08:37:47 -0000 1.4 @@ -12,6 +12,7 @@ <meta name="author" value="Erik Hatcher"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Ant 1.5 Release To-Do List</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/antnews.html Index: antnews.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/antnews.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- antnews.html 10 Dec 2002 10:35:16 -0000 1.3 +++ antnews.html 11 Dec 2002 08:37:47 -0000 1.4 @@ -16,6 +16,7 @@ <meta name="author" value="Magesh Umasankar"> <meta name="email" value=""> + <title>Apache Ant - Ant News</title> </head> 1.5 +2 -0 jakarta-ant/proposal/ant-site/anakia/docs/bindownload.html Index: bindownload.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/bindownload.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- bindownload.html 10 Dec 2002 10:35:16 -0000 1.4 +++ bindownload.html 11 Dec 2002 08:37:47 -0000 1.5 @@ -10,6 +10,8 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <base href="http://ant.apache.org/."/> + <title>Apache Ant - Downloading Ant - Binary Distribution</title> </head> 1.5 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/bylaws.html Index: bylaws.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/bylaws.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- bylaws.html 10 Dec 2002 10:35:16 -0000 1.4 +++ bylaws.html 11 Dec 2002 08:37:47 -0000 1.5 @@ -10,6 +10,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <title>Apache Ant - Apache Ant Project Bylaws</title> </head> 1.7 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/contributors.html Index: contributors.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/contributors.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- contributors.html 10 Dec 2002 10:35:16 -0000 1.6 +++ contributors.html 11 Dec 2002 08:37:47 -0000 1.7 @@ -10,6 +10,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <title>Apache Ant - Contributors</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/cvs.html Index: cvs.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/cvs.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- cvs.html 10 Dec 2002 10:35:16 -0000 1.3 +++ cvs.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -10,6 +10,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <title>Apache Ant - CVS Repository</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/external.html Index: external.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/external.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- external.html 10 Dec 2002 10:35:16 -0000 1.3 +++ external.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -12,6 +12,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - External Tools and Tasks</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/faq.html Index: faq.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/faq.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- faq.html 10 Dec 2002 10:35:16 -0000 1.3 +++ faq.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -12,6 +12,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Frequently Asked Questions</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/guidelines.html Index: guidelines.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/guidelines.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- guidelines.html 10 Dec 2002 10:35:16 -0000 1.3 +++ guidelines.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -10,6 +10,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <title>Apache Ant - Project Guidelines</title> </head> 1.5 +3 -3 jakarta-ant/proposal/ant-site/anakia/docs/index.html Index: index.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/index.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- index.html 10 Dec 2002 10:35:16 -0000 1.4 +++ index.html 11 Dec 2002 08:37:48 -0000 1.5 @@ -14,6 +14,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Ant</title> </head> @@ -98,9 +99,8 @@ <tr><td> <blockquote> <h3>Apache Ant 1.5.1 Released!</h3> - <p>Version 1.5.1 of Ant has been released. It is available for download - <a href="http://www.apache.org/dist/ant/">here</a>. - </p> + <p>Version 1.5.1 of Ant has been released. It is available for + download as <a href="bindownload.cgi">binary</a> or as <a href="srcdownload.cgi">source</a> distribution.</p> </blockquote> </td></tr> </table> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/legal.html Index: legal.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/legal.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- legal.html 10 Dec 2002 10:35:16 -0000 1.3 +++ legal.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -12,6 +12,7 @@ <meta name="author" value="Jon S. Stevens"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Legal Stuff They Make Us Say</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/mail.html Index: mail.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/mail.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- mail.html 10 Dec 2002 10:35:16 -0000 1.3 +++ mail.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -10,6 +10,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <title>Apache Ant - Mailing Lists</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/mission.html Index: mission.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/mission.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- mission.html 10 Dec 2002 10:35:16 -0000 1.3 +++ mission.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -10,6 +10,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <title>Apache Ant - Apache Ant Mission</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/problems.html Index: problems.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/problems.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- problems.html 10 Dec 2002 10:35:16 -0000 1.3 +++ problems.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -12,6 +12,7 @@ <meta name="author" value="Conor MacNeill"> <meta name="email" value=""> + <title>Apache Ant - Having Problems?</title> </head> 1.4 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/projects.html Index: projects.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/projects.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- projects.html 10 Dec 2002 10:35:16 -0000 1.3 +++ projects.html 11 Dec 2002 08:37:48 -0000 1.4 @@ -12,6 +12,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Related Projects</title> </head> 1.6 +1 -0 jakarta-ant/proposal/ant-site/anakia/docs/resources.html Index: resources.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/resources.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- resources.html 10 Dec 2002 10:35:16 -0000 1.5 +++ resources.html 11 Dec 2002 08:37:48 -0000 1.6 @@ -12,6 +12,7 @@ <meta name="author" value="Stefan Bodewig"> <meta name="email" value="[EMAIL PROTECTED]"> + <title>Apache Ant - Resources</title> </head> 1.5 +2 -0 jakarta-ant/proposal/ant-site/anakia/docs/srcdownload.html Index: srcdownload.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/docs/srcdownload.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- srcdownload.html 10 Dec 2002 10:35:16 -0000 1.4 +++ srcdownload.html 11 Dec 2002 08:37:48 -0000 1.5 @@ -10,6 +10,8 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> + <base href="http://ant.apache.org/."/> + <title>Apache Ant - Downloading Ant - Source Distribution</title> </head> 1.3 +1 -0 jakarta-ant/proposal/ant-site/anakia/xdocs/bindownload.xml Index: bindownload.xml =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/xdocs/bindownload.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- bindownload.xml 10 Dec 2002 07:46:19 -0000 1.2 +++ bindownload.xml 11 Dec 2002 08:37:49 -0000 1.3 @@ -3,6 +3,7 @@ <properties> <title>Downloading Ant - Binary Distribution</title> + <base/> </properties> <body> 1.4 +4 -3 jakarta-ant/proposal/ant-site/anakia/xdocs/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/xdocs/index.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- index.xml 9 Dec 2002 14:59:12 -0000 1.3 +++ index.xml 11 Dec 2002 08:37:49 -0000 1.4 @@ -11,9 +11,10 @@ <section name="Ant 1.5.1"> <h3>Apache Ant 1.5.1 Released!</h3> - <p>Version 1.5.1 of Ant has been released. It is available for download - <a href="http://www.apache.org/dist/ant/">here</a>. - </p> + + <p>Version 1.5.1 of Ant has been released. It is available for + download as <a href="bindownload.cgi">binary</a> or as <a + href="srcdownload.cgi">source</a> distribution.</p> </section> <section name="Apache Ant"> 1.3 +1 -0 jakarta-ant/proposal/ant-site/anakia/xdocs/srcdownload.xml Index: srcdownload.xml =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/xdocs/srcdownload.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- srcdownload.xml 10 Dec 2002 07:46:19 -0000 1.2 +++ srcdownload.xml 11 Dec 2002 08:37:49 -0000 1.3 @@ -3,6 +3,7 @@ <properties> <title>Downloading Ant - Source Distribution</title> + <base/> </properties> <body> 1.2 +9 -0 jakarta-ant/proposal/ant-site/anakia/xdocs/stylesheets/templates.vm Index: templates.vm =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/ant-site/anakia/xdocs/stylesheets/templates.vm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- templates.vm 3 Dec 2002 11:20:23 -0000 1.1 +++ templates.vm 11 Dec 2002 08:37:49 -0000 1.2 @@ -144,6 +144,15 @@ #metaauthor ( $au.getText() $au.getAttributeValue("email") ) #end + #if ($root.getChild("properties").getChild("base")) + #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href")) + #if ($url) + <base href="$url"/> + #else + <base href="$project.getAttributeValue("href")$relativePath"/> + #end + #end + <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title> </head> 1.2 +1 -0 jakarta-ant/xdocs/bindownload.xml Index: bindownload.xml =================================================================== RCS file: /home/cvs/jakarta-ant/xdocs/bindownload.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- bindownload.xml 10 Dec 2002 12:13:34 -0000 1.1 +++ bindownload.xml 11 Dec 2002 08:37:49 -0000 1.2 @@ -3,6 +3,7 @@ <properties> <title>Downloading Ant - Binary Distribution</title> + <base/> </properties> <body> 1.2 +1 -0 jakarta-ant/xdocs/srcdownload.xml Index: srcdownload.xml =================================================================== RCS file: /home/cvs/jakarta-ant/xdocs/srcdownload.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- srcdownload.xml 10 Dec 2002 12:13:35 -0000 1.1 +++ srcdownload.xml 11 Dec 2002 08:37:49 -0000 1.2 @@ -3,6 +3,7 @@ <properties> <title>Downloading Ant - Source Distribution</title> + <base/> </properties> <body> 1.11 +9 -0 jakarta-ant/xdocs/stylesheets/templates.vm Index: templates.vm =================================================================== RCS file: /home/cvs/jakarta-ant/xdocs/stylesheets/templates.vm,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- templates.vm 4 Oct 2002 08:32:13 -0000 1.10 +++ templates.vm 11 Dec 2002 08:37:49 -0000 1.11 @@ -155,6 +155,15 @@ #metaauthor ( $au.getText() $au.getAttributeValue("email") ) #end + #if ($root.getChild("properties").getChild("base")) + #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href")) + #if ($url) + <base href="$url"/> + #else + <base href="$project.getAttributeValue("href")$relativePath"/> + #end + #end + <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title> </head>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>