You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mark Proctor (JIRA)" <ji...@codehaus.org> on 2006/01/12 15:09:02 UTC

[jira] Created: (MNG-1958) we need a var that always points to the root direcotry in multi module builds

we need a var that always points to the root direcotry in multi module builds
-----------------------------------------------------------------------------

         Key: MNG-1958
         URL: http://jira.codehaus.org/browse/MNG-1958
     Project: Maven 2
        Type: Improvement

    Reporter: Mark Proctor
     Fix For: 2.1


${basedir} always points to the local module. There are cases, when having a local relative repository, when it would be usefull to have a var that always pointed to the root project, ${rootdir}.

In such a case you may want to think of having the names ${rootdir} ${moduledir}

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1958) we need a var that always points to the root direcotry in multi module builds

Posted by "Dave Sag (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1958?page=comments#action_59396 ] 

Dave Sag commented on MNG-1958:
-------------------------------

just so long as you don't assume that the root project is actually in a root direvctory of the project.

we have some 40 projects in CVS and it is utterly infeasable to move them all to support a strict folder heirarchy.  we will have another project, adjacent to these projects which holds the "master poms".


> we need a var that always points to the root direcotry in multi module builds
> -----------------------------------------------------------------------------
>
>          Key: MNG-1958
>          URL: http://jira.codehaus.org/browse/MNG-1958
>      Project: Maven 2
>         Type: Improvement

>     Reporter: Mark Proctor
>      Fix For: 2.1

>
>
> ${basedir} always points to the local module. There are cases, when having a local relative repository, when it would be usefull to have a var that always pointed to the root project, ${rootdir}.
> In such a case you may want to think of having the names ${rootdir} ${moduledir}

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1958) we need a var that always points to the root direcotry in multi module builds

Posted by "Prasad Kashyap (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1958?page=comments#action_59330 ] 

Prasad Kashyap commented on MNG-1958:
-------------------------------------

Oh, I'm waiting for something like this too. This seems like an absolute necessity.

> we need a var that always points to the root direcotry in multi module builds
> -----------------------------------------------------------------------------
>
>          Key: MNG-1958
>          URL: http://jira.codehaus.org/browse/MNG-1958
>      Project: Maven 2
>         Type: Improvement

>     Reporter: Mark Proctor
>      Fix For: 2.1

>
>
> ${basedir} always points to the local module. There are cases, when having a local relative repository, when it would be usefull to have a var that always pointed to the root project, ${rootdir}.
> In such a case you may want to think of having the names ${rootdir} ${moduledir}

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org