You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2009/05/15 09:31:44 UTC
[jira] Created: (MSITE-404) site:stage creates wrong links on Linux
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
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), 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
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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=rev&revision=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=rev&revision=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] Closed: (MSITE-404) site:stage creates wrong links on Linux
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl closed MSITE-404.
-------------------------------
Assignee: Lukas Theussl
Resolution: Fixed
Trunk has been bumped to doxia-1.1.2-SNAPSHOT ([r798235|http://svn.apache.org/viewvc?view=rev&revision=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] Commented: (MSITE-404) site:stage creates wrong links on
Linux
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179694#action_179694 ]
Dennis Lundberg commented on MSITE-404:
---------------------------------------
Confirmed on Ubuntu 7.10.
> 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
[jira] Updated: (MSITE-404) site:stage creates wrong links on Linux
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl updated MSITE-404:
--------------------------------
Attachment: MSITE-404.tar.gz
Trivial test project. site:site creates correct links (eg {noformat}<a href="test.html">MSITE-404</a>{noformat} for test.html) but site:stage gives {noformat}<a href="../home/lukas/maven/jira/m2/site/MSITE-404/msite-404/../msite-404">MSITE-404</a>{noformat} for the same.
> 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), 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] Updated: (MSITE-404) site:stage creates wrong links on Linux
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl updated MSITE-404:
--------------------------------
Description:
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.
was:
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), it happens on a simple project.
Also it seems to be Unix specific as vsiveton told me it works on Windows.
> 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
[jira] Commented: (MSITE-404) site:stage creates wrong links on
Linux
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=179715#action_179715 ]
Dennis Lundberg commented on MSITE-404:
---------------------------------------
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
[jira] Commented: (MSITE-404) site:stage creates wrong links on
Linux
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184917#action_184917 ]
Lukas Theussl commented on MSITE-404:
-------------------------------------
The reason for the different results on Windows/Linux is due to PLXUTILS-116. However, we need to check if this method is used correctly in DecorationModel, we can probably work around it.
> 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
> 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] Commented: (MSITE-404) site:stage creates wrong links on
Linux
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184765#action_184765 ]
Lukas Theussl commented on MSITE-404:
-------------------------------------
I am currently also stuck with hunting this down. However, some remark: the only difference between site:site and site:stage is that site:stage sets the project url to a relative path ('../msite-404' in my test case). This sounds weird to me as first, it's supposed to be the distMangmt's url that is used by site:stage, and second, it's not a valid url.
If you're curious, just add <url>../msite-404</url> to my test pom, then site:site will give you the same (bad) links as site:stage. I would never suppose this to be correct for site:site, so why should it be for site:stage?
> 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
[jira] Issue Comment Edited: (MSITE-404) site:stage creates wrong
links on Linux
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ 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