jvanzyl 2003/02/03 20:43:06
Modified: . maven.xml project.xml
templates mail.xml navigation.xml whoweare.xml
Added: . README.txt
Log:
o updating all the goodies I just used to generate the site.
Revision Changes Path
1.2 +13 -2 db-site/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/db-site/maven.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- maven.xml 4 Feb 2003 03:33:24 -0000 1.1
+++ maven.xml 4 Feb 2003 04:43:06 -0000 1.2
@@ -27,12 +27,23 @@
|
-->
+ <!-- We can probably loop this ... -->
+
<velocity:merge
name="${basedir}/xdocs/navigation.xml"
basedir="${basedir}/templates"
template="navigation.xml"/>
-
-
+
+ <velocity:merge
+ name="${basedir}/xdocs/mail.xml"
+ basedir="${basedir}/templates"
+ template="mail.xml"/>
+
+ <velocity:merge
+ name="${basedir}/xdocs/whoweare.xml"
+ basedir="${basedir}/templates"
+ template="whoweare.xml"/>
+
<attainGoal name="xdoc"/>
</goal>
1.2 +2 -2 db-site/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/db-site/project.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- project.xml 4 Feb 2003 03:33:24 -0000 1.1
+++ project.xml 4 Feb 2003 04:43:06 -0000 1.2
@@ -8,7 +8,7 @@
<organization>
<name>Apache Software Foundation</name>
<url>http://jakarta.apache.org/</url>
- <logo>/images/jakarta-logo-blue.gif</logo>
+ <logo>/images/db-logo-blue.png</logo>
</organization>
<inceptionYear>2001</inceptionYear>
<package>org.apache.maven</package>
@@ -25,7 +25,7 @@
<url>http://jakarta.apache.org/turbine/${pom.id}/</url>
<issueTrackingUrl>http://jira.werken.com/BrowseProject.jspa?id=10030</issueTrackingUrl>
<siteAddress>jakarta.apache.org</siteAddress>
- <siteDirectory>/www/jakarta.apache.org/turbine/maven/</siteDirectory>
+ <siteDirectory>/www/db.apache.org/</siteDirectory>
<distributionDirectory>/www/jakarta.apache.org/builds/jakarta-turbine-maven/</distributionDirectory>
<repository/>
1.1 db-site/README.txt
Index: README.txt
===================================================================
Generating the site:
If you are going to attempt to generate the site you need to setup your
checked out repositories like so:
[parent]
|
+-- db-commons
|
+-- db-ojb
|
+-- db-site
|
+-- db-torque
Then inside the 'db-site' directory run 'maven'. This will generate the
front-end site for db.apache.org. I know this is sparse at the moment but
will more will come with some feedback.
1.2 +15 -1 db-site/templates/mail.xml
Index: mail.xml
===================================================================
RCS file: /home/cvs/db-site/templates/mail.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mail.xml 4 Feb 2003 02:39:44 -0000 1.1
+++ mail.xml 4 Feb 2003 04:43:06 -0000 1.2
@@ -39,6 +39,20 @@
<a href="newproject.html">this page</a>.
</p>
</section>
-
+
+ #foreach ($reactorProject in $reactorProjects)
+ <section name="$reactorProject.name Mailing Lists">
+ #foreach ($mailingList in $reactorProject.mailingLists)
+ <p>
+ <b>$mailingList.name</b>
+ <br/>
+ <a href="mailto:$mailingList.subscribe">Subscribe</a> |
+ <a href="mailto:$mailingList.unsubscribe">Unsubscribe</a> |
+ <a href="$mailingList.archive">Archive</a>
+ </p>
+ #end
+ </section>
+ #end
+
</body>
</document>
1.3 +2 -0 db-site/templates/navigation.xml
Index: navigation.xml
===================================================================
RCS file: /home/cvs/db-site/templates/navigation.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- navigation.xml 4 Feb 2003 03:33:24 -0000 1.2
+++ navigation.xml 4 Feb 2003 04:43:06 -0000 1.3
@@ -8,6 +8,8 @@
<body>
<menu name="Home">
<item name="DB Apache Project" href="/index.html" />
+ <item name="Mailing Lists" href="/mail.html" />
+ <item name="Who We Are" href="/whoweare.html" />
</menu>
<menu name="Sub Projects">
1.2 +42 -0 db-site/templates/whoweare.xml
Index: whoweare.xml
===================================================================
RCS file: /home/cvs/db-site/templates/whoweare.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whoweare.xml 4 Feb 2003 02:39:44 -0000 1.1
+++ whoweare.xml 4 Feb 2003 04:43:06 -0000 1.2
@@ -29,6 +29,48 @@
</section>
<section name="Committers">
+ <p>
+ <table>
+ <tr>
+ <th>Name</th>
+ <th>Id</th>
+ <th>Email</th>
+ <th>Organization</th>
+ <th>Roles</th>
+ </tr>
+
+ #foreach ($reactorProject in $reactorProjects)
+ #foreach ($developer in $reactorProject.developers)
+ <tr>
+ #if ($developer.url.length() != 0)
+ <td>
+ <a href="$developer.url">$!developer.name</a>
+ </td>
+ #else
+ <td>$!developer.name</td>
+ #end
+ <td>
+ <a name="$!developer.id">$!developer.id</a>
+ </td>
+ <td>
+ <a href="mailto:$!developer.email">$!developer.email</a>
+ </td>
+ <td>$!developer.organization</td>
+ <td>
+ #foreach ($role in $developer.roles)
+ $role
+ <br/>
+ #end
+ </td>
+ </tr>
+ #end
+ #end
+ </table>
+ </p>
</section>
</body>
</document>
+
+
+
+