[ 
http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179715#action_179715
 ] 

Dennis Lundberg edited comment on MSITE-404 at 6/14/09 5:06 AM:
----------------------------------------------------------------

I've traced this down to 
DefaultDecorationModelInheritanceAssembler#resolvePaths( final DecorationModel 
decoration, final String baseUrl ) in doxia-decoration-model. But then I'm 
stuck. Two things happen in that method:
# The href part of a menuitem that is in the site.xml file is lost (might be 
other elements containing paths as well)
# The path is resolved into something that is just plain weird:
{noformat}
../<absolutePathToProject>/../<artifactId>
{noformat}

      was (Author: dennislundberg):
    I've traced this down to 
DefaultDecorationModelInheritanceAssembler#resolvePaths( final DecorationModel 
decoration, final String baseUrl ) in doxia-decoration-model. But the I'm 
stuck. Two things happen in that method:
# The href part of a menuitem that is in the site.xml file is lost (might be 
other elements containing paths as well)
# The path is resolved into something that is just plain weird:
{noformat}
../<absolutePathToProject>/../<artifactId>
{noformat}
  
> site:stage creates wrong links on Linux
> ---------------------------------------
>
>                 Key: MSITE-404
>                 URL: http://jira.codehaus.org/browse/MSITE-404
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: relative links, site descriptor
>    Affects Versions: 2.0
>         Environment: Linux
>            Reporter: Lukas Theussl
>         Attachments: MSITE-404.tar.gz
>
>
> site:stage creates wrong links in the navigation menu, something is messed up 
> with the relative-path resolution. The same links created with site:site are 
> correct.
> Note that this has nothing to do with multi-module setups (as reported 
> before: MSITE-275, MSITE-395), it happens on a simple project.
> Also it seems to be Unix specific as vsiveton told me it works on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to