You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kurt Tometich (JIRA)" <ji...@codehaus.org> on 2008/02/21 18:56:28 UTC

[jira] Created: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Windows path length limitations can be overcome by feeding an absolute path to SVN
----------------------------------------------------------------------------------

                 Key: SCM-368
                 URL: http://jira.codehaus.org/browse/SCM-368
             Project: Maven SCM
          Issue Type: Improvement
          Components: maven-scm-api
    Affects Versions: 1.0
         Environment: Any Windows machine
            Reporter: Kurt Tometich
            Priority: Minor


When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

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

Emmanuel Venisse closed SCM-368.
--------------------------------

    Resolution: Fixed

Done.

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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] Reopened: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

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

Emmanuel Venisse reopened SCM-368:
----------------------------------


oh, I didn't know this option.
I wouldn't want to run an external program to find it, so I think i'll add a new property in the conf file to change it

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Dominique Jean-Prost (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146585#action_146585 ] 

Dominique Jean-Prost commented on SCM-368:
------------------------------------------

Well, I've just tested as the plugin has been released, and I still meet the problem. Here what I do :
1. cd c:\a\very\long\paht\under\windows\xp\or\windows\2000
2. mvn scm:checkout -DconnectionUrl=scm:svn:http://myUrlHere
--> It says 
[INFO] Executing: cmd.exe /X /C "svn --non-interactive checkout http://myUrlHere checkout"
[INFO] Working directory: c:\a\very\long\paht\under\windows\xp\or\windows\2000
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: Your .svn/tmp directory may be missing or corrupt; run 'svn cleanup' and try again
svn: Can't open file 'checkout\blabla....svn-base': Le chemin d'accès spécifié est introuvable.

3. If I execute svn --non-interactive checkout http://myUrlHere c:\a\very\long\paht\under\windows\xp\or\windows\2000\checkout : it works.

Can you look at this please ?

PS : my test was done by using the release plugin. It failed for the same reason, then I tested directly the scm plugin.


> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135645#action_135645 ] 

Olivier Lamy commented on SCM-368:
----------------------------------

Yes it does :
{code}
$ pwd
/cygdrive/c/ci/wd/41

olamy@W-OLAMY /cygdrive/c/ci/wd/41
$ cmd.exe /X /C "svn --non-interactive update /cygdrive/c/ci/wd/41"
At revision 658823.
{code}

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135644#action_135644 ] 

Emmanuel Venisse commented on SCM-368:
--------------------------------------

is it work with svn --non-interactive update /cygdrive/c/ci/wd/41 ?

If it is ok, I'll can add a property to convert windows path to cygwin path.

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

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

Emmanuel Venisse updated SCM-368:
---------------------------------

    Fix Version/s: 1.1

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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] Reopened: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

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

Olivier Lamy reopened SCM-368:
------------------------------


