forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyriaque Dupoirieux <Cyriaque.Dupoiri...@pcotech.fr>
Subject Re: Problems with forrest.properties.xml
Date Wed, 02 Aug 2006 15:18:54 GMT
le 02/08/2006 14:50 Thorsten Scherler a écrit :
> 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?
>   
The only difference I can see is that 
projectInfo.changes.includeCommitterList is aslo defined in the 
default.plugin.properties.xml

Cyriaque,
> TIA
>
> salu2
>   

Mime
View raw message