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

ClearCase checkout fails on Unix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-3
    • None
    • Linux (run via Continuum)

    Description

      Checkout fails on Unix: Lets assume it uses /abc/def/1 as a working directory
      First thing it does is it removes /abc/def/1 directory and than sets working directory to /abc/def/1/.. with:
      command.setWorkingDirectory( new File( workingDirectory,"..").getAbsolutePath() );
      But because /abc/def/1 does not exists at this point command execution fails (on Unix - I do not know how it works on Windows). It should set it to /abc/def using
      command.setWorkingDirectory( workingDirectory.getParentFile() ); (as suggested by Emmanuel)

      This change is to be introduced in ClearCaseCheckOutCommand.java.

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            pkosiorowski Piotr Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: