[jira] Commented: (MNG-1958) we need a var that always points to the root direcotry in multi module builds
[ http://jira.codehaus.org/browse/MNG-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106800 ] Brian Fox commented on MNG-1958: I haven't tried it yet, but I know that ./ always points to the root of where a build was launched (basically the current folder when the jvm is launched). I was looking here http://www.sonatype.com/book/properties.html#properties and noticed "user.dir" from the java settings. I bet this would work. > 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 > Issue Type: Improvement > Components: Reactor and workspace >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
[jira] Commented: (MNG-1958) we need a var that always points to the root direcotry in multi module builds
[ http://jira.codehaus.org/browse/MNG-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106686 ] Brian Fox commented on MNG-1958: Andy, I could probably think of a few handy ones. I know I've wished for this in the past. Lets say you want to point all your test logs to one place in the whole build. Or in my case I wanted to use hsqlb and reuse the results but needed a common location to point them all to. > 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 > Issue Type: Improvement > Components: Reactor and workspace >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
[jira] Commented: (MNG-1958) we need a var that always points to the root direcotry in multi module builds
[ http://jira.codehaus.org/browse/MNG-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90975 ] Stefano Bagnara commented on MNG-1958: -- This is somehow related to MNG-2896 Both are needed to make full use of a project-local repository-like folder. > 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 > Issue Type: Improvement >Reporter: Mark Proctor > Fix For: 2.1.x > > > ${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
[jira] Commented: (MNG-1958) we need a var that always points to the root direcotry in multi module builds
[ http://jira.codehaus.org/browse/MNG-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89805 ] Mark Proctor commented on MNG-1958: --- We use a root directory as a temporary repository for jars: http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/repository/ Its not always possible or desirable to have remote repositories for some jars, so this is a good work around. However the location breaks for multi-module builds when being run in continuum. So this would allow us to use this approach, while still working in continuum. > 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 > Issue Type: Improvement >Reporter: Mark Proctor > Fix For: 2.1.x > > > ${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
[jira] Commented: (MNG-1958) we need a var that always points to the root direcotry in multi module builds
[ http://jira.codehaus.org/browse/MNG-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89790 ] Andrew Williams commented on MNG-1958: -- Can one of the interested parties say why this is wanted? Any information that modules want to share should be packaged in an artifact and depended upon as any other dependency. The very concept of a ${rootdir} breaks the reproducable nature of a maven build. Variable variables like this should be avoided! > 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 > Issue Type: Improvement >Reporter: Mark Proctor > Fix For: 2.1.x > > > ${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