Author: rgardler
Date: Mon Feb 26 08:35:21 2007
New Revision: 511880
URL: http://svn.apache.org/viewvc?view=rev&rev=511880
Log:
Removed DOAp stuff from projectInfo (will become a new plugin in whiteboard)
Removed:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/doap.rdf
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-indexByCommon.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-indexBycategory.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-indexBylang.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-langIndex_siteSnippet.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/descriptorIndex-to-siteSnippet.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/doap-to-html.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/locationmap-to-descriptorIndex.xsl
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/index.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap?view=diff&rev=511880&r1=511879&r2=511880
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
(original)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
Mon Feb 26 08:35:21 2007
@@ -31,35 +31,12 @@
<cache-at-startup>true</cache-at-startup>
</map:transformer>
</map:transformers>
- <map:serializers default="html">
- <map:serializer name="rss091" mime-type="text/xml"
src="org.apache.cocoon.serialization.XMLSerializer">
- <doctype-public>-//Netscape Communications//DTD RSS
0.91//EN</doctype-public>
-
<doctype-system>http://my.netscape.com/publish/formats/rss-0.91.dtd</doctype-system>
- <encoding>ISO-8859-1</encoding>
- </map:serializer>
- </map:serializers>
- <map:pipes>
- <map:pipe name="navigation"
-
src="org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessingPipeline">
- <parameter name="cache-expires" value="600"/> <!-- Expires in seconds
-->
- </map:pipe>
- </map:pipes>
</map:components>
<map:pipelines>
<map:pipeline>
- <map:match pattern="projectDetails.source.xml">
- <map:generate type="file" src="{lm:project.descriptor}" />
- <map:serialize type="xml-document"/>
- </map:match>
-
- <map:match pattern="projectDetails.*.source.xml">
- <map:generate type="file" src="{lm:project.descriptor.{1}}" />
- <map:serialize type="xml-document"/>
- </map:match>
-
<map:match type="regexp" pattern="^(.*?)([^/]*)changes.xml$">
<map:generate type="file" src="{lm:project.status}" />
<map:transform src="{lm:projectInfo.transform.changes.document}" >
@@ -117,28 +94,6 @@
</map:match>
<!-- =============================================================== -->
- <!-- Project Description Pipelines -->
- <!-- =============================================================== -->
-
- <map:match pattern="projectDetails/projectDetails.xml">
- <map:generate type="file" src="{lm:project.descriptor}" />
- <map:transform src="{lm:projectInfo.transform.doap.html}">
- <map:parameter name="includePageHeader" value="false"/>
- </map:transform>
- <map:transform src="{lm:transform.html.document}"/>
- <map:serialize type="xml-document"/>
- </map:match>
-
- <map:match pattern="projectDetails/projectDetails.*.xml">
- <map:generate type="file" src="{lm:project.descriptor.{1}}" />
- <map:transform src="{lm:projectInfo.transform.doap.html}">
- <map:parameter name="includePageHeader" value="false"/>
- </map:transform>
- <map:transform src="{lm:transform.html.document}"/>
- <map:serialize type="xml-document"/>
- </map:match>
-
- <!-- =============================================================== -->
<!-- Use Case Pipelines -->
<!-- =============================================================== -->
@@ -170,110 +125,8 @@
<map:serialize type="xml-document"/>
</map:match>
- <!-- ================================================================ -->
- <!-- HTML indexes -->
- <!-- ================================================================ -->
-
- <!-- FIXME: create the XSL for this pipeline
-
- <map:match pattern="projectDetails/index.xml">
- <map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
- <map:transform src="{lm:projectInfo.transform.descriptorIndex.html}"/>
- <map:serialize type="xml-document"/>
- </map:match>
- -->
-
-
- <!-- Create an HTML page listing all projects categorised by category -->
- <map:match pattern="projectDetails/category-index.xml">
- <map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
- <map:transform
src="{lm:projectInfo.transform.descriptorIndex.indexBycategory}"/>
- <map:transform src="{lm:transform.html.document}"/>
- <map:serialize type="xml-document"/>
- </map:match>
-
- <!-- Create an HTML page listing all projects using the indicated
language -->
- <map:match pattern="projectDetails/category/*.xml">
- <map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
- <map:transform
src="{lm:projectInfo.transform.descriptorIndex.indexBycategory}">
- <map:parameter name="category" value="{1}"/>
- </map:transform>
- <map:transform src="{lm:transform.html.document}"/>
- <map:serialize type="xml-document"/>
- </map:match>
-
- <!-- Create an HTML page listing all projects categorised by programming
language -->
- <map:match pattern="projectDetails/lang-index.xml">
- <map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
- <map:transform
src="{lm:projectInfo.transform.descriptorIndex.indexBylang}"/>
- <map:transform src="{lm:transform.html.document}"/>
- <map:serialize type="xml-document"/>
- </map:match>
-
- <!-- Create an HTML page listing all projects using the indicated
language -->
- <map:match pattern="projectDetails/*_lang.xml">
- <map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
- <map:transform
src="{lm:projectInfo.transform.descriptorIndex.indexBylang}">
- <map:parameter name="language" value="{1}"/>
- </map:transform>
- <map:transform src="{lm:transform.html.document}"/>
- <map:serialize type="xml-document"/>
- </map:match>
</map:pipeline>
- <map:pipeline type="navigation">
- <!-- ================================================================ -->
- <!-- Site.xml snippets -->
- <!-- ================================================================ -->
-
- <!--
- Create a snippet for inclusion in site.xml that provides a link to
- all known projects specified in
- locationmap.xml file.
- -->
- <map:match pattern="projectDetails/descriptorIndex.xml">
- <map:generate type="file" src="{properties:content}/locationmap.xml" />
- <map:transform
src="{lm:projectInfo.transform.locationmap.descriptorIndex}"/>
- <map:transform type="cinclude"/>
- <map:serialize type="xml"/>
- </map:match>
-
- <!--
- Create a snippet for inclusion in site.xml that provides a link to
- an index page for all known programming languages for projects
- specified in locationmap-projects.xml file.
- -->
- <map:match pattern="projectDetails/lang_index.siteSnippet.xml">
- <map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
- <map:transform
src="{lm:projectInfo.transform.descriptorIndex.langIndex_siteSnippet}"/>
- <map:serialize type="xml-document"/>
- </map:match>
-
- <!--
- Create a snippet for inclusion in site.xml that lists all projects
- known in the locationmap-projects.xml file.
- -->
- <map:match pattern="projectDetails/index.siteSnippet.xml">
- <map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
- <map:transform
src="{lm:projectInfo.transform.descriptorIndex.siteSnippet}"/>
- <map:serialize type="xml-document"/>
- </map:match>
-
- <!--
- Create a snippet for inclusion in site.xml that lists all projects
- known in the locationmap-projects.xml that have the indicated
- programming language.
- -->
- <map:match pattern="projectDetails/language-*/index.siteSnippet.xml">
- <map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
- <map:transform
src="{lm:projectInfo.transform.descriptorIndex.siteSnippet}">
- <map:parameter name="name" value="{1}"/>
- <map:parameter name="progLanguage" value="{1}"/>
- </map:transform>
- <map:serialize type="xml-document"/>
- </map:match>
-
- </map:pipeline>
<map:pipeline>
<!-- svnHelper -->
<map:mount uri-prefix="" src="svnHelper.xmap" check-reload="yes"
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml?view=diff&rev=511880&r1=511879&r2=511880
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml
(original)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml
Mon Feb 26 08:35:21 2007
@@ -33,18 +33,6 @@
</components>
<locator>
-
- <match pattern="project.descriptor">
- <location src="doap.rdf" />
- </match>
-
- <match pattern="project.descriptor.forrest">
-<!-- FOR-910 numerous retrievals of DOAP file, so use a local copy.
- <location
src="http://svn.apache.org/repos/asf/forrest/trunk/site-author/content/doap.xml"/>
--->
- <location src="doap-forrest.xml"/>
- </match>
-
<match pattern="project.svn.url">
<location
src="http://svn.apache.org/repos/asf/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo"
/>
</match>
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/index.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/index.xml?view=diff&rev=511880&r1=511879&r2=511880
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/index.xml
(original)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/index.xml
Mon Feb 26 08:35:21 2007
@@ -161,92 +161,6 @@
</section>
<section>
- <title>Project Details</title>
- <p>Project details are generated from a project descriptor file.
- This file can be in any of the followin formats:</p>
-
- <ul>
- <li>DOAP</li>
- <li>DOAP over ATOM</li>
- </ul>
-
- <note>We need your help in adding more formats.</note>
-
- <p>The location of this descriptor file is specified in the locationmap
- with the hint <code>pproject.descriptor</code>. This defaults to
- the root of your projects content directory. To place your descriptor
- in a different location simply add
- a matcher like that shown below in your
<code>projectInfo.locationmap-projects</code>
- file. This file is, by default, in the root of the webapp directory.</p>
-
- <source><![CDATA[
- <match pattern="project.descriptor">
- <location src="[path/to/descriptor/file]" />
- </match>
- ]]></source>
-
- <p>To retrieve the project details page request the file
- <code>/projectDetails.html</code>.</p>
-
- <section>
- <title>Multiple Projects</title>
- <p>You can use the projectInfo plugin to pull together project
- information for multiple projects. For example, take a look at
- the project details for
- <a href="projectDetails/projectDetails.forrest.html">Apache
Forrest</a>.</p>
-
- <p>Using the locatoinmap you can retrieve this content from
- anywhere you want, for example, the DOAP file for the Forrest
- project comes from directly from SVN, thus we are always
- assured of it being up to date.</p>
-
- <p>To retrieve the project details of another project make a request
- for <code>projectDetails/projectDetails.[PROJECT_NAME].html</code>.
For this to work
- your project locationmap muest have an entry like this:</p>
-
- <source><![CDATA[
- <match pattern="project.descriptor.forrest">
- <location
src="http://svn.apache.org/repos/asf/forrest/trunk/site-author/content/doap.xml"/>
- </match>
- ]]></source>
-
-<warning>
-FOR-910 "project DOAP file retrieved numerous times during docs generation"
-so use a local copy instead.
-</warning>
-
- <p>Of course, if you have a central location for all your project
descriptor
- files you could use a match like this:</p>
-
- <source><![CDATA[
- <match pattern="project.descriptor.*">
- <location src="path_to_descriptors/{1}.xml"/>
- </match>
- ]]></source>
-
- <warning>The indexing of projects (described below) does not currently
work with
- wildcard matchers in the locationmap.</warning>
-
- </section>
-
- <section>
- <title>Project Indexes</title>
- <p>The system will automatically create an index of projects from your
- projects locationmap file. For example, the "Projects" section of the
- navigation on the left is automatically generated.</p>
-
- <note>There is considerable repetition in the indexes in this demo.
The
- intention is to show the range of indexes that can be created. You
should
- select the most suitable for your individual project.</note>
-
- <warning>The indexes to be included in your site navigation only work
- correctly when generating a static site. You should only use page based
- indexes for dynamic sites.</warning>
- </section>
-
- </section>
-
- <section>
<title>Experimental Features</title>
<p>These features are operational, however, they are not fully developed
and
may change considerably before they become part of the official feature
set.
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml?view=diff&rev=511880&r1=511879&r2=511880
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml
(original)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml
Mon Feb 26 08:35:21 2007
@@ -61,22 +61,6 @@
</developer>
</docs>
- <projects label="Projects" href="projectDetails/">
- <navIndexes label="Navigation Indexes">
- <xi:include href="cocoon://projectDetails/index.siteSnippet.xml"/>
- <xi:include
href="cocoon://projectDetails/language-Java/index.siteSnippet.xml"/>
- <xi:include href="cocoon://projectDetails/lang_index.siteSnippet.xml"/>
- </navIndexes>
- <pageIndexes label="Page Indexes">
- <languages label="Index by Language" href="lang-index.html"
- description="A list of all projects, indexed by language"/>
- <languages label="Java Index" href="Java_lang.html"
- description="A list of Jave projects"/>
- <languages label="Index by Category" href="category-index.html"
- description="A list of all projects, indexed by language"/>
- </pageIndexes>
- </projects>
-
<!--
The href must be wholesite.html/pdf You can change the labels and node names
<all label="All">