[ 
https://issues.apache.org/jira/browse/SCM-145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964308#comment-17964308
 ] 

Olivier Lamy commented on SCM-145:
----------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-scm#347|https://github.com/apache/maven-scm/issues/347]. 

> ClearCase checkout fails on Unix
> --------------------------------
>
>                 Key: SCM-145
>                 URL: https://issues.apache.org/jira/browse/SCM-145
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-clearcase
>    Affects Versions: 1.0-beta-3
>         Environment: Linux (run via Continuum)
>            Reporter: Piotr Kosiorowski
>            Assignee: Emmanuel Venisse
>            Priority: Major
>             Fix For: 1.0-beta-3
>
>
>  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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to