[prev in list] [next in list] [prev in thread] [next in thread]
List: forrest-svn
Subject: svn commit: r511902 - in
From: rgardler () apache ! org
Date: 2007-02-26 17:05:26
Message-ID: 20070226170526.F29C11A981A () eris ! apache ! org
[Download RAW message or body]
Author: rgardler
Date: Mon Feb 26 09:05:24 2007
New Revision: 511902
URL: http://svn.apache.org/viewvc?view=rev&rev=511902
Log:
DOAP plugin (extracted from projectInfo plugin)
Added:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/build.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/conf/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/doap.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/forrest.properties
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/input.xmap
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/lib/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/lib/readme.txt
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/locationmap.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCategory.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCommon.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByLang.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byCategory.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byLang.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/locationmap-to-descriptorIndex.xsl
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/classes/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/classes/CatalogManager.properties
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/group-logo.gif \
(with props) forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/group.svg
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/icon.png \
(with props) forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/project-logo.gif \
(with props) forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/project.svg
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/usemap.gif \
(with props) forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/site.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/tabs.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/skinconf.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/java/
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/java/readme.txt
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/status.xml
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/build.xml?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/build.xml \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/build.xml \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<project default="docs" basedir="." name="Forrest \
org.apache.forrest.plugin.input.doap build file"> + <property name="plugin-name" \
value="org.apache.forrest.plugin.input.doap"/> + <property name="forrest.version" \
value="0.8"/> + <property name="type" value="input"/>
+ <property name="plugin-version" value="0.1"/>
+ <property name="description" value="Renders DOAP files in a human readable \
form."/> + <property name="author" value="Apache Forrest Project"/>
+ <property name="websiteURL" \
value="http://localhost:8888/docs/plugins/org.apache.forrest.plugin.input.doap"/> + \
<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>
+
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/doap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/doap.xml?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/doap.xml \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/doap.xml \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" \
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" \
xmlns:doap="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" \
xmlns:admin="http://webns.net/mvcb/" xml:lang="en"> + <doap:Project>
+ <doap:name>org.apache.forrest.plugin.input.projectInfo</doap:name>
+ <doap:shortname>projectInfo</doap:shortname>
+ <doap:homepage rdf:resource="http://forrest.apache.org/plugins/org.apache.forrest.plugin.input.projectInfo"/>
+ <doap:description>This plugin extends Apache Forrest to generate project info \
+ from various configuration files. Current features include
+ a project details page (lists important information such as
+ mailing list addresses), recent changes, todo list and
+ release notes.</doap:description>
+ <doap:shortdesc>Integrate DOAP files in a Forrest content \
object.</doap:shortdesc> + <doap:bug-database \
rdf:resource="http://issues.apache.org/jira/browse/FOR"/> + <doap:mailing-list \
rdf:resource="http://forrest.apache.org/mail-lists.html"/> + \
<doap:programming-language>XML</doap:programming-language> + \
<doap:programming-language>XSLT</doap:programming-language> + <doap:license \
rdf:resource="http://usefulinc.com/doap/licenses/asl20"/> + <doap:download-page \
rdf:resource="http://forrest.apache.org/pluginDocs/plugins_0_80/index.html"/> + \
<doap:maintainer> + <foaf:Person>
+ <foaf:name>Apache Forrest Community</foaf:name>
+ <foaf:mbox_sha1sum>eca6cfabc292eea1fcd4f9e6dd08097e2bcab459</foaf:mbox_sha1sum>
+ <foaf:homepage rdf:resource="http://forrest.apache.org/who.html"/>
+ </foaf:Person>
+ </doap:maintainer>
+ <doap:repository>
+ <doap:SVNRepository>
+ <doap:browse \
rdf:resource="http://svn.apache.org/repos/asf/forrest/trunk/plugins/org.apache.forrest.plugin.input.doap/"/>
+ <doap:location \
rdf:resource="http://svn.apache.org/repos/asf/forrest/trunk/plugins/org.apache.forrest.plugin.input.doap/"/>
+ </doap:SVNRepository>
+ </doap:repository>
+ </doap:Project>
+</rdf:RDF>
+
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/forrest.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/forrest.properties?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/forrest.properties \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/forrest.properties \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,26 @@
+# 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.
+
+##############
+# 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.doap,org.apache.forrest.plugin.input.projectInfo
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/input.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/input.xmap?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/input.xmap \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/input.xmap \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,153 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+ <map:components>
+ <map:generators>
+ <map:generator name="directory" \
src="org.apache.cocoon.generation.DirectoryGenerator"/> + </map:generators>
+ <map:transformers default="xslt">
+ <map:transformer name="cinclude" \
src="org.apache.cocoon.transformation.CIncludeTransformer"/> + <map:transformer \
name="i18n" + src="org.apache.cocoon.transformation.I18nTransformer">
+ <catalogues default="projectInfo">
+ <catalogue id="other" name="OtherMessages" \
location="{lm:project.translations}" /> + <catalogue id="projectInfo" \
name="ProjectInfoMessages" location="{lm:project.translations}" /> + \
</catalogues> + <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 type="navigation">
+ <!-- ================================================================ -->
+ <!-- Site.xml snippets -->
+ <!-- ================================================================ -->
+
+ <map:match pattern="projectDetails/descriptorIndex.xml">
+ <map:generate type="file" src="{properties:content}/locationmap.xml" />
+ <map:transform src="{lm:doap.transform.locationmap.descriptorIndex}"/>
+ <map:transform type="cinclude"/>
+ <map:serialize type="xml"/>
+ </map:match>
+
+ <map:match pattern="projectDetails/index/by*/siteSnippet.xml">
+ <map:generate type="file" src="cocoon:/projectDetails/descriptorIndex.xml" \
/> + <map:transform \
src="{lm:doap.transform.descriptorIndex.siteSnippet_by{1}}"/> + <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:doap.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:doap.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>
+
+ <!-- ================================================================ -->
+ <!-- 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:doap.transform.descriptorIndex.html}"/>
+ <map:serialize type="xml-document"/>
+ </map:match>
+ -->
+
+ <map:match pattern="projectDetails/index/by*.xml">
+ <map:generate type="file" src="cocoon:/projectDetails/descriptorIndex.xml" \
/> + <map:transform src="{lm:doap.transform.descriptorIndex.indexBy{1}}"/>
+ <map:transform src="{lm:transform.html.document}"/>
+ <map:serialize type="xml-document"/>
+ </map:match>
+
+ <map:match pattern="projectDetails/index/by*/*.xml">
+ <map:generate type="file" src="cocoon:/projectDetails/descriptorIndex.xml" \
/> + <map:transform src="{lm:doap.transform.descriptorIndex.indexBy{1}}">
+ <map:parameter name="category" value="{2}"/>
+ </map:transform>
+ <map:transform src="{lm:transform.html.document}"/>
+ <map:serialize type="xml-document"/>
+ </map:match>
+
+ <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 pattern="projectDetails.xml">
+ <map:generate src="cocoon:/projectDetails/source.xml" />
+ <map:transform src="{lm:doap.transform.doap.document}"/>
+ <map:serialize type="xml-document"/>
+ </map:match>
+
+ <map:match pattern="projectDetails/**.xml">
+ <map:generate src="cocoon:/projectDetails/{1}.source.xml" />
+ <map:transform src="{lm:doap.transform.doap.document}"/>
+ <map:serialize type="xml-document"/>
+ </map:match>
+
+ </map:pipeline>
+
+</map:pipelines>
+
+</map:sitemap>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/lib/readme.txt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/lib/readme.txt?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/lib/readme.txt \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/lib/readme.txt \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1 @@
+Place any libraries required by your plugin in this directory.
\ No newline at end of file
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/locationmap.xml?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/locationmap.xml \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/locationmap.xml \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<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>
+ <match pattern="doap.project">
+ <location src="doap.xml" />
+ </match>
+
+ <match pattern="doap.transform.*.*">
+ <location src="resources/stylesheets/{1}-to-{2}.xsl"/>
+ </match>
+ </locator>
+</locationmap>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCategory.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCategory.xsl?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCategory.xsl \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCategory.xsl \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet version = "1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:doap="http://usefulinc.com/ns/doap#">
+
+ <xsl:include href="descriptorIndex-to-indexByCommon.xsl"/>
+
+ <xsl:key name="kDistinctCategory" match="doap:category" use="@rdf:resource"/>
+
+ <xsl:param name="category"/>
+ <xsl:param name="categoryURL">http://projects.apache.org/category/</xsl:param>
+
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>Projects Indexed by Category</title>
+ </head>
+ <body>
+ <xsl:choose>
+ <xsl:when test="$category">
+ <section>
+ <title>Index of projects in the category of <xsl:value-of \
select="$category"/></title> + <xsl:apply-templates \
select="//descriptor[descendant::doap:category/@rdf:resource = concat($categoryURL, \
$category)]"/> + </section>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:for-each select="//doap:category[generate-id() = \
generate-id(key('kDistinctCategory', @rdf:resource))]"> + <xsl:sort \
select="@rdf:resource"/> + <xsl:variable name="category" \
select="@rdf:resource"/> + <section>
+ <title><xsl:value-of select="substring-after($category, \
$categoryURL)"/></title> + <xsl:apply-templates \
select="//descriptor[descendant::doap:category[@rdf:resource = $category]]"/> + \
</section> + </xsl:for-each>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ <xsl:if test="//descriptor[not(descendant::doap:category)]">
+ <section>
+ <title>Uncategorised</title>
+ <xsl:apply-templates \
select="//descriptor[not(descendant::doap:category)]"/> + </section>
+ </xsl:if>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCommon.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCommon.xsl?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCommon.xsl \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByCommon.xsl \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet version = "1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:doap="http://usefulinc.com/ns/doap#">
+
+ <xsl:template match="descriptor">
+ <xsl:variable name="name">
+ <xsl:choose>
+ <xsl:when test="descendant::doap:Project/doap:shortname">
+ <xsl:value-of select="descendant::doap:Project/doap:shortname"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="descendant::doap:Project/doap:name"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <div>
+ <p>
+ <a>
+ <xsl:attribute name="href"><xsl:value-of \
select="@href-noext"/>.html</xsl:attribute> + <xsl:value-of select="$name"/>
+ </a>
+ <xsl:text> </xsl:text>
+ <xsl:choose>
+ <xsl:when test="descendant::doap:Project/doap:shortdesc">
+ <xsl:value-of select="descendant::doap:Project/doap:shortdesc"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="descendant::doap:Project/doap:description"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </p>
+ </div>
+ </xsl:template>
+</xsl:stylesheet>
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByLang.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByLang.xsl?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByLang.xsl \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-indexByLang.xsl \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet version = "1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:doap="http://usefulinc.com/ns/doap#">
+
+ <xsl:include href="descriptorIndex-to-indexByCommon.xsl"/>
+
+ <xsl:key name="kDistinctProgLang" match="doap:programming-language" use="."/>
+
+ <xsl:param name="language"/>
+
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>Projects Indexed by Language</title>
+ </head>
+ <body>
+ <xsl:choose>
+ <xsl:when test="$language">
+ <h1>Index of projects using <xsl:value-of select="$language"/></h1>
+ <xsl:apply-templates \
select="//descriptor[descendant::doap:programming-language = $language]"/> + \
</xsl:when> + <xsl:otherwise>
+ <xsl:for-each select="//doap:programming-language[generate-id() = \
generate-id(key('kDistinctProgLang',.))]"> + <xsl:sort select="."/>
+ <xsl:variable name="language" select="."/>
+ <h1><xsl:value-of select="$language"/></h1>
+ <xsl:apply-templates \
select="//descriptor[descendant::doap:programming-language = $language]"/> + \
</xsl:for-each> + </xsl:otherwise>
+ </xsl:choose>
+
+ <xsl:if test="//descriptor[not(descendant::doap:programming-language)]">
+ <h1>Unkown Language</h1>
+ <xsl:apply-templates \
select="//descriptor[not(descendant::doap:programming-language)]"/> + \
</xsl:if> + </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet.xsl?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet.xsl \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet.xsl \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet version = "1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:doap="http://usefulinc.com/ns/doap#">
+
+ <xsl:param name="name">All</xsl:param>
+ <xsl:param name="progLanguage"/>
+
+ <xsl:template match="descriptors">
+ <xsl:element name="{$name}">
+ <xsl:attribute name="label"><xsl:value-of select="$name"/></xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="$progLanguage">
+ <xsl:apply-templates \
select="descriptor[descendant::doap:Project[doap:programming-language = \
$progLanguage]]"/> + </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="descriptor">
+ <xsl:variable name="name">
+ <xsl:choose>
+ <xsl:when test="descendant::doap:Project/doap:shortname">
+ <xsl:value-of select="descendant::doap:Project/doap:shortname"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="descendant::doap:Project/doap:name"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <project>
+ <xsl:attribute name="label"><xsl:value-of select="$name"/></xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of \
select="@href-noext"/>.html</xsl:attribute> + <xsl:attribute \
name="description">Project details for <xsl:value-of select="$name"/></xsl:attribute> \
+ </project> + </xsl:template>
+</xsl:stylesheet>
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byCategory.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byCategory.xsl?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byCategory.xsl \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byCategory.xsl \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet version = "1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:doap="http://usefulinc.com/ns/doap#">
+
+ <xsl:key name="kDistinctCategory" match="doap:category" use="@rdf:resource"/>
+
+ <xsl:param name="categoryURL">http://projects.apache.org/category/</xsl:param>
+
+ <xsl:template match="/">
+ <langIndex>
+ <xsl:attribute name="label">Category Indexes</xsl:attribute>
+ <xsl:for-each select="//doap:category[generate-id() = \
generate-id(key('kDistinctCategory', @rdf:resource))]"> + <xsl:sort \
select="@rdf:resource"/> + <xsl:variable name="category" \
select="@rdf:resource"/> + <xsl:variable name="name"><xsl:value-of \
select="substring-after($category, $categoryURL)"/></xsl:variable> + \
<xsl:element name="{$name}"> + <xsl:attribute name="label"><xsl:value-of \
select="$name"/></xsl:attribute> + <xsl:attribute \
name="href">/projectDetails/index/byCategory/<xsl:value-of \
select="$name"/>.html</xsl:attribute> + <xsl:attribute \
name="description">All projects in the category <xsl:value-of \
select="$name"/></xsl:attribute> + </xsl:element>
+ </xsl:for-each>
+ </langIndex>
+ </xsl:template>
+
+ <xsl:template match="descriptor">
+ <xsl:variable name="name">
+ <xsl:choose>
+ <xsl:when test="descendant::doap:Project/doap:shortname">
+ <xsl:value-of select="descendant::doap:Project/doap:shortname"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="descendant::doap:Project/doap:name"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <project>
+ <xsl:attribute name="label"><xsl:value-of select="$name"/></xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of \
select="@href-noext"/>.html</xsl:attribute> + <xsl:attribute \
name="description">Project details for <xsl:value-of select="$name"/></xsl:attribute> \
+ </project> + </xsl:template>
+</xsl:stylesheet>
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byLang.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byLang.xsl?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byLang.xsl \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/descriptorIndex-to-siteSnippet_byLang.xsl \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet version = "1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:doap="http://usefulinc.com/ns/doap#">
+
+ <xsl:key name="kDistinctProgLang" match="doap:programming-language" use="."/>
+
+ <xsl:template match="/">
+ <langIndex>
+ <xsl:attribute name="label">Language Indexes</xsl:attribute>
+ <xsl:for-each select="//doap:programming-language[generate-id() = \
generate-id(key('kDistinctProgLang',.))]"> + <xsl:sort select="."/>
+ <xsl:variable name="name" select="."/>
+ <xsl:element name="{$name}">
+ <xsl:attribute name="label"><xsl:value-of select="$name"/></xsl:attribute>
+ <xsl:attribute name="href">/projectDetails/index/byLang/<xsl:value-of \
select="$name"/>.html</xsl:attribute> + <xsl:attribute \
name="description">All projects using <xsl:value-of select="$name"/></xsl:attribute> \
+ </xsl:element> + </xsl:for-each>
+ </langIndex>
+ </xsl:template>
+
+ <xsl:template match="descriptor">
+ <xsl:variable name="name">
+ <xsl:choose>
+ <xsl:when test="descendant::doap:Project/doap:shortname">
+ <xsl:value-of select="descendant::doap:Project/doap:shortname"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="descendant::doap:Project/doap:name"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <project>
+ <xsl:attribute name="label"><xsl:value-of select="$name"/></xsl:attribute>
+ <xsl:attribute name="href"><xsl:value-of \
select="@href-noext"/>.html</xsl:attribute> + <xsl:attribute \
name="description">Project details for <xsl:value-of select="$name"/></xsl:attribute> \
+ </project> + </xsl:template>
+</xsl:stylesheet>
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/resources/stylesheets/doap-to-document.xsl?view=auto&rev=511902 \
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/doap-to-document.xsl \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,299 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet version = "1.0"
+ xmlns:atom="http://www.w3.org/2005/Atom"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns:doap="http://usefulinc.com/ns/doap#"
+ xmlns:asfext="http://projects.apache.org/ns/asfext#"
+ >
+
+ <xsl:template match="/">
+ <xsl:apply-templates select="doap:Project|rdf:RDF|atom:feed" />
+ </xsl:template>
+
+ <xsl:template match="rdf:RDF">
+ <xsl:apply-templates select="doap:Project" />
+ </xsl:template>
+
+ <xsl:template match="atom:feed">
+ <xsl:apply-templates select="atom:entry/atom:content/doap:Project" />
+ </xsl:template>
+
+ <xsl:template match="doap:Project">
+ <xsl:call-template name="project" />
+ </xsl:template>
+
+ <xsl:template name="project">
+ <document>
+ <xsl:call-template name="header" />
+ <xsl:call-template name="body" />
+ </document>
+ </xsl:template>
+
+ <xsl:template name="header">
+ <header>
+ <link rel="stylesheet" type="text/css" href="../html/projects.css" />
+ <title>Information about <xsl:value-of select="doap:name"/></title>
+ </header>
+ </xsl:template>
+
+ <xsl:template name="body">
+ <body>
+ <xsl:call-template name="project-header" />
+ <xsl:call-template name="project-summary" />
+ <xsl:call-template name="project-releases" />
+ <xsl:if test="asfext:mailing-list">
+ <xsl:call-template name="detailed-mailing-lists" />
+ </xsl:if>
+
+ <xsl:if test="doap:description">
+ <section>
+ <title>Description</title>
+ <xsl:value-of select="doap:description"/>
+ </section>
+ </xsl:if>
+ </body>
+ </xsl:template>
+
+ <xsl:template match="@rdf:resource">
+ <a>
+ <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
+ <xsl:value-of select="."/>
+ </a>
+ </xsl:template>
+
+ <xsl:template match="doap:programming-language">
+ <a>
+ <xsl:attribute name="href"><xsl:value-of \
select="."/>_lang.html</xsl:attribute> + <xsl:value-of select="."/>
+ </a>
+ <xsl:if test="not(position() = last())">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template match="doap:category">
+ <a>
+ <xsl:attribute name="href">category/<xsl:value-of \
select="substring-after(@rdf:resource, 'category/')" />.html</xsl:attribute> + \
<xsl:value-of select="substring-after(@rdf:resource, 'category/')"/> + </a>
+ <xsl:if test="not(position() = last())">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:template>
+
+ <xsl:template name="project-header">
+ <div class="description">
+ <p>
+ <xsl:value-of select="doap:shortdesc"/>
+ </p>
+ <xsl:if test="doap:homepage">
+ <p>
+ For more information visit
+ <xsl:apply-templates select="doap:homepage/@*" />
+ </p>
+ </xsl:if>
+ </div>
+ </xsl:template>
+
+ <xsl:template name="project-summary">
+ <section>
+ <title>Summary</title>
+
+ <div class="content">
+ <table>
+ <xsl:if test="doap:programming-language">
+ <tr>
+ <td class="left">Programming Languages</td>
+ <td class="right">
+ <xsl:apply-templates select="doap:programming-language" />
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="doap:category">
+ <tr>
+ <td class="left">Categories</td>
+ <td class="right">
+ <xsl:apply-templates select="doap:category" />
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="doap:mailing-list">
+ <tr>
+ <td class="left">Mailing Lists</td>
+ <td class="right">
+ <xsl:apply-templates select="doap:mailing-list/@*" />
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="doap:bug-database">
+ <tr>
+ <td class="left">Bug/Issue Tracker</td>
+ <td class="right">
+ <xsl:apply-templates select="doap:bug-database/@*" />
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="doap:wiki">
+ <tr>
+ <td class="left">Wiki</td>
+ <td class="right">
+ <xsl:apply-templates select="doap:wiki/@*" />
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="doap:license">
+ <tr>
+ <td class="left">License</td>
+ <td class="right">
+ <xsl:choose>
+ <xsl:when test="doap:license/@rdf:resource = \
'http://usefulinc.com/doap/licenses/asl20'"> + <a \
href="http://www.apache.org/licenses/LICENSE-2.0">Apache License Version 2.0</a> + \
</xsl:when> + <xsl:otherwise>
+ <xsl:apply-templates select="doap:license/@*" />
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="doap:homepage">
+ <tr>
+ <td class="left">Project Website</td>
+ <td class="right">
+ <xsl:apply-templates select="doap:homepage/@*" />
+ </td>
+ </tr>
+ </xsl:if>
+ </table>
+ </div>
+ </section>
+ </xsl:template>
+
+ <xsl:template match="asfext:mailing-list/asfext:Mail-list">
+ <tr><td class="title"><xsl:apply-templates select="doap:name"/></td>
+ <td class="right"><xsl:value-of select="doap:description"/></td>
+ <td class="right"><a><xsl:attribute name="href">
+ <xsl:choose>
+ <xsl:when test="asfext:subscribe">
+ <xsl:value-of select="asfext:subscribe/@rdf:resource"/>
+ </xsl:when>
+ <xsl:otherwise>mailto:<xsl:value-of \
select="substring-before(doap:name,'@')"/>-subscribe@<xsl:value-of \
select="substring-after(doap:name,'@')"/></xsl:otherwise> + </xsl:choose>
+ </xsl:attribute>Subscribe</a></td>
+ <td class="right">
+ <xsl:choose>
+ <xsl:when test="asfext:archives">
+ <a><xsl:attribute name="href">
+ <xsl:value-of select="asfext:archives/@rdf:resource"/>
+ </xsl:attribute>Archives</a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>Not Archived</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template name="detailed-mailing-lists">
+ <section>
+ <title>Mailing List Details</title>
+ <table><tr><td>Name</td><td>Description</td><td>Subscribe</td>
+ <td>Archives</td></tr>
+ <xsl:apply-templates select="asfext:mailing-list/asfext:Mail-list" />
+ </table>
+ </section>
+ </xsl:template>
+
+ <xsl:template name="project-scm">
+
+ <div class="content">
+ <xsl:choose>
+ <xsl:when test="doap:repository">
+ <xsl:for-each select="doap:repository/doap:SVNRepository">
+ <table>
+ <tr>
+ <td class="left">Browse</td>
+ <td class="right">
+ <xsl:apply-templates select="doap:browse/@*" />
+ </td>
+ </tr>
+ <tr>
+ <td class="left">Checkout</td>
+ <td class="right">
+ <pre>svn co <xsl:apply-templates \
select="doap:location/@rdf:resource" /></pre> + </td>
+ </tr>
+ </table>
+ </xsl:for-each>
+ </xsl:when>
+ <xsl:otherwise>
+ <p>No source control information provided.</p>
+ </xsl:otherwise>
+ </xsl:choose>
+ </div>
+ </xsl:template>
+
+ <xsl:template match="doap:release/doap:Version">
+ <tr>
+ <td class="title">
+ <xsl:value-of select="doap:name" />
+ </td>
+ <td class="right"><xsl:value-of select="doap:revision" /></td>
+ <td class="right"><xsl:value-of select="doap:created" /></td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template name="project-releases">
+ <section>
+ <title>Source and Releases</title>
+
+ <xsl:if test="doap:download-page">
+ <div class="content">
+ <p>Releases can be downloaded from
+ <xsl:apply-templates select="doap:download-page/@*" />
+ .
+ </p>
+ </div>
+ </xsl:if>
+
+ <xsl:choose>
+ <xsl:when test="doap:release">
+ <p>Most recent releases:</p>
+
+ <div class="content">
+ <table>
+ <tr><td>Release</td><td>Version</td><td>Date</td></tr>
+ <xsl:apply-templates select="doap:release/doap:Version" />
+ </table>
+ </div>
+ </xsl:when>
+ <xsl:otherwise>
+ <p>No current releases.</p>
+ </xsl:otherwise>
+ </xsl:choose>
+
+ <p>Access to the source code:</p>
+
+ <xsl:call-template name="project-scm" />
+ </section>
+ </xsl:template>
+</xsl:stylesheet>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/locationmap-to-descriptorIndex.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/resources/stylesheets/locationmap-to-descriptorIndex.xsl?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/locationmap-to-descriptorIndex.xsl \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/resources/stylesheets/locationmap-to-descriptorIndex.xsl \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<xsl:stylesheet version = "1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:lm="http://apache.org/forrest/locationmap/1.0"
+ xmlns:cinclude="http://apache.org/cocoon/include/1.0">
+
+ <xsl:template match="lm:locationmap">
+ <descriptors>
+ <xsl:apply-templates/>
+ </descriptors>
+ </xsl:template>
+
+ <xsl:template match="lm:locator/lm:match[starts-with(@pattern, \
'project.descriptor')]"> + <xsl:variable name="href-noext">
+ <xsl:choose>
+ <xsl:when test="@pattern = 'project.descriptor'">/projectDetails</xsl:when>
+ <xsl:otherwise><xsl:value-of select="substring-after(@pattern, \
'project.descriptor.')"/></xsl:otherwise> + </xsl:choose>
+ </xsl:variable>
+
+ <descriptor href-noext="/projectDetails/{$href-noext}">
+ <xsl:attribute name="id"><xsl:value-of select="@pattern"/></xsl:attribute>
+ <cinclude:include>
+ <xsl:attribute name="src">cocoon:/projectDetails/<xsl:value-of \
select="$href-noext"/>.source.xml</xsl:attribute> + </cinclude:include>
+ </descriptor>
+ </xsl:template>
+</xsl:stylesheet>
+
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/classes/CatalogManager.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/src/documentation/classes/CatalogManager.properties?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/classes/CatalogManager.properties \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/classes/CatalogManager.properties \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,20 @@
+# 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.
+
+#=======================================================================
+# CatalogManager.properties for Catalog Entity Resolver.
+#
+# This is a minimal properties file to prevent a confusing warning.
+catalogs=
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/group-logo.gif
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/src/documentation/content/xdocs/images/group-logo.gif?view=auto&rev=511902
==============================================================================
Binary file - no diff available.
Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/group-logo.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/group.svg
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/src/documentation/content/xdocs/images/group.svg?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/group.svg \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/group.svg \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+ 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.
+-->
+
+<!--
+ 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>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/icon.png
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/src/documentation/content/xdocs/images/icon.png?view=auto&rev=511902
==============================================================================
Binary file - no diff available.
Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/icon.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/project-logo.gif
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/src/documentation/content/xdocs/images/project-logo.gif?view=auto&rev=511902
==============================================================================
Binary file - no diff available.
Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/project-logo.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/project.svg
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/src/documentation/content/xdocs/images/project.svg?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/project.svg \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/project.svg \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,82 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+ 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.
+-->
+
+<!--
+ 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>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/usemap.gif
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest. \
plugin.input.doap/src/documentation/content/xdocs/images/usemap.gif?view=auto&rev=511902
==============================================================================
Binary file - no diff available.
Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/images/usemap.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/index.xml \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<!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.doap Plugin</title>
+ </header>
+ <body>
+ <section id="overview">
+ <title>Apache Forrest - org.apache.forrest.plugin.input.doap Plugin</title>
+ <p>Renders DOAP files in a human readable form.</p>
+ </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>doap.projectDescriptor</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 project locationmap
+ file.</p>
+
+ <source><![CDATA[
+ <match pattern="doap.projectDescriptor">
+ <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.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="doap.projectDescriptor.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="doap.projectDescriptor.*">
+ <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 id="samples">
+ <title>Samples</title>
+ <p>This section includes links to a number of samples using this plugin. The
+ plugin is intended to be self documenting through these samples. If you
+ require further help please ask on the user mailing list.</p>
+
+ <ul>
+ <li><fixme author="rdg">Add a link to a sample here...</fixme></li>
+ <li><fixme author="rdg">Add another sample link here...</fixme></li>
+ </ul>
+
+ <note>The more samples included here the easier it is for users to
+ understand this plugin. If you can provide additional samples please
+ do so.</note>
+ </section>
+ </body>
+</document>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/site.xml?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/site.xml \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/site.xml \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+
+<!--
+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.doap" 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.doap"/> + <forrestPlugins label="Plugins Index" \
href="ext: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>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/tabs.xml?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/tabs.xml \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/content/xdocs/tabs.xml \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<!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>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/skinconf.xml?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/skinconf.xml \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/documentation/skinconf.xml \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+
+<!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.doap</project-name>
+ <project-description>org.apache.forrest.plugin.input.doap plugin for Apache \
Forrest</project-description> +
+</skinconfig>
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/java/readme.txt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/java/readme.txt?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/java/readme.txt \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/src/java/readme.txt \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1 @@
+Place any java source code that your plugin requires in this directory.
\ No newline at end of file
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/status.xml?view=auto&rev=511902
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/status.xml \
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.doap/status.xml \
Mon Feb 26 09:05:24 2007 @@ -0,0 +1,61 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<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="RDG" type="add" context="admin">
+ Initial plugin code.
+ </action>
+ </release>
+ </changes>
+
+ <todo>
+ <actions priority="high">
+ <action context="docs" dev="open">
+ Customize this template plugin with your plugin's details. This
+ TODO list is generated from 'status.xml'.
+ </action>
+ <action context="docs" dev="open">
+ Create the documentation with lots of examples and samples.
+ XML content goes in
+ <code>src/documentation/content/xdocs</code>.
+ </action>
+ </actions>
+ </todo>
+
+</status>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic