You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2013/04/24 23:45:53 UTC

[jira] (DOXIATOOLS-34) Separate inheritance and interpolation

     [ https://jira.codehaus.org/browse/DOXIATOOLS-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated DOXIATOOLS-34:
------------------------------------

    Description: 
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.

  was:
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.

    
> Separate inheritance and interpolation 
> ---------------------------------------
>
>                 Key: DOXIATOOLS-34
>                 URL: https://jira.codehaus.org/browse/DOXIATOOLS-34
>             Project: Maven Doxia Tools
>          Issue Type: Improvement
>          Components: Doxia Integration Tools
>    Affects Versions: doxia-integration-tools-1.4
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira