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 2009/02/01 11:47:19 UTC
[jira] Updated: (MNG-3951) Hide drive-relative paths from plugins
[ http://jira.codehaus.org/browse/MNG-3951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-3951:
-----------------------------------
Fix Version/s: 3.0-alpha-3
Merged to 3.x in [r739735|http://svn.eu.apache.org/viewvc?view=rev&revision=739735].
> Hide drive-relative paths from plugins
> --------------------------------------
>
> Key: MNG-3951
> URL: http://jira.codehaus.org/browse/MNG-3951
> Project: Maven 2
> Issue Type: Improvement
> Components: Plugins and Lifecycle
> Affects Versions: 2.0.9, 2.1.0-M1
> Environment: Windows
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Minor
> Fix For: 2.0.11, 2.1.0-M2, 3.0-alpha-3
>
> Attachments: MNG-3951.patch
>
>
> Take this nice path: /tmp (note the leading slash). This is an absolute path on Unix derivates but a drive-relative path on a Windows box. Drive-relative paths are resolved by prepending the drive of the current directory, not the entire current directory.
> This notation of a drive-relative path is not well-known, even among Windows users, and in particular not easy going for cross-platform Java tools. A Java developer usually assumes that a path is either (directory-)relative or absolute.
> To avoid unnecessary complications as seen on our own multi-OS CI grid (cf. dev@ thread [CI Grid, Windows and Paths|http://www.nabble.com/CI-Grid%2C-Windows-and-Paths-to21153292.html]) and as reported by users (e.g. MECLIPSE-404), the core should not only align directory-relative paths but also resolve drive-relative paths.
--
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