You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/08/13 16:38:09 UTC
svn commit: r431181 - in /lenya/trunk/src/modules-core/properties: java/lib/
java/lib/org.apache.forrest.plugin.output.inputModule-r431162.jar
sitemap.xmap
Author: thorsten
Date: Sun Aug 13 07:38:08 2006
New Revision: 431181
URL: http://svn.apache.org/viewvc?rev=431181&view=rev
Log:
This commit uses a generator of a forrest plugin. See
http://svn.apache.org/viewvc?view=rev&revision=429872 for more information.
Produces properties from an input-module. This is been managed by the
heart of the forrest plugin the ModuleGenerator. The generator is contacting
the input module and gets an iterator of all attributes names. This
iterator will be then used to receive the values of the key. Till now
we only use a Object to String cast but an input module does not have
to return a simple String but can return any object. This may cause
ClassCastExceptions for the values.
Further some attributes need to be received with additional parameter
(like the page-envelope). The genarator returns then Null.
See
http://localhost:8888/modules/properties/input-module.properties.properties.xml
http://localhost:8888/modules/properties/input-module.page-envelope.properties.xml
The match is
<map:match pattern="input-module.*.properties.xml">
Added:
lenya/trunk/src/modules-core/properties/java/lib/
lenya/trunk/src/modules-core/properties/java/lib/org.apache.forrest.plugin.output.inputModule-r431162.jar (with props)
lenya/trunk/src/modules-core/properties/sitemap.xmap
- copied, changed from r431162, forrest/trunk/plugins/org.apache.forrest.plugin.output.inputModule/output.xmap
Added: lenya/trunk/src/modules-core/properties/java/lib/org.apache.forrest.plugin.output.inputModule-r431162.jar
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/properties/java/lib/org.apache.forrest.plugin.output.inputModule-r431162.jar?rev=431181&view=auto
==============================================================================
Binary file - no diff available.
Propchange: lenya/trunk/src/modules-core/properties/java/lib/org.apache.forrest.plugin.output.inputModule-r431162.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Copied: lenya/trunk/src/modules-core/properties/sitemap.xmap (from r431162, forrest/trunk/plugins/org.apache.forrest.plugin.output.inputModule/output.xmap)
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/properties/sitemap.xmap?p2=lenya/trunk/src/modules-core/properties/sitemap.xmap&p1=forrest/trunk/plugins/org.apache.forrest.plugin.output.inputModule/output.xmap&r1=431162&r2=431181&rev=431181&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.output.inputModule/output.xmap (original)
+++ lenya/trunk/src/modules-core/properties/sitemap.xmap Sun Aug 13 07:38:08 2006
@@ -27,7 +27,7 @@
<!-- input-module properties file -->
<!-- ============================================================ -->
<map:pipeline>
- <map:match pattern="module.*.properties">
+ <map:match pattern="input-module.*.properties.xml">
<map:generate type="module">
<map:parameter name="input-module" value="{1}"/>
</map:generate>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org