jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r606553 - in /incubator/jspwiki/site: ./ docs/ lib/ xdocs/ xdocs/images/ xdocs/stylesheets/
Date Sun, 23 Dec 2007 13:35:00 GMT
Author: jalkanen
Date: Sun Dec 23 05:34:59 2007
New Revision: 606553

URL: http://svn.apache.org/viewvc?rev=606553&view=rev
Log:
Initial commit of the web site.  Shamelessly stolen from River project.  Thanks!

Added:
    incubator/jspwiki/site/
    incubator/jspwiki/site/README.txt
    incubator/jspwiki/site/build.xml
    incubator/jspwiki/site/docs/
    incubator/jspwiki/site/docs/index.html
    incubator/jspwiki/site/docs/site.css
    incubator/jspwiki/site/lib/
    incubator/jspwiki/site/lib/commons-collections.jar   (with props)
    incubator/jspwiki/site/lib/jdom-b10-rc1.jar   (with props)
    incubator/jspwiki/site/lib/logkit-1.0.1.jar   (with props)
    incubator/jspwiki/site/lib/oro.jar   (with props)
    incubator/jspwiki/site/lib/velocity-1.5-dev.jar   (with props)
    incubator/jspwiki/site/velocity.properties
    incubator/jspwiki/site/xdocs/
    incubator/jspwiki/site/xdocs/images/
    incubator/jspwiki/site/xdocs/index.xml
    incubator/jspwiki/site/xdocs/site.css
    incubator/jspwiki/site/xdocs/stylesheets/
    incubator/jspwiki/site/xdocs/stylesheets/project.xml
    incubator/jspwiki/site/xdocs/stylesheets/site.vsl

Added: incubator/jspwiki/site/README.txt
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/README.txt?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/README.txt (added)
+++ incubator/jspwiki/site/README.txt Sun Dec 23 05:34:59 2007
@@ -0,0 +1,40 @@
+(Shamelessly stolen from River project.  Thanks guys!)
+
+Here's how to edit and publish the website.  Note 
+that this assumes you have a working implementation 
+of Java and Ant installed.
+
+
+1) Edit the docs in xdocs/
+
+2) Type "ant" in the root (site/)
+
+3) Look at the changes in the docs/ directory using
+   a web browser.
+
+4) Repeat steps 2-4 until happiness and joy achieved.
+
+5) Commit all changes, both docs/ and xdocs/
+   
+    svn commit
+
+6) ssh to minotaur
+
+7) cd /www/incubator.apache.org/jspwiki
+
+8) execute 
+    
+    svn update
+
+   to update the just-committed docs out of SVN
+
+9) Verify that all went as planned by browsing the live 
+    site 
+
+      http://incubator.apache.org/jspwiki
+
+    and look for the changes you made.  Note that it may take up
+    to an hour after step (8) is complete before the changes are
+    reflected on the live website.
+
+

Added: incubator/jspwiki/site/build.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/build.xml?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/build.xml (added)
+++ incubator/jspwiki/site/build.xml Sun Dec 23 05:34:59 2007
@@ -0,0 +1,93 @@
+<?xml version="1.0"?>
+
+<project name="JSPWiki" default="site" basedir=".">
+
+  <property file="${user.home}/.ant.properties" />
+  <property file="${user.home}/build.properties" />
+  <property file=".ant.properties" />
+
+  <property name="ant.home" value="."/>
+  <property name="debug" value="on"/>
+  <property name="optimize" value="on"/>
+  <property name="deprecation" value="off"/>
+
+  <property name="docs.dest" value="docs"/>
+  <property name="docs.src" value="xdocs"/>
+
+  <!-- Build classpath -->
+  <path id="classpath">
+    <fileset dir="./lib">
+      <include name="**/*.jar"/>
+    </fileset>
+  </path>
+
+  <!-- =================================================================== -->
+  <!-- prints the environment                                              -->
+  <!-- =================================================================== -->
+  <target name="env">
+    
+    <echo message="java.home = ${java.home}"/>
+    <echo message="user.home = ${user.home}"/>
+    <echo message="java.class.path = ${java.class.path}"/>
+    <echo message=""/>
+  
+  </target>
+
+  <!-- =================================================================== -->
+  <!-- Make HTML version of River site                                     -->
+  <!-- =================================================================== -->
+
+  <target name="site" 
+          description="generates the HTML documentation"
+          >
+      <taskdef name="anakia"
+          classname="org.apache.velocity.anakia.AnakiaTask">
+          
+          <classpath>
+             <path refid="classpath"/>
+          </classpath>
+
+      </taskdef>
+
+      <echo>
+       #######################################################
+       #
+       #  Now using Anakia to transform our XML documentation
+       #  to HTML.
+       #
+       #######################################################
+      </echo>
+
+      <anakia basedir="${docs.src}" destdir="${docs.dest}/"
+           extension=".html" style="./site.vsl"
+           projectFile="stylesheets/project.xml"
+           excludes="**/stylesheets/** empty.xml"
+           includes="**/*.xml"
+           lastModifiedCheck="true"
+           templatePath="xdocs/stylesheets">
+      </anakia>
+
+      <!-- top level images -->
+
+      <copy todir="${docs.dest}/images" filtering="no">
+          <fileset dir="${docs.src}/images">
+              <include name="**/*.gif"/>
+              <include name="**/*.jpeg"/>
+              <include name="**/*.jpg"/>
+              <include name="**/*.png"/>
+          </fileset>
+      </copy>
+
+      <copy todir="${docs.dest}/" filtering="no">
+           <fileset dir="${docs.src}">
+              <include name="**/*.txt"/>
+           </fileset>
+      </copy>
+
+      <copy file="${docs.src}/site.css" todir="${docs.dest}/"/>
+
+  </target>
+    
+</project>
+
+

Added: incubator/jspwiki/site/docs/index.html
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/docs/index.html?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/docs/index.html (added)
+++ incubator/jspwiki/site/docs/index.html Sun Dec 23 05:34:59 2007
@@ -0,0 +1,198 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.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.
+-->
+
+
+<!-- start the processing -->
+    <!-- ====================================================================== -->
+    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
+    <!-- Main Page Section -->
+    <!-- ====================================================================== -->
+    <html>
+        <head>
+            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+
+                                                    <meta name="author" value="JSPWiki
Developer Team">
+            <meta name="email" value="jspwiki-dev@incubator.apache.org">
+            
+           
+            
+            
+            
+            
+            
+            <title>Apache JSPWiki - Apache JSPWiki</title>
+
+                        
+                
+        <link rel="stylesheet" type="text/css" href="site.css"/>
+        </head>
+
+        <body>        
+            <table  width="100%" cellspacing="0">
+                <!-- TOP IMAGE -->
+                <tr>
+                    <td align='LEFT'>
+                    <table><tr><td>
+                    </td>
+                    </td></tr></table>
+                    </td>
+                    <td align='RIGHT'>
+                    <a href="http://incubator.apache.org/jspwiki">
+                    <img src="http://harmony.apache.org/images/apache-incubator-logo.png"
+                    	alt="$project.getChild("logo").getText()" /></a>          
         
+                    </td>
+                </tr>
+            </table>
+            <table width="100%" cellspacing="4">
+                <tr><td colspan="2">
+                    <hr noshade="" size="1"/>
+                </td></tr>
+
+                <tr>
+                    <!-- LEFT SIDE NAVIGATION -->
+                    <td class="menuItem" width="20%" nowrap="true">
+
+                    <!-- special ACon Logo - leave here for next time
+                    <a href="http://www.us.apachecon.com/">
+                        <img src="http://www.apache.org/ads/ApacheCon/240x120-2006-us.gif"
+                             alt="ApacheCon US 2006" />
+                    </a> -->
+
+                   <!-- regular menu -->
+
+                    
+    <!-- ============================================================ -->
+
+                <p class="menuItem"><strong>General</strong></p>
+        <ul>
+                    <li class="menuItem">    <a href="./index.html">Home</a>
+</li>
+           
+                        
+                    <li class="menuItem">    <a href="./license.html">License</a>
+</li>
+           
+                        
+                    <li class="menuItem">    <a href="http://www.apache.org/">ASF</a>
+</li>
+           
+                        
+        
+        </ul>
+            <p class="menuItem"><strong>Community</strong></p>
+        <ul>
+                    <li class="menuItem">    <a href="http://wiki.apache.org/river">Wiki</a>
+</li>
+           
+                        
+        
+        </ul>
+            <p class="menuItem"><strong>Development</strong></p>
+        <ul>
+                    <li class="menuItem">    <a href="http://issues.apache.org/jira/browse/JSPWIKI">JIRA</a>
+</li>
+           
+                        
+        
+        </ul>
+            <p class="menuItem"><strong>Subcomponents</strong></p>
+        <ul>
+        
+        </ul>
+                        </td>
+                    <td width="80%" valign="top"><a name="top"></a>
+                                                                    <h1>
+      <a name="Welcome to Apache JSPWiki">Welcome to Apache JSPWiki</a>
+    </h1>
+                        <p>
+       Apache JSPWiki is the apachified version of JSPWiki, a leading open source
+       wiki engine.
+    </p>
+                <p><a href="#top">Back to top</a></p>
+                                                <h1>
+      <a name="Project Status">Project Status</a>
+    </h1>
+                        <p>
+        We are currently transferring the JSPWiki source code into the ASF infrastructure.
+        Stay tuned for more news!
+    </p>
+                <p><a href="#top">Back to top</a></p>
+                                                <h1>
+      <a name="How to Help?">How to Help?</a>
+    </h1>
+                        <p>
+		Please join the <a href="http://www.jspwiki.org/wiki/JSPWikiMailingLists">jspwiki
mailing lists</a> if you want to help us out.
+    </p>
+                <p><a href="#top">Back to top</a></p>
+                                                <h1>
+      <a name="More information">More information</a>
+    </h1>
+                        <p>
+    You can find more information about JSPWiki from our <a href="http://www.jspwiki.org/">current
+    web site</a>, until we get around to putting more information here.
+    </p>
+                                <p>
+    We also have a number of ASF web sites set up already:
+    </p>
+                                <ul>
+    	<li><a href="https://issues.apache.org/jira/browse/JSPWIKI">JIRA issue tracker</a></li>
+    	<li><a href="http://mail-archives.apache.org/mod_mbox/incubator-jspwiki-dev/">jspwiki-dev
mailing list</a> - THE place for developers</li>
+    	<li><a href="http://mail-archives.apache.org/mod_mbox/incubator-jspwiki-user/">jspwiki-user
mailing list</a> - if you're just a user and fear geek-talk</li>
+    </ul>
+                <p><a href="#top">Back to top</a></p>
+                    
+                                                            </td>
+                </tr>
+
+                <!-- FOOTER -->
+                <tr><td colspan="2">
+                    <hr noshade="" size="1"/>
+                </td></tr>
+                <tr><td colspan="2">
+                    <div class="special"><em>
+                    Copyright &#169; 2007, The Apache Software Foundation
+                    </em></div>
+                </td></tr>
+            </table>
+        </body>
+    </html>
+<!-- end the processing -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Added: incubator/jspwiki/site/docs/site.css
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/docs/site.css?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/docs/site.css (added)
+++ incubator/jspwiki/site/docs/site.css Sun Dec 23 05:34:59 2007
@@ -0,0 +1,242 @@
+/*
+ *  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.
+ */
+
+body {
+    background-color: white;
+    color: black;
+    text-align: left;
+    text-align: left;
+    font: "Times New Roman", serif;
+}
+
+.menuItem {
+    vertical-align: top;
+    padding: 0pt;
+    margin-top: 4pt;
+    margin-bottom: 4pt;
+    margin-right: 0pt;
+    margin-left: 0pt;
+}
+
+h1 {
+    font-family: Arial, helvetica, sans-serif;
+    font-weight: bold;
+    font-size: 12pt;
+    background-color: #525D76;
+    color: white;
+    text-indent: 2pt;
+    margin-left: 0pt;
+}
+
+h2 {
+    font-family: Arial, helvetica, sans-serif;
+    font-weight: bold;
+    font-size: 12pt;
+    background-color: #828DA6;
+    color: white;
+    text-indent: 2pt;
+    margin-left: 10pt;
+}
+
+h3 {
+    font-weight: bold;
+    margin-left: 20pt;
+    margin-top: 5pt;
+    margin-right: 0pt;
+    margin-bottom: 5pt;
+    text-transform: uppercase;
+    font-size: 11pt;
+}
+
+a:link {
+    color:#525D76;
+}
+
+p {
+    padding-left: 2pt;
+    margin-left: 20pt;
+}
+
+td.TableCell {
+    vertical-align: top;
+    text-align: left;
+    background-color: #a0ddf0;
+}
+
+th.TableHeading {
+    background-color: #039acc;
+    text-align: center;
+    color: black;
+    font-family: Arial, Helvetica, sans-serif;
+    padding: 2pt;
+}
+
+table {
+    margin-left: 0pt;
+    margin-right: 0pt;
+}
+
+img {
+    border: none;
+}
+
+pre {
+    background: #F3F5F7;
+    border: thin solid;
+    border-color: #828DA6;
+    padding: 12pt;
+    font-size: 11.0pt;
+    font-family: Courier;
+    margin-right: 10pt;
+    margin-left: 25pt;
+}
+
+.class {
+    font-weight: bold;
+    font-size: 10pt;
+    font-family: Arial;
+    border-top: none;
+    border-right: none;
+    border-left: none;
+    border-bottom: solid #525D76 2px;
+}
+
+.special {
+    font-weight: bold;
+    text-align: center;
+    color: #525D76;
+    margin-top: 3pt;
+    margin-bottom: 3pt;
+    font-family: Arial, helvetica, sans-serif;
+    font-size: 10pt;
+}
+
+.backtotop {
+    font-weight: bold;
+    margin-left: 0pt;
+}
+
+.note {
+    color: red;
+    font-weight: bolder;
+    font-family: Arial, helvetica, sans-serif;
+    font-size: 10pt;
+}
+
+.notetext {
+    padding-left: 20pt;
+    margin-top: 0pt;
+    margin-bottom: 0pt;
+    font-family: Arial, helvetica, sans-serif;
+    font-size: 10pt;
+}
+
+.example {
+    font-weight: bolder;
+    font-family: Arial, helvetica, sans-serif;
+    font-size: 10pt;
+}
+
+.exampletext {
+    margin-left: 40pt;
+}
+
+.TOCHeading {
+    font-weight: bold;
+    font-size: 12pt;
+    text-align: left;
+    color: #000000;
+    font-family: Arial, helvetica, sans-serif;
+    padding-left: 15px;
+    margin-bottom: 5pt;
+    margin-top: 5pt;
+    margin-left: 5px;
+    margin-right: 0pt;
+}
+
+.TOC {
+    font-size: 11pt;
+    text-indent: 15pt;
+    color: white;
+    padding-left: 15px;
+    margin-left: 5px;
+    margin-right: 0.00px;
+    margin-top: 0px;
+    margin-bottom: 0px;
+    font-family: Arial, helvetica, sans-serif;
+}
+
+.update {
+    color: #A9A9A9;
+    font-size: smaller;
+    font-style: italic;
+}
+
+li {
+    margin-left: 20pt;
+    padding-left: 1pt;
+    padding-top: 1pt;
+    padding-bottom: 1pt;
+    padding-right: 0pt;
+}
+
+ol li {
+    list-style-type: decimal;
+}
+
+ul li {
+    list-style-type: square;
+}
+
+li ul li {
+    list-style-type: disc;
+}
+
+dl {
+    margin: 5pt;
+}
+
+dd {
+    margin-left: 30pt;
+    margin-top: 5pt;
+    margin-right: 20pt;
+    margin-bottom: 5pt;
+    border-right: none;
+    border-bottom: none;
+    border-left: none;
+    border-top: none;
+    padding-bottom: 8px;
+}
+
+dd p {
+    margin-left: 0pt;
+}
+
+dt {
+    font-size: 10pt;
+    font-family: Arial, helvetica, sans-serif;
+    font-weight: bolder;
+    margin-left: 20pt;
+    margin-top: 5pt;
+    margin-right: 0pt;
+    margin-bottom: 5pt;
+    border-top: none;
+    border-right: none;
+    border-bottom: solid #828DA6 1px;
+    border-left: none;
+    padding-bottom: 3px;
+}

