[ http://jira.codehaus.org/browse/SCM-209?page=comments#action_66940 ]
Mike Perham commented on SCM-209: --------------------------------- I can't make this change easily as it breaks pretty much every test. Please submit a patch with everything fixed, if possible. Otherwise this will have to wait until the big refactoring I have planned for next month. > 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 > Type: Bug > Components: maven-scm-provider-perforce > Versions: 1.0-beta-3 > Reporter: John Didion > > > 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