You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Matthew Jacobi (JIRA)" <ji...@codehaus.org> on 2007/04/17 13:29:46 UTC
[jira] Created: (CONTINUUM-1246) problem with spaces in a perforce
location
problem with spaces in a perforce location
------------------------------------------
Key: CONTINUUM-1246
URL: http://jira.codehaus.org/browse/CONTINUUM-1246
Project: Continuum
Issue Type: Bug
Components: SCM
Affects Versions: 1.0.3
Reporter: Matthew Jacobi
Priority: Critical
I am experiencing problems when it tries to create a clientspec from a perforce depot that has spaces in the location.
For example: //depot/ABC/word1 word2/foo
I tried quoting it with " as that is what you do in perforce and this is the log results:
jvm 1 | 2007-04-17 12:00:48,712 [Thread-2] INFO ScmManager - Executing: p4 -u xxx -P ******** client -i
jvm 1 | 2007-04-17 12:00:48,742 [Thread-2] DEBUG ScmManager - Updating clientspec:
jvm 1 | Client: xxx-XXXX-MavenSCM-C:\build\working\2
jvm 1 | Root: c:\build\working\2
jvm 1 | Owner: xxx
jvm 1 | View:
jvm 1 | "//depot/ABC/word1 word2/foo"/... //xxx-XXXX-MavenSCM-C:\build\working\2/...
jvm 1 | Description:
jvm 1 | Created by maven-scm-provider-perforce
jvm 1 |
As you can see it just does this: "//depot/ABC/word1 word2/foo"/...
What it needs to be is "//depot/ABC/word1 word2/foo/..."
I tried various other means of escaping the space but it didn't work.
So instead of me needing to quote because of a space it a very simple fix would be to have the plugin quote ALL perforce locations regardless of a space or not.
Hope this helps
--
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