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

[jira] Updated: (MNG-2956) The documentation refers to system property "user.dir" when it should refer to "user.home"

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

Benjamin Bentmann updated MNG-2956:
-----------------------------------

    Attachment: user-home.patch

Patched attached. I couldn't find any further references to user.dir in the Maven site.

> The documentation refers to system property "user.dir" when it should refer to "user.home"
> ------------------------------------------------------------------------------------------
>
>                 Key: MNG-2956
>                 URL: http://jira.codehaus.org/browse/MNG-2956
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Settings
>    Affects Versions: 2.0.5
>         Environment: Windows XP Professional
>            Reporter: Donley R. P'Simer
>             Fix For: Reviewed Pending Version Assignment
>
>         Attachments: user-home.patch
>
>
> In several places the documentation for maven2 refers to the local repository and user settings.xml file being relative to the "${user.dir}" system property. Behavior suggests that it is actually the "${user.home}" system property that is being used. From the javadoc for System.getProperties() in jdk1.5:
> user.home  	User's home directory
> user.dir 	User's current working directory
> http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#getProperties()

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