Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3951

Hide drive-relative paths from plugins

    XMLWordPrintableJSON

    Details

      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

        1. MNG-3951.patch
          4 kB
          Benjamin Bentmann

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: