You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joakim Erdfelt (JIRA)" <ji...@codehaus.org> on 2006/04/20 22:29:19 UTC

[jira] Created: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

wagon-scm (svn provider) - large paths under windows breaks download.
---------------------------------------------------------------------

         Key: WAGON-42
         URL: http://jira.codehaus.org/browse/WAGON-42
     Project: wagon
        Type: Bug

    Versions: 1.0-alpha-6    
    Reporter: Joakim Erdfelt


I have a deep path in windows, plus a repository housed in svn.

When performing a 'mvn compile', it fails with not finding the artifact.

Using mvn --debug shows no error message from wagon-scm (svn).

If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
performing a 'svn update .' in that directory reveals the reason ...

jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
$ svn update .
svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long

I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.


-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Henry S. Isidro (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/WAGON-42?page=comments#action_64035 ] 

Henry S. Isidro commented on WAGON-42:
--------------------------------------

I am wondering if it is a good idea to place this functionality in wagon-scm or should it go higher like in maven-scm-api?

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>   Components: wagon-scm
>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Assignee: Henry S. Isidro
>     Priority: Critical
>      Fix For: 1.0-beta-1

>
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-42?page=all ]

Carlos Sanchez updated WAGON-42:
--------------------------------

    Fix Version/s:     (was: 1.0-beta-2)
                   1.0

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>                 Key: WAGON-42
>                 URL: http://jira.codehaus.org/browse/WAGON-42
>             Project: wagon
>          Issue Type: Bug
>          Components: wagon-scm
>    Affects Versions: 1.0-alpha-6
>            Reporter: Joakim Erdfelt
>            Priority: Critical
>             Fix For: 1.0
>
>         Attachments: ScmWagon.patch
>
>          Time Spent: 5 hours, 30 minutes
>  Remaining Estimate: 0 minutes
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Joerg Schaible (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/WAGON-42?page=comments#action_64161 ] 

Joerg Schaible commented on WAGON-42:
-------------------------------------

This might be a manifestation of http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4403166. Although Sun claims the bug is fixed, a lot of people face something different. We had these problems with Weblogic! When the server exploded the deployed app, some of the nested files exceeded this limit and could no longer be found.

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>   Components: wagon-scm
>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Assignee: Henry S. Isidro
>     Priority: Critical
>      Fix For: 1.0-beta-1

>
>   Time Spent: 4 hours
>    Remaining: 0 minutes
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Henry S. Isidro (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-42?page=all ]

Henry S. Isidro updated WAGON-42:
---------------------------------

    Attachment: ScmWagon.patch

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>   Components: wagon-scm
>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Assignee: Henry S. Isidro
>     Priority: Critical
>      Fix For: 1.0-beta-1
>  Attachments: ScmWagon.patch
>
>   Time Spent: 4 hours
>    Remaining: 0 minutes
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-42?page=all ]
     
Carlos Sanchez reopened WAGON-42:
---------------------------------

     Assign To:     (was: Henry S. Isidro)

Not resolved until the patch is applied

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>   Components: wagon-scm
>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Priority: Critical
>      Fix For: 1.0-beta-1
>  Attachments: ScmWagon.patch
>
>   Time Spent: 5 hours, 30 minutes
>    Remaining: 0 minutes
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-42?page=all ]

Carlos Sanchez updated WAGON-42:
--------------------------------

       Priority: Critical  (was: Major)
    Fix Version: 1.0-alpha-7

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Priority: Critical
>      Fix For: 1.0-alpha-7

>
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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] Resolved: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Henry S. Isidro (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-42?page=all ]
     
Henry S. Isidro resolved WAGON-42:
----------------------------------

    Resolution: Fixed

Resolving this, wagon-scm now displays a message that the checkout path exceeds the windows maximum.

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>   Components: wagon-scm
>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Assignee: Henry S. Isidro
>     Priority: Critical
>      Fix For: 1.0-beta-1
>  Attachments: ScmWagon.patch
>
>   Time Spent: 5 hours, 30 minutes
>    Remaining: 0 minutes
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-42?page=all ]

Carlos Sanchez updated WAGON-42:
--------------------------------

    Component: wagon-scm

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>   Components: wagon-scm
>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Priority: Critical
>      Fix For: 1.0-beta-1

>
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-42?page=all ]

Emmanuel Venisse updated WAGON-42:
----------------------------------

    Fix Version:     (was: 1.0-beta-1)
                 1.0-beta-2

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>   Components: wagon-scm
>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Priority: Critical
>      Fix For: 1.0-beta-2
>  Attachments: ScmWagon.patch
>
>   Time Spent: 5 hours, 30 minutes
>    Remaining: 0 minutes
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Henry S. Isidro (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/WAGON-42?page=comments#action_64148 ] 

Henry S. Isidro commented on WAGON-42:
--------------------------------------

I made a deep path in windows and a repository in svn. I tried mvn compile and it seems to be working, i.e. I can get the artifacts from my svn repository. I can't see the .svn directory in target/checkout though. 

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>          Key: WAGON-42
>          URL: http://jira.codehaus.org/browse/WAGON-42
>      Project: wagon
>         Type: Bug

>   Components: wagon-scm
>     Versions: 1.0-alpha-6
>     Reporter: Joakim Erdfelt
>     Assignee: Henry S. Isidro
>     Priority: Critical
>      Fix For: 1.0-beta-1

>
>   Time Spent: 4 hours
>    Remaining: 0 minutes
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

-- 
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: (WAGON-42) wagon-scm (svn provider) - large paths under windows breaks download.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/WAGON-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed WAGON-42.
-----------------------------

         Assignee: Brett Porter
       Resolution: Won't Fix
    Fix Version/s:     (was: 1.0-beta-3)

actually, there is a way to make SVN acknowledge these long paths (by using the absolute path). There is an open issue in SCM.

We will just upgrade when available.

> wagon-scm (svn provider) - large paths under windows breaks download.
> ---------------------------------------------------------------------
>
>                 Key: WAGON-42
>                 URL: http://jira.codehaus.org/browse/WAGON-42
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-scm
>    Affects Versions: 1.0-alpha-6
>            Reporter: Joakim Erdfelt
>            Assignee: Brett Porter
>            Priority: Critical
>         Attachments: ScmWagon.patch
>
>          Time Spent: 5 hours, 30 minutes
>  Remaining Estimate: 0 minutes
>
> I have a deep path in windows, plus a repository housed in svn.
> When performing a 'mvn compile', it fails with not finding the artifact.
> Using mvn --debug shows no error message from wagon-scm (svn).
> If I go into the target/checkout/.... directory, i see an empty directory with the '.svn' working directory.
> performing a 'svn update .' in that directory reveals the reason ...
> jerdfelt@EXSISTO /c/code/mergere/amex/AXP-EntBuildEnv/tools/branches/mergere-discovery-wizard/mergere-discovery-core/target/checkout/org/apache/maven/repository/maven-repository-indexer/1.0-SNAPSHOT
> $ svn update .
> svn: Can't open file '.svn/text-base/maven-repository-indexer-1.0-20060418.201022-1.jar.md5.svn-base': File name too long
> I think a general "if windows, and path exceeds maximum, throw error before attempting process' kind of functionality needs to exist.

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