[jira] Issue Comment Edited: (MSITE-404) site:stage creates wrong links on Linux

2009-07-27 Thread Lukas Theussl (JIRA)

[ 
http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=185018#action_185018
 ] 

Lukas Theussl edited comment on MSITE-404 at 7/27/09 12:56 PM:
---

Trunk has been bumped to doxia-1.1.2-SNAPSHOT ( 
[r798235|http://svn.apache.org/viewvc?view=revrevision=798235 ]), snapshot is 
deployed for testing.



  was (Author: lukas):
Trunk has been bumped to doxia-1.1.2-SNAPSHOT 
([r798235|http://svn.apache.org/viewvc?view=revrevision=798235), snapshot is 
deployed for testing.
  
 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
Assignee: Lukas Theussl
 Fix For: 2.1

 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




[jira] Issue Comment Edited: (MSITE-404) site:stage creates wrong links on Linux

2009-06-14 Thread Dennis Lundberg (JIRA)

[ 
http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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