forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r376595 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus: ./ conf/ lib/ resources/ resources/stylesheets/ src/ src/documentation/ src/documentation/content/ src/documentation/content/xdocs/ src/documentati...
Date Fri, 10 Feb 2006 08:44:34 GMT
Author: crossley
Date: Fri Feb 10 00:44:31 2006
New Revision: 376595

URL: http://svn.apache.org/viewcvs?rev=376595&view=rev
Log:
Initial plugin for serverStatus.
Uses the StatusGenerator to show Cocoon's operating environment
and shows the contents of the cache stores.

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/build.xml
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/conf/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/forrest.properties
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/lib/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/lib/readme.txt
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/resources/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/resources/stylesheets/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/resources/stylesheets/status-to-document.xsl
      - copied, changed from r370406, cocoon/trunk/cocoon-webapp/src/main/webapp/stylesheets/system/status2html.xslt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/locationmap.xml
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group-logo.gif
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group.svg
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/icon.png
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project-logo.gif
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project.svg
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/usemap.gif
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/index.xml
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/site.xml
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/tabs.xml
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml.tmp
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/java/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/java/readme.txt
  (with props)
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml
  (with props)

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/build.xml?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/build.xml
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/build.xml
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<project default="docs" basedir="." name="Forrest org.apache.forrest.plugin.input.serverStatus
build file">
+  <property name="plugin-name" value="org.apache.forrest.plugin.input.serverStatus"/>
+  <property name="forrest.version" value="0.8-dev"/>
+  <property name="type" value="input"/>
+  <property name="plugin-version" value="0.1-dev"/>
+  <property name="description" value="Provides a list of the Cocoon cache and other server
status information."/>
+  <property name="author" value="Apache Forrest Project"/>
+  <property name="websiteURL" value="http://localhost:8888/docs/plugins/org.apache.forrest.plugin.input.serverStatus"/>
+  <property name="downloadURL" value="http://localhost:8888/plugins/"/>
+  
+  <import file="../build.xml"/>
+
+  <!-- Add any additional installation work here in the build target, for example:
+  <target name="build"
+          description="Extract the tools">
+     <unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
+       <fileset dir="tools">
+          <include name="pluginBionaryTools.zip"/>
+        </fileset>
+     </unzip>   
+  </target>
+  -->
+</project>
+  
+  

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/forrest.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/forrest.properties?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/forrest.properties
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/forrest.properties
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,26 @@
+# Copyright 2002-2005 The Apache Software Foundation or its licensors,
+# as applicable.
+#
+# Licensed 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 a minimal properties file.
+# These are defaults, un-comment them only if you need to change them.
+# See the full set of default properties in a 'forrest seed-sample' site.
+# Copy properties from there as needed.
+##############
+
+# FIXME: FOR-785
+forrest.validate.skinconf=false
+
+project.required.plugins=org.apache.forrest.plugin.input.serverStatus,org.apache.forrest.plugin.input.projectInfo

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/forrest.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+
+  <map:components>
+    <map:generators default="file">
+      <map:generator name="status" label="content" logger="sitemap.generator.status"
+         pool-max="16" src="org.apache.cocoon.generation.StatusGenerator">
+        <show-continuations>false</show-continuations>
+        <show-libraries>false</show-libraries>
+      </map:generator>
+    </map:generators>
+  </map:components>
+
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="cstatus.xml">
+        <map:generate type="status"/>
+        <map:transform src="resources/stylesheets/status-to-document.xsl">
+          <map:parameter name="contextPath" value="{request:contextPath}"/>
+        </map:transform>
+        <map:serialize type="xml-document"/>
+      </map:match>
+
+    </map:pipeline>
+  </map:pipelines>
+
+</map:sitemap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/lib/readme.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/lib/readme.txt?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/lib/readme.txt
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/lib/readme.txt
Fri Feb 10 00:44:31 2006
@@ -0,0 +1 @@
+Place any libraries required by your plugin in this directory.
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/lib/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+
+  <components>
+    <matchers default="lm">
+      <matcher 
+        name="lm" 
+        src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+    </matchers>
+    <selectors default="exists">
+          <selector name="exists" logger="sitemap.selector.exists"  
+                    src="org.apache.forrest.sourceexists.SourceExistsSelector" />
+    </selectors>
+  </components>
+  
+  <locator>
+  </locator>
+</locationmap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Copied: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/resources/stylesheets/status-to-document.xsl
(from r370406, cocoon/trunk/cocoon-webapp/src/main/webapp/stylesheets/system/status2html.xslt)
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/resources/stylesheets/status-to-document.xsl?p2=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/resources/stylesheets/status-to-document.xsl&p1=cocoon/trunk/cocoon-webapp/src/main/webapp/stylesheets/system/status2html.xslt&r1=370406&r2=376595&rev=376595&view=diff
==============================================================================
--- cocoon/trunk/cocoon-webapp/src/main/webapp/stylesheets/system/status2html.xslt (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/resources/stylesheets/status-to-document.xsl
Fri Feb 10 00:44:31 2006
@@ -30,16 +30,35 @@
   <xsl:param name="contextPath"/>
 
   <xsl:template match="status:statusinfo">
-    <html>
-      <head>
+    <document>
+      <header>
         <title>Cocoon Status [<xsl:value-of select="@status:host"/>]</title>
-        <link href="{$contextPath}/styles/main.css" type="text/css" rel="stylesheet"/>
-        <script src="{$contextPath}/scripts/main.js" type="text/javascript"/>
-      </head>
+      </header>
 
       <body>
-        <h1><xsl:value-of select="@status:host"/> - <xsl:value-of select="@status:date"/></h1>
-        <h2>Apache Cocoon <xsl:value-of select="@status:cocoon-version"/></h2>
+        <script type="text/javascript">
+function toggle(id) {
+    var element = document.getElementById(id);
+    with (element.style) {
+        if ( display == "none" ){
+            display = ""
+        } else{
+            display = "none"
+        }
+    }
+    var text = document.getElementById(id + "-switch").firstChild;
+    if (text.nodeValue == "[show]") {
+        text.nodeValue = "[hide]";
+    } else {
+        text.nodeValue = "[show]";
+    }
+}
+        </script>
+        <section>
+          <title><xsl:value-of select="@status:host"/> - <xsl:value-of select="@status:date"/></title>
+        </section>
+        <section>
+          <title>Apache Cocoon <xsl:value-of select="@status:cocoon-version"/></title>
         <li>
           <span class="description">Created:</span>
           <xsl:text> </xsl:text>
@@ -50,12 +69,13 @@
           <xsl:text> </xsl:text>
           <xsl:value-of select="@status:build-info"/>
         </li>
+        </section>
         <xsl:apply-templates/>
 
         <!--
           - Add XSLT processor information
           -->
-        <h2>XSLT Processor</h2>
+        <section><title>XSLT Processor</title>
         <li>
           <span class="description">XSLT Version:</span>
           <xsl:text> </xsl:text>
@@ -79,12 +99,13 @@
         <xsl:if test="function-available('xalan:checkEnvironment')">
           <xsl:apply-templates select="xalan:checkEnvironment()"/>
         </xsl:if>
+        </section>
       </body>
-    </html>
+    </document>
   </xsl:template>
 
   <xsl:template match="status:group">
-    <h2><xsl:value-of select="@status:name"/></h2>
+    <section><title><xsl:value-of select="@status:name"/></title>
     <ul><xsl:apply-templates select="status:value"/></ul>
     <xsl:apply-templates select="status:group"/>
     <xsl:if test="status:cont">
@@ -92,6 +113,7 @@
     		<xsl:apply-templates select="status:cont"/>    	
     	</ul>
     </xsl:if>
+    </section>
   </xsl:template>
   
   <xsl:template match="status:cont">
@@ -156,8 +178,9 @@
     - Process Xalan extension output
     -->
   <xsl:template match="checkEnvironmentExtension">
-    <h2>Xerces, Xalan</h2>
+    <section><title>Xerces, Xalan</title>
     <ul><xsl:apply-templates select="EnvironmentCheck/environment/item[starts-with(@key,
'version.')]"/></ul>
+    </section>
   </xsl:template> 
 
   <xsl:template match="item">

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/locationmap.xml?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/locationmap.xml
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/locationmap.xml
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+
+  <components>
+    <matchers default="lm">
+      <matcher 
+        name="lm" 
+        src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+    </matchers>
+    <selectors default="exists">
+          <selector name="exists" logger="sitemap.selector.exists"  
+                    src="org.apache.forrest.sourceexists.SourceExistsSelector" />
+    </selectors>
+  </components>
+  
+  <locator>  
+  </locator>
+</locationmap>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/locationmap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group-logo.gif?rev=376595&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group.svg?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group.svg
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group.svg
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:group-name">
+ <!ELEMENT for:group-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter" filterUnits="objectBoundingBox" width="1.4" height="1.4">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as
'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="40%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: middle">
+    <for:group-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/group.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/icon.png
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/icon.png?rev=376595&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/icon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project-logo.gif?rev=376595&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project.svg?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project.svg
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project.svg
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:project-name">
+ <!ELEMENT for:project-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="420" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter" filterUnits="objectBoundingBox" width="1.4" height="1.4">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as
'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="100%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: end"
>
+    <for:project-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/project.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/usemap.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/usemap.gif?rev=376595&view=auto
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/images/usemap.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/index.xml?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/index.xml
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/index.xml
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Welcome to the org.apache.forrest.plugin.input.serverStatus Plugin</title>

