Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.9, 2.1.0-M1
-
Fix Version/s: 2.0.11, 2.1.0, 3.0-alpha-3
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Environment:Windows
-
Complexity:Intermediate
-
Number of attachments :
Description
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) and as reported by users (e.g. MECLIPSE-404), the core should not only align directory-relative paths but also resolve drive-relative paths.
Attachments
Issue Links
| This issue relates to: | ||||
| MECLIPSE-404 | Duplicated local repository path in the generated .classpath file |
|
|
|
does Java on Windows return false for isAbsolutePath() on these?