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 2011/08/19 09:44:32 UTC

[jira] Commented: (MSHARED-203) DefaultSiteTool.getRelativePath returns nonsense if both paths are absolute

    [ https://jira.codehaus.org/browse/MSHARED-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276442#comment-276442 ] 

Lukas Theussl commented on MSHARED-203:
---------------------------------------

Added a test case in [r1159522|http://svn.apache.org/viewvc?rev=1159522&view=rev]. Note that removing one slash from the file URL gives the correct result (i.e. the absolute 'to' is returned), however, this not the correct way to specify a file URL.

> DefaultSiteTool.getRelativePath returns nonsense if both paths are absolute
> ---------------------------------------------------------------------------
>
>                 Key: MSHARED-203
>                 URL: https://jira.codehaus.org/browse/MSHARED-203
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-doxia-tools
>    Affects Versions: maven-doxia-tools-1.2.1
>            Reporter: Lukas Theussl
>
> See MSITE-600: for the two method parameters from = "scp://localhost:/tmp/blop" and to = "file:///tmp/bloop" the result is a relative path that is plain nonsense. It should return just the 'to' argument, since both paths are absolute.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira