You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stepan Roh (JIRA)" <ji...@codehaus.org> on 2006/12/06 18:22:41 UTC

[jira] Created: (MNG-2687) Module paths may be too long on Windows

Module paths may be too long on Windows
---------------------------------------

                 Key: MNG-2687
                 URL: http://jira.codehaus.org/browse/MNG-2687
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Stepan Roh
         Attachments: canonicalize_modules.patch

Consider this example:

multiproject X is in C:\some\folder and points to module Y with <module>../../Y</module>
module Y is multiproject and points to module Z with <module>../../Z</module>
module Z is normal jar project

Now when it comes to location of pom.xml of module Z, it will be: C:\some\folder\..\..\Y\..\..\Z\pom.xml. This may result in unnecessarily long path - too long for Windows. I suggest to use canonicalization which would make it much more shorter C:\Z\pom.xml (patch attached).


-- 
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: (MNG-2687) Module paths may be too long on Windows

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl closed MNG-2687.
------------------------------

    Resolution: Fixed

Patch applied to trunk and branch.

> Module paths may be too long on Windows
> ---------------------------------------
>
>                 Key: MNG-2687
>                 URL: http://jira.codehaus.org/browse/MNG-2687
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-1
>            Reporter: Stepan Roh
>         Attachments: canonicalize_modules.patch
>
>
> Consider this example:
> multiproject X is in C:\some\folder and points to module Y with <module>../../Y</module>
> module Y is multiproject and points to module Z with <module>../../Z</module>
> module Z is normal jar project
> Now when it comes to location of pom.xml of module Z, it will be: C:\some\folder\..\..\Y\..\..\Z\pom.xml. This may result in unnecessarily long path - too long for Windows. I suggest to use canonicalization which would make it much more shorter C:\Z\pom.xml (patch attached).

-- 
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: (MNG-2687) Module paths may be too long on Windows

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

Brett Porter updated MNG-2687:
------------------------------

    Fix Version/s: 2.0.7

> Module paths may be too long on Windows
> ---------------------------------------
>
>                 Key: MNG-2687
>                 URL: http://jira.codehaus.org/browse/MNG-2687
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-1
>            Reporter: Stepan Roh
>             Fix For: 2.0.7
>
>         Attachments: canonicalize_modules.patch
>
>
> Consider this example:
> multiproject X is in C:\some\folder and points to module Y with <module>../../Y</module>
> module Y is multiproject and points to module Z with <module>../../Z</module>
> module Z is normal jar project
> Now when it comes to location of pom.xml of module Z, it will be: C:\some\folder\..\..\Y\..\..\Z\pom.xml. This may result in unnecessarily long path - too long for Windows. I suggest to use canonicalization which would make it much more shorter C:\Z\pom.xml (patch attached).

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