[ 
https://issues.apache.org/jira/browse/SCM-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961205#comment-17961205
 ] 

ASF GitHub Bot commented on SCM-368:
------------------------------------

jira-importer commented on issue #589:
URL: https://github.com/apache/maven-scm/issues/589#issuecomment-2964605585

   **[Dominique 
Jean-Prost](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=djeanprost)**
 commented
   
   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: https://issues.apache.org/jira/browse/SCM-368
>             Project: Maven SCM (Moved to GitHub Issues)
>          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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to