jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Continuum
  • CONTINUUM-1246

problem with spaces in a perforce location

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 1.0.3
  • Fix Version/s: Backlog
  • Component/s: SCM
  • Labels:
    None
  • Complexity:
    Intermediate

Description

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

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Matthew Jacobi
Vote (0)
Watch (1)

Dates

  • Created:
    17/Apr/07 6:29 AM
    Updated:
    16/Sep/09 5:14 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.