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

[jira] Updated: (MNG-2671) Parent/modules relative file path compression

     [ http://jira.codehaus.org/browse/MNG-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-2671:
------------------------------

    Fix Version/s: 3.0-alpha-1

> Parent/modules relative file path compression
> ---------------------------------------------
>
>                 Key: MNG-2671
>                 URL: http://jira.codehaus.org/browse/MNG-2671
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.4
>         Environment: Windows XP
>            Reporter: Vincent Beretti
>            Priority: Minor
>             Fix For: 3.0-alpha-1
>
>         Attachments: MNG-2671-maven-project.patch
>
>
> Sometimes a problem appears in M2 with parent and module structure due to
> the OS limitation in filepath length.
> For example Windows file path can not exceed 255 characters.
> But in complex maven 2 structure of parent/modules we can encounter a
> problem with that.
> In Eclipse, one has to put children projects in a flat structure.
> Example :
> in my filesystem my projects are :
> C:/
> |------ parentProject/
> |------ childprojectA/
> |------ childProjectB/
> But in maven the structure is as following :
> parentProject
> |------ childProjectA
> |------ childProjectB
> So in childProjectX poms, I have to references parent project like this :
> <relativePath>../parentProject</relativePath> and the same for modules in
> parent as <modules><module>../parentProject</module></modules>
> On a very complex structure, I have a path longer than 255 but in fact i
> could be compressed to remove ..
> for example when maven deletes target dir, it does like this :
> delete C:/parentProject/../childProjectA/target
> instead it could do
> delete C:/childProjectA.
> This would reduce the path length in very complex structures.
> See the post at : http://www.nabble.com/Parent-modules-File-path-compression-tf2628075s177.html

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