Hi,
The fix in rev [656441|http://svn.apache.org/viewvc?view=rev&revision=656441] breaks continuum on cygwin.
Relevant part of the log :
{code}

2008-05-21 00:28:26,265 [pool-1-thread-1] INFO  org.apache.continuum.scm.manager
.Slf4jScmLogger  - Executing: cmd.exe /X /C "svn --non-interactive update C:\ci\wd\41"
2008-05-21 00:28:26,296 [pool-1-thread-1] INFO  org.apache.continuum.scm.manager
.Slf4jScmLogger  - Working directory: C:\ci\wd\41
2008-05-21 00:28:26,484 [pool-1-thread-1] INFO  org.apache.continuum.scm.manager
.Slf4jScmLogger  - Svn command failed due to some locks in working copy. We try to run a 'svn cleanup'.

{code}

The workaround is too add windows svn first in the cygwin path.

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

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

Emmanuel Venisse closed SCM-368.
--------------------------------

    Resolution: Fixed

New fix. Olivier can you verify it?

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135977#action_135977 ] 

Olivier Lamy commented on SCM-368:
----------------------------------

Tested and works fine.
Thanks!

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Joerg Schaible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135836#action_135836 ] 

Joerg Schaible commented on SCM-368:
------------------------------------

Note, that the following snippet makes wrong assumptions:

{code}
        if ( settings.isUseCygwinPath() )
        {
            workingDir = "/cygdrive/" + workingDir;
            workingDir = StringUtils.replace( workingDir, ":", "" );
            workingDir = StringUtils.replace( workingDir, "\\", "/" );
        }
{code}

"/cygdrive" may not exist at all. The cygdrive prefix can be set to anything. See for example on my system:

{noformat}
$ mount --show-cygdrive-prefix
Prefix              Type         Flags
/mnt                system       binmode
{noformat}

Cygwin users set this also often to "/dev" or even "/" (although not recommended). The cygdrive prefix is currently stored in Windows registry only, so you will have to retrieve it calling an external utility.


> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Dominique Jean-Prost (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130971#action_130971 ] 

Dominique Jean-Prost commented on SCM-368:
------------------------------------------

Well I'm meeting this problem too.
Let me fix the link provided by Kurt. The correct link is http://subversion.tigris.org/faq.html#long-paths.
I think this problem is quite annoying and should be quite easy to fix. Can it be added to the must-fix ?

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Ovidiu Feodorov (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182296#action_182296 ] 

Ovidiu Feodorov commented on SCM-368:
-------------------------------------

Just an observation, I found cases when cygwin svn fails with absolute cygwin paths, if those paths are specified in a --targets file. More details about these cases here: http://mail-archives.apache.org/mod_mbox/maven-users/200907.mbox/%3C4A4CD0FB.7070909@novaordis.com%3E

I'd suggest making using relative paths configurable from pom.

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146592#action_146592 ] 

Emmanuel Venisse commented on SCM-368:
--------------------------------------

oh, you're right, it was done only for the update command. File a new issue for the checkout command.

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

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

Emmanuel Venisse closed SCM-368.
--------------------------------

      Assignee: Emmanuel Venisse
    Resolution: Fixed

Fixed. Thanks for the link.

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Dominique Jean-Prost (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146590#action_146590 ] 

Dominique Jean-Prost commented on SCM-368:
------------------------------------------

Well, I think I use it :

[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.1:checkout' -->
[DEBUG]   (f) basedir = C:\temp\{BF39BA21-A67B-47D4-931D-446F746DF0AC}\jre\bin
[DEBUG]   (s) checkoutDirectory = C:\temp\{BF39BA21-A67B-47D4-931D-446F746DF0AC}\jre\bin\target\checkout
[DEBUG]   (f) connectionType = connection
[DEBUG]   (s) connectionUrl = scm:svn:http://vsrigel:8080/svn/tags/sofaxis-protocoleconvention-root-1.0.4/
[DEBUG]   (f) developerConnectionUrl = scm:svn:http://vsrigel:8080/svn/tags/sofaxis-protocoleconvention-root-1.0.4/
[DEBUG]   (f) settings = org.apache.maven.settings.Settings@16614e7
[DEBUG]   (f) skipCheckoutIfExists = false
[DEBUG] -- end configuration --
[INFO] [scm:checkout]
[INFO] Removing C:\temp\{BF39BA21-A67B-47D4-931D-446F746DF0AC}\jre\bin\target\checkout
[INFO] Executing: cmd.exe /X /C "svn --non-interactive checkout http://myUrl/ checkout"
[INFO] Working directory: C:\temp\{BF39BA21-A67B-47D4-931D-446F746DF0AC}\jre\bin\target
...
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: Your .svn/tmp directory may be missing or corrupt; run 'svn cleanup' and try again
svn: Can't open file 'checkout\blabla.svn-base': Le chemin d'accès spécifié est introuvable.

I think the command line shoud be svn --non-interactive checkout http://myUrl/ ${checkoutDirectory} where checkoutDirectory is absolute instead of svn --non-interactive checkout http://myUrl/ checkout where checkout is relative.
What do you think ?

> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

-- 
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: (SCM-368) Windows path length limitations can be overcome by feeding an absolute path to SVN

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146588#action_146588 ] 

Emmanuel Venisse commented on SCM-368:
--------------------------------------

Are you sure you use maven-scm-plugin 1.1? Run the command with '-X' option to look at the version used.


> Windows path length limitations can be overcome by feeding an absolute path to SVN
> ----------------------------------------------------------------------------------
>
>                 Key: SCM-368
>                 URL: http://jira.codehaus.org/browse/SCM-368
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-scm-api
>    Affects Versions: 1.0
>         Environment: Any Windows machine
>            Reporter: Kurt Tometich
>            Assignee: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>
> When calling Subversion with relative paths there is a limit of 255 characters to the path length.  If you call Subversion with an absolute path that no longer applies and you now have access to 32K chars.  I have tried this myself and it does work.  Try feeding SVN a path that is relative and is over 255 chars.  It will not be able to complete the transaction.  Now, try to the same path again only as an absolute path and it will successfully complete the transaction.  Here is a link to the forum where I found this information: http://en-us.www.mozilla.com/en-US/firefox/2.0.0.4/firstrun/.

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