Added: incubator/jspwiki/site/lib/commons-collections.jar
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/lib/commons-collections.jar?rev=606553&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/jspwiki/site/lib/commons-collections.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/jspwiki/site/lib/jdom-b10-rc1.jar
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/lib/jdom-b10-rc1.jar?rev=606553&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/jspwiki/site/lib/jdom-b10-rc1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/jspwiki/site/lib/logkit-1.0.1.jar
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/lib/logkit-1.0.1.jar?rev=606553&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/jspwiki/site/lib/logkit-1.0.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/jspwiki/site/lib/oro.jar
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/lib/oro.jar?rev=606553&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/jspwiki/site/lib/oro.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/jspwiki/site/lib/velocity-1.5-dev.jar
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/lib/velocity-1.5-dev.jar?rev=606553&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/jspwiki/site/lib/velocity-1.5-dev.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/jspwiki/site/velocity.properties
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/velocity.properties?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/velocity.properties (added)
+++ incubator/jspwiki/site/velocity.properties Sun Dec 23 05:34:59 2007
@@ -0,0 +1 @@
+file.resource.loader.path=xdocs, xdocs/stylesheets

Added: incubator/jspwiki/site/xdocs/index.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/xdocs/index.xml?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/xdocs/index.xml (added)
+++ incubator/jspwiki/site/xdocs/index.xml Sun Dec 23 05:34:59 2007
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+    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.
+-->
+
+<document>
+
+<properties>
+  <title>Apache JSPWiki</title>
+  <author email="jspwiki-dev@incubator.apache.org">JSPWiki Developer Team</author>
+</properties>
+
+<body>
+
+  <section name="Welcome to Apache JSPWiki">
+
+    <p>
+       Apache JSPWiki is the apachified version of JSPWiki, a leading open source
+       wiki engine.
+    </p>
+</section>
+
+<section name="Project Status">
+
+    <p>
+        We are currently transferring the JSPWiki source code into the ASF infrastructure.
+        Stay tuned for more news!
+    </p>
+
+</section>
+
+<section name="How to Help?">
+
+    <p>
+		Please join the <a href="http://www.jspwiki.org/wiki/JSPWikiMailingLists">jspwiki
mailing lists</a> if you want to help us out.
+    </p>
+
+</section>
+
+<section name="More information">
+    <p>
+    You can find more information about JSPWiki from our <a href="http://www.jspwiki.org/">current
+    web site</a>, until we get around to putting more information here.
+    </p>
+    <p>
+    We also have a number of ASF web sites set up already:
+    </p>
+    <ul>
+    	<li><a href="https://issues.apache.org/jira/browse/JSPWIKI">JIRA issue tracker</a></li>
+    	<li><a href="http://mail-archives.apache.org/mod_mbox/incubator-jspwiki-dev/">jspwiki-dev
mailing list</a> - THE place for developers</li>
+    	<li><a href="http://mail-archives.apache.org/mod_mbox/incubator-jspwiki-user/">jspwiki-user
mailing list</a> - if you're just a user and fear geek-talk</li>
+    </ul>
+</section>
+</body>
+</document>

Added: incubator/jspwiki/site/xdocs/site.css
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/xdocs/site.css?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/xdocs/site.css (added)
+++ incubator/jspwiki/site/xdocs/site.css Sun Dec 23 05:34:59 2007
@@ -0,0 +1,242 @@
+/*
+ *  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.
+ */
+
+body {
+    background-color: white;
+    color: black;
+    text-align: left;
+    text-align: left;
+    font: "Times New Roman", serif;
+}
+
+.menuItem {
+    vertical-align: top;
+    padding: 0pt;
+    margin-top: 4pt;
+    margin-bottom: 4pt;
+    margin-right: 0pt;
+    margin-left: 0pt;
+}
+
+h1 {
+    font-family: Arial, helvetica, sans-serif;
+    font-weight: bold;
+    font-size: 12pt;
+    background-color: #525D76;
+    color: white;
+    text-indent: 2pt;
+    margin-left: 0pt;
+}
+
+h2 {
+    font-family: Arial, helvetica, sans-serif;
+    font-weight: bold;
+    font-size: 12pt;
+    background-color: #828DA6;
+    color: white;
+    text-indent: 2pt;
+    margin-left: 10pt;
+}
+
+h3 {
+    font-weight: bold;
+    margin-left: 20pt;
+    margin-top: 5pt;
+    margin-right: 0pt;
+    margin-bottom: 5pt;
+    text-transform: uppercase;
+    font-size: 11pt;
+}
+
+a:link {
+    color:#525D76;
+}
+
+p {
+    padding-left: 2pt;
+    margin-left: 20pt;
+}
+
+td.TableCell {
+    vertical-align: top;
+    text-align: left;
+    background-color: #a0ddf0;
+}
+
+th.TableHeading {
+    background-color: #039acc;
+    text-align: center;
+    color: black;
+    font-family: Arial, Helvetica, sans-serif;
+    padding: 2pt;
+}
+
+table {
+    margin-left: 0pt;
+    margin-right: 0pt;
+}
+
+img {
+    border: none;
+}
+
+pre {
+    background: #F3F5F7;
+    border: thin solid;
+    border-color: #828DA6;
+    padding: 12pt;
+    font-size: 11.0pt;
+    font-family: Courier;
+    margin-right: 10pt;
+    margin-left: 25pt;
+}
+
+.class {
+    font-weight: bold;
+    font-size: 10pt;
+    font-family: Arial;
+    border-top: none;
+    border-right: none;
+    border-left: none;
+    border-bottom: solid #525D76 2px;
+}
+
+.special {
+    font-weight: bold;
+    text-align: center;
+    color: #525D76;
+    margin-top: 3pt;
+    margin-bottom: 3pt;
+    font-family: Arial, helvetica, sans-serif;
+    font-size: 10pt;
+}
+
+.backtotop {
+    font-weight: bold;
+    margin-left: 0pt;
+}
+
+.note {
+    color: red;
+    font-weight: bolder;
+    font-family: Arial, helvetica, sans-serif;
+    font-size: 10pt;
+}
+
+.notetext {
+    padding-left: 20pt;
+    margin-top: 0pt;
+    margin-bottom: 0pt;
+    font-family: Arial, helvetica, sans-serif;
+    font-size: 10pt;
+}
+
+.example {
+    font-weight: bolder;
+    font-family: Arial, helvetica, sans-serif;
+    font-size: 10pt;
+}
+
+.exampletext {
+    margin-left: 40pt;
+}
+
+.TOCHeading {
+    font-weight: bold;
+    font-size: 12pt;
+    text-align: left;
+    color: #000000;
+    font-family: Arial, helvetica, sans-serif;
+    padding-left: 15px;
+    margin-bottom: 5pt;
+    margin-top: 5pt;
+    margin-left: 5px;
+    margin-right: 0pt;
+}
+
+.TOC {
+    font-size: 11pt;
+    text-indent: 15pt;
+    color: white;
+    padding-left: 15px;
+    margin-left: 5px;
+    margin-right: 0.00px;
+    margin-top: 0px;
+    margin-bottom: 0px;
+    font-family: Arial, helvetica, sans-serif;
+}
+
+.update {
+    color: #A9A9A9;
+    font-size: smaller;
+    font-style: italic;
+}
+
+li {
+    margin-left: 20pt;
+    padding-left: 1pt;
+    padding-top: 1pt;
+    padding-bottom: 1pt;
+    padding-right: 0pt;
+}
+
+ol li {
+    list-style-type: decimal;
+}
+
+ul li {
+    list-style-type: square;
+}
+
+li ul li {
+    list-style-type: disc;
+}
+
+dl {
+    margin: 5pt;
+}
+
+dd {
+    margin-left: 30pt;
+    margin-top: 5pt;
+    margin-right: 20pt;
+    margin-bottom: 5pt;
+    border-right: none;
+    border-bottom: none;
+    border-left: none;
+    border-top: none;
+    padding-bottom: 8px;
+}
+
+dd p {
+    margin-left: 0pt;
+}
+
+dt {
+    font-size: 10pt;
+    font-family: Arial, helvetica, sans-serif;
+    font-weight: bolder;
+    margin-left: 20pt;
+    margin-top: 5pt;
+    margin-right: 0pt;
+    margin-bottom: 5pt;
+    border-top: none;
+    border-right: none;
+    border-bottom: solid #828DA6 1px;
+    border-left: none;
+    padding-bottom: 3px;
+}

Added: incubator/jspwiki/site/xdocs/stylesheets/project.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/xdocs/stylesheets/project.xml?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/xdocs/stylesheets/project.xml (added)
+++ incubator/jspwiki/site/xdocs/stylesheets/project.xml Sun Dec 23 05:34:59 2007
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project name="JSPWiki"
+        href="http://incubator.apache.org/jspwiki">
+
+    <title>Apache JSPWiki</title>
+    <!-- <logo href="/images/river-logo.png">Apache JSPWiki</logo> -->
+
+    <body>
+
+    <menu name="General">
+        <item name="Home"                   href="/index.html"/>
+        <item name="License"                href="/license.html"/>
+        <item name="ASF"                    href="http://www.apache.org/"/>
+    </menu>
+
+    <menu name="Community">
+<!-- 
+        <item name="Get Involved"           href="/get-involved.html"/>
+        <item name="Committers"           href="/contributors.html"/>
+        <item name="Mailing Lists"          href="/mailing.html"/>
+        <item name="Documentation"          href="/documentation.html"/>
+  -->
+        <item name="Wiki"                   href="http://wiki.apache.org/river"/>
+    </menu>
+
+    <menu name="Development">
+<!-- 
+        <item name="Road Map / TODO"        href="/roadmap.html"/>
+        <item name="Source Code"            href="/svn.html"/>
+ -->
+        <item name="JIRA"                   href="http://issues.apache.org/jira/browse/JSPWIKI"/>
+    </menu>
+
+    <menu name="Subcomponents">
+    </menu>
+    
+    </body>
+</project>