+  </header> 
+  <body> 
+    <section id="overview">
+      <title>Apache Forrest - org.apache.forrest.plugin.input.serverStatus Plugin</title>
+      <p>Provides a list of the Cocoon cache and other server status information.</p>
+      <p>In 'forrest run' mode, see
+        <a href="cstatus.html">cstatus.html</a></p>
+    </section>
+    
+  </body>
+</document>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/site.xml?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/site.xml
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/site.xml
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+
+<!--
+Forrest site.xml
+
+This file contains an outline of the site's information content.  It is used to:
+- Generate the website menus (though these can be overridden - see docs)
+- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
+<link href="site:changes"> links to changes.html (or ../changes.html if in
+  subdir).
+- Provide aliases for external URLs in the external-refs section.  Eg, <link
+  href="ext:cocoon"> links to http://cocoon.apache.org/ 
+
+See http://forrest.apache.org/docs/linking.html for more info
+-->
+
+<site label="org.apache.forrest.plugin.input.serverStatus" href="" xmlns="http://apache.org/forrest/linkmap/1.0"
tab="">
+
+  <about label="About">
+    <index label="Index" href="index.html" description="Welcome to org.apache.forrest.plugin.input.serverStatus"/>
+    <forrestPlugins label="Plugins Index" href="site:forrest/plugins" description="Index
of Forrest Plugins"/>
+    <changes label="Changes" href="changes.html" description="History of Changes" />
+    <todo label="Todo" href="todo.html" description="Todo List" />
+  </about>
+
+  <!--
+  The href must be wholesite.html/pdf  You can change the labels and node names
+  <all label="All">
+    <whole_site_html label="Whole Site HTML" href="wholesite.html"/>
+    <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/>
+  </all>
+  -->
+
+  <external-refs>
+    <forrest href="http://forrest.apache.org/">
+      <linking href="docs/linking.html"/>
+      <validation href="docs/validation.html"/>
+      <webapp href="docs/your-project.html#webapp"/>
+      <dtd-docs href="docs/dtd-docs.html"/>
+      <plugins href="docs/plugins"/>
+    </forrest>
+  </external-refs>
+
+</site>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/tabs.xml?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/tabs.xml
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/tabs.xml
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+
+<tabs software="MyProj"
+  title="MyProj"
+  copyright="Foo"
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  <!-- The rules for tabs are:
+    @dir will always have '/@indexfile' added.
+    @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
+    @href is not modified unless it is root-relative and obviously specifies a
+    directory (ends in '/'), in which case /index.html will be added
+    If @id's are present, site.xml entries with a matching @tab will be in that tab.
+
+   Tabs can be embedded to a depth of two. The second level of tabs will only 
+    be displayed when their parent tab is selected.    
+  -->
+
+  <tab id="plugins" label="Forrest Plugins" href="http://forrest.apache.org/pluginDocs"
indexfile="index.html"/>
+  <tab id="" label="Plugin Home" dir="" indexfile="index.html"/>
+  <!-- Add new tabs here, eg:
+  <tab label="How-Tos" dir="community/howto/"/>
+  <tab label="XML Site" dir="xml-site/"/>
+  -->
+
+</tabs>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/content/xdocs/tabs.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2006 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+
+<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.7-1//EN" "http://forrest.apache.org/dtd/skinconfig-v07-1.dtd"
+[
+  <!ENTITY skinconf-common PUBLIC "-//Apache Forrest//ENTITIES Skin Configuration common
plugins V0.7-1//EN" "">
+]>
+
+<skinconfig>
+  &skinconf-common;
+
+  <project-name>Plugin: serverStatus input</project-name>
+  <project-description>org.apache.forrest.plugin.input.serverStatus plugin for Apache
Forrest</project-description>
+
+</skinconfig>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml.tmp
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml.tmp?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml.tmp
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/documentation/skinconf.xml.tmp
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2006 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+
+<!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.7-1//EN" "http://forrest.apache.org/dtd/skinconfig-v07-1.dtd"
+[
+  <!ENTITY skinconf-common PUBLIC "-//Apache Forrest//ENTITIES Skin Configuration common
plugins V0.7-1//EN" "">
+]>
+
+<skinconfig>
+  &skinconf-common;
+
+  <project-name>Plugin: org.apache.forrest.plugin.input.serverStatus</project-name>
+  <project-description>org.apache.forrest.plugin.input.serverStatus plugin for Apache
Forrest</project-description>
+
+</skinconfig>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/java/readme.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/java/readme.txt?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/java/readme.txt
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/java/readme.txt
Fri Feb 10 00:44:31 2006
@@ -0,0 +1 @@
+Place any java source code that your plugin requires in this directory.
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/src/java/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml?rev=376595&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml
Fri Feb 10 00:44:31 2006
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<status>
+
+  <developers>
+    <!-- Add new developers here -->
+    <person name="Volunteer needed" email="dev@forrest.apache.org" id="open"/>
+  </developers>
+
+  <!-- Define here the Title of the Context you want to display in the Changes pages.
+       id = the context value of actions
+       title = Title of the Context
+  -->  
+  <contexts>
+   <!-- Add new contexts here -->
+   <context id="code" title="Changes to the Code Base"/>
+   <context id="docs" title="Changes to Documentation"/>
+   <context id="admin" title="Changes to Project Administration"/>
+   <context id="design" title="Changes to Design"/>
+   <context id="build" title="Changes to Build"/>
+  </contexts> 
+
+  <changes>
+    <!-- Add new releases here -->
+    <release version="0.1" date="not-released">
+      <action dev="DC" type="add" context="admin">
+        Initial plugin code.
+      </action>
+    </release>
+  </changes>
+
+  <todo>
+    <actions priority="high">
+      <action context="docs" dev="open">
+        Better handling of the javascript toggle(), i.e. not in body.
+      </action>
+      <action context="docs" dev="open">
+        Create the documentation with lots of examples and samples.  
+      </action>
+    </actions>
+  </todo>
+
+</status>

Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message