[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15104006#comment-15104006
 ] 

Hudson commented on DOXIASITETOOLS-118:
---------------------------------------

SUCCESS: Integrated in doxia-all #220 (See 
[https://builds.apache.org/job/doxia-all/220/])
[DOXIASITETOOLS-118] do interpolation after inheritance of all parents 
(hboutemy: [http://svn.apache.org/viewvc/?view=rev&rev=1725148])
* 
./doxia-sitetools/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
* 
./doxia-sitetools/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
* 
./doxia-sitetools/doxia-integration-tools/src/test/resources/unit/interpolation-parent-test/src
* 
./doxia-sitetools/doxia-integration-tools/src/test/resources/unit/interpolation-parent-test/src/site
* 
./doxia-sitetools/doxia-integration-tools/src/test/resources/unit/interpolation-parent-test/src/site/site.xml


> Separate inheritance and interpolation 
> ---------------------------------------
>
>                 Key: DOXIASITETOOLS-118
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-118
>             Project: Maven Doxia Sitetools
>          Issue Type: Improvement
>          Components: Integration Tools
>    Affects Versions: doxia-integration-tools-1.4
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>             Fix For: 1.7
>
>
> The implementation uses recursion to get an inherited model of the site.xml, 
> but every step does the interpolation too.
> So if the parent site.xml contains something like {{${project.name\}}}, its 
> value will be an ancestor project name, often an unexpected value.
> By moving the interpolation from the recursive method to the method-caller 
> you will get the name of the active project.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to