Added: incubator/jspwiki/site/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/incubator/jspwiki/site/xdocs/stylesheets/site.vsl?rev=606553&view=auto
==============================================================================
--- incubator/jspwiki/site/xdocs/stylesheets/site.vsl (added)
+++ incubator/jspwiki/site/xdocs/stylesheets/site.vsl Sun Dec 23 05:34:59 2007
@@ -0,0 +1,313 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.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.
+-->
+
+
+<!-- start the processing -->
+#document()
+<!-- end the processing -->
+
+## This is where the macro's live
+
+#macro ( table $table)
+<table>
+    #foreach ( $items in $table.getChildren() )
+        #if ($items.getName().equals("tr"))
+            #tr ($items)
+        #end
+    #end
+</table>
+#end
+
+#macro ( tr $tr)
+<tr>
+    #foreach ( $items in $tr.getChildren() )
+        #if ($items.getName().equals("td"))
+            #td ($items)
+        #elseif ($items.getName().equals("th"))
+            #th ($items)
+        #end
+    #end
+</tr>
+#end
+
+#macro ( td $value)
+#if ($value.getAttributeValue("colspan"))
+#set ($colspan = $value.getAttributeValue("colspan"))
+#end
+#if ($value.getAttributeValue("rowspan"))
+#set ($rowspan = $value.getAttributeValue("rowspan"))
+#end
+<td class="TableCell" colspan="$!colspan" rowspan="$!rowspan" >
+    
+        #if ($value.getText().length() != 0 || $value.hasChildren())
+        $value.getContent()
+        #else
+        &nbsp;
+        #end
+</td>
+#end
+
+#macro ( th $value)
+#if ($value.getAttributeValue("colspan"))
+#set ($colspan = $value.getAttributeValue("colspan"))
+#end
+#if ($value.getAttributeValue("rowspan"))
+#set ($rowspan = $value.getAttributeValue("rowspan"))
+#end
+<th class="TableHeading" colspan="$!colspan" rowspan="$!rowspan">
+        #if ($value.getText().length() != 0 || $value.hasChildren())
+        $value.getContent()
+        #else
+        &nbsp;
+        #end
+</th>
+#end
+
+#macro ( projectanchor $name $value )
+#if ($value.startsWith("http://"))
+    <a href="$value">$name</a>
+#elseif ($value.startsWith("/site/"))
+    <a href="http://harmony.apache.org$value">$name</a>
+#else
+    <a href="$relativePath$value">$name</a>
+#end
+#end
+
+#macro ( metaauthor $author $email )
+            <meta name="author" value="$author">
+            <meta name="email" value="$email">
+#end
+
+#macro ( image $value )
+#if ($value.getAttributeValue("width"))
+#set ($width=$value.getAttributeValue("width"))
+#end
+#if ($value.getAttributeValue("height"))
+#set ($height=$value.getAttributeValue("height"))
+#end
+#if ($value.getAttributeValue("align"))
+#set ($align=$value.getAttributeValue("align"))
+#end
+<img src="$relativePath$value.getAttributeValue("src")" width="$!width" height="$!height"
align="$!align">
+#end
+
+#macro ( source $value)
+<pre>$escape.getText($value.getText())</pre>
+#end
+
+#macro ( subsection $subsection)
+    
+    <h2>
+        <a name="$subsection.getAttributeValue("name")">$subsection.getAttributeValue("name")</a>
+    </h2>
+      
+    #foreach ( $items in $subsection.getChildren() )
+        #if ($items.getName().equals("img"))
+            #image ($items)
+        #elseif ($items.getName().equals("source"))
+            #source ($items)
+        #elseif ($items.getName().equals("table"))
+            #table ($items)
+        #else
+            $items
+        #end
+    #end
+       
+#end
+
+
+#macro (docinclude $name)
+<div>
+#include($name)
+</div>
+#end
+
+#macro ( section $section)
+    <h1>
+      <a name="$section.getAttributeValue("name")">$section.getAttributeValue("name")</a>
+    </h1>
+    #foreach ( $items in $section.getChildren() )
+        #if ($items.getName().equals("img"))
+            #image ($items)
+        #elseif ($items.getName().equals("source"))
+            #source ($items)
+        #elseif ($items.getName().equals("table"))
+            #table ($items)
+        #elseif ($items.getName().equals("subsection"))
+            #subsection ($items)
+        #else
+            $items
+        #end
+    #end
+    <p><a href="#top">Back to top</a></p>
+#end
+
+#macro ( makeProject )
+
+    <!-- ============================================================ -->
+
+    #set ($menus = $project.getChild("body").getChildren("menu"))
+    #foreach ( $menu in $menus )
+        <p class="menuItem"><strong>$menu.getAttributeValue("name")</strong></p>
+        <ul>
+        #foreach ( $item in $menu.getChildren() )
+            #set ($name = $item.getAttributeValue("name"))
+            <li class="menuItem">#projectanchor($name $item.getAttributeValue("href"))</li>
+           
+            #foreach ( $subitem in $item.getChildren() )
+              #set ($name = $subitem.getAttributeValue("name"))
+               <table>
+              <tr><td class="menuItem">
+                &nbsp;&nbsp;&nbsp;&nbsp;#projectanchor($name $subitem.getAttributeValue("href"))
+                </td></tr>
+              </table>
+            #end            
+            
+        #end
+
+        </ul>
+    #end
+#end
+
+#macro (getProjectImage)
+#if ($project.getChild("logo"))
+#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
+<td>
+#if ( $logoString.startsWith("/") )
+<a href="$project.getAttributeValue("href")"><img  src="$relativePath$logoString"
alt="$project.getChild("logo").getText()" /></a>
+#else
+<a href="$project.getAttributeValue("href")"><img  src="$relativePath/$logoString"
alt="$project.getChild("logo").getText()" /></a>
+#end
+</td>
+#end
+#end
+
+#macro (printMeta $metaElement)
+<meta #set ($attribs = $metaElement.getAttributes())
+#foreach ($a in $attribs) $a.getName()="$a.getValue()" #end />
+#end
+
+#macro (document)
+    <!-- ====================================================================== -->
+    <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
+    <!-- Main Page Section -->
+    <!-- ====================================================================== -->
+    <html>
+        <head>
+            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
+
+            #set ($authors = $root.getChild("properties").getChildren("author"))
+            #foreach ( $au in $authors )
+                #metaauthor ( $au.getText() $au.getAttributeValue("email") )
+            #end
+
+           #set ($metas = $root.getChildren("meta"))
+
+            ##    Parse meta directives such as
+            ##    <meta name="keyword" content="harmony, java"/>
+            #foreach ($meta in $metas) #printMeta($meta) #end
+
+            ##    Support for <base> tags.
+            #if ($root.getChild("properties").getChild("base"))
+              #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href"))
+              <base href="$url"/>
+            #end
+
+            <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
+
+            #set ($links = $root.getChild("properties").getChildren("link"))
+            #foreach ( $link in $links )
+            $link
+            #end
+
+        #set ($csspath = "")
+        #if (!$relativePath.equals("."))
+            #set ($csspath = "${relativePath}/")
+        #end
+
+        <link rel="stylesheet" type="text/css" href="${csspath}site.css"/>
+        </head>
+
+        <body>        
+            <table  width="100%" cellspacing="0">
+                <!-- TOP IMAGE -->
+                <tr>
+                    <td align='LEFT'>
+                    <table><tr><td>
+                    #getProjectImage()</td>
+                    </td></tr></table>
+                    </td>
+                    <td align='RIGHT'>
+                    <a href="$project.getAttributeValue("href")">
+                    <img src="http://harmony.apache.org/images/apache-incubator-logo.png"
+                    	alt="$project.getChild("logo").getText()" /></a>          
         
+                    </td>
+                </tr>
+            </table>
+            <table width="100%" cellspacing="4">
+                <tr><td colspan="2">
+                    <hr noshade="" size="1"/>
+                </td></tr>
+
+                <tr>
+                    <!-- LEFT SIDE NAVIGATION -->
+                    <td class="menuItem" width="20%" nowrap="true">
+
+                    <!-- special ACon Logo - leave here for next time
+                    <a href="http://www.us.apachecon.com/">
+                        <img src="http://www.apache.org/ads/ApacheCon/240x120-2006-us.gif"
+                             alt="ApacheCon US 2006" />
+                    </a> -->
+
+                   <!-- regular menu -->
+
+                    #makeProject()
+                    </td>
+                    <td width="80%" valign="top"><a name="top"></a>
+                    #set ($allSections = $root.getChild("body").getChildren("section"))
+                    #foreach ( $section in $allSections )
+                        #section ($section)
+                    #end
+
+                    #set ($allInclude = $root.getChild("body").getChildren("docinclude"))
+                    #foreach($inc in $allInclude)
+                        #docinclude($inc.getAttributeValue("name"))
+                    #end
+                    </td>
+                </tr>
+
+                <!-- FOOTER -->
+                <tr><td colspan="2">
+                    <hr noshade="" size="1"/>
+                </td></tr>
+                <tr><td colspan="2">
+                    <div class="special"><em>
+                    Copyright &#169; 2007, The Apache Software Foundation
+                    </em></div>
+                </td></tr>
+            </table>
+        </body>
+    </html>
+#end
+
+
+
+
+
+



Mime
View raw message