Hi all,
can somebody explain me what I am doing wrong?
...
> Added: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/svnHelper.xmap
> URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/svnHelper.xmap?rev=424855&view=auto
> ==============================================================================
> --- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/svnHelper.xmap
(added)
> +++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/svnHelper.xmap
Sun Jul 23 16:26:19 2006
> @@ -0,0 +1,65 @@
...
> + <map:match pattern="*.svn-sh.xml">
> + <map:generate src="cocoon:/{1}.svn-revison.xml"/>
> + <map:transform src="resources/stylesheets/svn-log.xsl">
> + <map:parameter value="{lm:project.svn.url}" name="url"/>
> + <!--
> + If I use the following then I get:
> + Unable to get attribute value for projectInfo.svn.ext
> + -->
> + <!--<map:parameter value="{project:projectInfo.svn.ext}" name="test"/>-->
> + </map:transform>
> + <map:serialize type="text"/>
> + </map:match>
> + </map:pipeline>
> + </map:pipelines>
> +</map:sitemap>
> \ No newline at end of file
As soon as I want to use {project:projectInfo.svn.ext} then I get an
exception. However I defined (in the same commit):
> Modified:
> forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml
> URL:
> http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml?rev=424855&r1=424854&r2=424855&view=diff
> ==============================================================================
> ---
> forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml
(original)
> +++
> forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml
Sun Jul 23 16:26:19 2006
> @@ -31,4 +31,6 @@
> <!-- Indicate if the committers list should be included. Values are
> true
> or false. -->
> <property name="projectInfo.changes.includeCommitterList"
> value="false"/>
> +
> + <property name="projectInfo.svn.ext" value=".svn.xml"/>
> </properties>
I do not understand why {projectInfo.changes.includeCommitterList} is
working and not {project:projectInfo.svn.ext}.
Does somebody has a tip?
TIA
salu2
--
Thorsten Scherler
COO Spain
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
thorsten.scherler@wyona.com thorsten@apache.org
|