Author: rgardler
Date: Fri Nov 11 09:24:24 2005
New Revision: 332610
URL: http://svn.apache.org/viewcvs?rev=332610&view=rev
Log:
use the locationmap (FOR-726)
Added:
forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/locationmap.xml
(with props)
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/build.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/input.xmap
forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/build.xml
URL:
http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/build.xml?rev=332610&r1=332609&r2=332610&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/build.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/build.xml Fri
Nov 11 09:24:24 2005
@@ -18,9 +18,9 @@
<project default="docs" basedir="." name="Forrest plugin build file">
<property name="plugin-name" value="org.apache.forrest.plugin.input.dtdx"/>
- <property name="forrest.version" value="0.7"/>
+ <property name="forrest.version" value="0.8"/>
<property name="type" value="input"/>
- <property name="plugin-version" value="0.1"/>
+ <property name="plugin-version" value="0.2"/>
<property name="description" value="Use the NekoDTD tool packaged as a
Cocoon Generator to automatically generate some hyperlinked DTD reference
documentation."/>
<property name="author" value="Apache Forrest Project"/>
<property name="websiteURL"
value="http://forrest.apache.org/docs/plugins/org.apache.forrest.plugin.input.dtdx"/>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/input.xmap
URL:
http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/input.xmap?rev=332610&r1=332609&r2=332610&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/input.xmap
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/input.xmap Fri
Nov 11 09:24:24 2005
@@ -40,11 +40,11 @@
<map:pipelines>
<map:pipeline>
<map:match type="regexp" pattern="^(.*?)([^/]*)\.dtdx\.xml$">
- <map:generate type="nekodtd"
src="{forrest:context}/resources/schema/dtd/{2}.dtd">
+ <map:generate type="nekodtd" src="{lm:forrest.schema.{2}}">
<map:parameter name="config-class"
value="org.cyberneko.dtd.DTDConfiguration" />
</map:generate>
- <map:transform src="resources/stylesheets/dtdx2flat.xsl" />
- <map:transform src="resources/stylesheets/flat2document.xsl" />
+ <map:transform src="{lm:dtdx.transform.dtdx.flat}" />
+ <map:transform src="{lm:dtdx.transform.flat-to-document}" />
<map:serialize type="xml-document"/>
</map:match>
</map:pipeline>
Added:
forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/locationmap.xml
URL:
http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/locationmap.xml?rev=332610&view=auto
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/locationmap.xml
(added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/locationmap.xml
Fri Nov 11 09:24:24 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2002-2005 The Apache Software Foundation or its licensors,
+ as applicable.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+
+ <components>
+ <matchers default="lm">
+ <matcher
+ name="lm"
+ src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+ </matchers>
+ <selectors default="exists">
+ <selector name="exists" logger="sitemap.selector.exists"
+ src="org.apache.forrest.sourceexists.SourceExistsSelector"
/>
+ </selectors>
+ </components>
+
+ <locator>
+ <match pattern="dtdx.transform.*.*">
+ <location src="resources/stylesheets/flat-to-document.xsl" />
+ </match>
+ </locator>
+</locationmap>
Propchange:
forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/locationmap.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml
URL:
http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml?rev=332610&r1=332609&r2=332610&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml Fri
Nov 11 09:24:24 2005
@@ -19,6 +19,9 @@
<changes>
<release version="0.1" date="unreleased">
+ <action dev="RDG" type="update" context="code" importance="high">
+ Use the locationmap to expose internal resources.
+ </action>
<action dev="RDG" type="update" context="admin">
Renamed to bring into line with our naming conventions.
</action>