You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2007/05/13 16:45:12 UTC

[jira] Created: (SCM-314) BazaarScmProviderRepository doesn't work with file URL on Windows

BazaarScmProviderRepository doesn't work with file URL on Windows
-----------------------------------------------------------------

                 Key: SCM-314
                 URL: http://jira.codehaus.org/browse/SCM-314
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-bazaar
    Affects Versions: 1.0-rc1
            Reporter: Kohsuke Kawaguchi


new BazaarScmProviderRepository("file:///c:/program files/cygwin/tmp/test").getURI() returns "file://c:\program files\cygwin\tmp\test", which Bazaar rejects as 

{noformat}
bzr: ERROR: Invalid url supplied to transport: 'file://c:\\program files\\cygwin\\tmp\\test/': Win32 UNC path urls have form file://HOST/path
{noformat}

Any reason why getURI() method is not implemented as follows?

{noformat}
    public String getURI()
    {
        return orgUrl;
    }
{noformat}


-- 
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: (SCM-314) BazaarScmProviderRepository doesn't work with file URL on Windows

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse updated SCM-314:
---------------------------------

    Fix Version/s: 1.1

> BazaarScmProviderRepository doesn't work with file URL on Windows
> -----------------------------------------------------------------
>
>                 Key: SCM-314
>                 URL: http://jira.codehaus.org/browse/SCM-314
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-bazaar
>    Affects Versions: 1.0-rc1
>            Reporter: Kohsuke Kawaguchi
>             Fix For: 1.1
>
>
> new BazaarScmProviderRepository("file:///c:/program files/cygwin/tmp/test").getURI() returns "file://c:\program files\cygwin\tmp\test", which Bazaar rejects as 
> {noformat}
> bzr: ERROR: Invalid url supplied to transport: 'file://c:\\program files\\cygwin\\tmp\\test/': Win32 UNC path urls have form file://HOST/path
> {noformat}
> Any reason why getURI() method is not implemented as follows?
> {noformat}
>     public String getURI()
>     {
>         return orgUrl;
>     }
> {noformat}

-- 
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: (SCM-314) BazaarScmProviderRepository doesn't work with file URL on Windows

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed SCM-314.
--------------------------------

      Assignee: Emmanuel Venisse
    Resolution: Fixed

Fixed. Now, for file URL, we return orgUrl

> BazaarScmProviderRepository doesn't work with file URL on Windows
> -----------------------------------------------------------------
>
>                 Key: SCM-314
>                 URL: http://jira.codehaus.org/browse/SCM-314
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-bazaar
>    Affects Versions: 1.0-rc1
>            Reporter: Kohsuke Kawaguchi
>            Assignee: Emmanuel Venisse
>             Fix For: 1.1
>
>
> new BazaarScmProviderRepository("file:///c:/program files/cygwin/tmp/test").getURI() returns "file://c:\program files\cygwin\tmp\test", which Bazaar rejects as 
> {noformat}
> bzr: ERROR: Invalid url supplied to transport: 'file://c:\\program files\\cygwin\\tmp\\test/': Win32 UNC path urls have form file://HOST/path
> {noformat}
> Any reason why getURI() method is not implemented as follows?
> {noformat}
>     public String getURI()
>     {
>         return orgUrl;
>     }
> {noformat}

-- 
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