Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-245

scm:edit doesn't work with perforce as it refers the file without depot path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.0-beta-3
    • None
    • None
    • WinXP with Cygwin, Perforce 2006.1

    Description

      Both of the commands fail to actually checkout the file for edit:

      mvn scm:edit -Dincludes="pom.xml"
      [DEBUG] Executing p4 edit pom.xml

      mvn scm:edit -Dincludes="//depot/main/java/pom.xml"
      [DEBUG] Executing p4 edit

      The error is consumed and there's no indication of any error, even the command fails. The command that would work would be "p4 edit //depot/main/java/pom.xml". I suspect at least the former command is supposed to work, but the provider fails to add the depot path to it.

      If the command the plugin tries to use in run on the command line, it fails:
      $ p4 edit pom.xml
      Path 'xyz/main/java\pom.xml' is not under client's root '/rootpath'.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              syvalta syvalta
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: