You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/11/11 19:00:39 UTC
svn commit: r332621 - in
/forrest/trunk/plugins/org.apache.forrest.plugin.input.excel: build.xml
input.xmap locationmap.xml resources/stylesheets/table-to-document.xsl
resources/stylesheets/table2document.xsl status.xml
Author: rgardler
Date: Fri Nov 11 10:00:24 2005
New Revision: 332621
URL: http://svn.apache.org/viewcvs?rev=332621&view=rev
Log:
use locationmap (for-726)
Added:
forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/locationmap.xml (with props)
forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/resources/stylesheets/table-to-document.xsl
- copied unchanged from r332593, forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/resources/stylesheets/table2document.xsl
Removed:
forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/resources/stylesheets/table2document.xsl
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/build.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/input.xmap
forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/status.xml
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/build.xml?rev=332621&r1=332620&r2=332621&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/build.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/build.xml Fri Nov 11 10:00:24 2005
@@ -18,7 +18,7 @@
<project default="docs" basedir="." name="Forrest plugin build file">
<property name="plugin-name" value="org.apache.forrest.plugin.input.excel"/>
- <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.3-dev"/>
<property name="description" value="Reads (simple) Excel sheets from the Excel 'Save As' (Type=XML)."/>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/input.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/input.xmap?rev=332621&r1=332620&r2=332621&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/input.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/input.xmap Fri Nov 11 10:00:24 2005
@@ -21,8 +21,8 @@
<map:pipeline>
<map:match pattern="**-table.xml">
- <map:generate src="{project:content.xdocs}{1}-table.xml" />
- <map:transform src="resources/stylesheets/table2document.xsl" />
+ <map:generate src="{lm:project.{1}-table.xml}" />
+ <map:transform src="{lm:excel.transform.table.document}" />
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
Added: forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/locationmap.xml?rev=332621&view=auto
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/locationmap.xml (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/locationmap.xml Fri Nov 11 10:00: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="excel.transform.*.*">
+ <location src="resources/stylesheets/{1}-to-{2}.xsl" />
+ </match>
+ </locator>
+</locationmap>
Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/locationmap.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/status.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/status.xml?rev=332621&r1=332620&r2=332621&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/status.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.excel/status.xml Fri Nov 11 10:00:24 2005
@@ -31,6 +31,9 @@
<changes>
<release version="0.3-dev" date="unreleased">
+ <action type="update" context="code" dev="RDG" importance="high">
+ uses locationmap for resource resolution.
+ </action>
<action type="update" context="admin" dev="RDG">
Changed plugin name to conform to naming conventions.
</action>