[ http://jira.codehaus.org/browse/SCM-209?page=comments#action_72074 ] 
            
John Didion commented on SCM-209:
---------------------------------

Sorry...I don' t have the bandwidth for this. We've patched it locally, so I 
think we'll hang on until you do your refactoring (should be pretty soon now, 
looking at the date of your comment).

> Specifying working directory for Runtime.exec() on linux has no effect
> ----------------------------------------------------------------------
>
>                 Key: SCM-209
>                 URL: http://jira.codehaus.org/browse/SCM-209
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-perforce
>    Affects Versions: 1.0-beta-3
>            Reporter: John Didion
>         Assigned To: Mike Perham
>
> Passing the working directory as an argument to Runtime.exec seems to have no 
> effect on linux...perforce still goes with whatever the VM's initial working 
> directory was. You need to set -d to make it use the correct one.
> In PerforceScmProvider.createP4Command():
> command.createArgument().setValue("-d");
> command.createArgument().setValue(workingDir.getAbsolutePath());

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to