[ http://jira.codehaus.org/browse/SCM-111?page=comments#action_53345 ]
skylab commented on SCM-111: ---------------------------- What will you see in p4win when you open a client description: In my version, it look like this: # A Perforce Client Specification. # # Client: The client name. # Update: The date this specification was last modified. # Access: The date this client was last used in any way. # Owner: The user who created this client. # Host: If set, restricts access to the named host. # Description: A short description of the client (optional). # Root: The base directory of the client workspace. # AltRoots: Up to two alternate client workspace roots. # Options: Client options: # [no]allwrite [no]clobber [no]compress # [un]locked [no]modtime [no]rmdir # LineEnd: Text file line endings on client: local/unix/mac/win/share. # View: Lines to map depot files into the client workspace. # # Use 'p4 help client' to see more about client views and options. Client: myname.xzy Update: 2005/12/13 09:35:53 Access: 2005/12/13 09:35:53 Root: D:\anywhere Options: noallwrite noclobber nocompress unlocked nomodtime normdir LineEnd: local View: //repositorypath/projectxzy/... //myname.xzy/... So I need the Root line above. Thanx. > perforce: checkout doesn't work at all > -------------------------------------- > > Key: SCM-111 > URL: http://jira.codehaus.org/browse/SCM-111 > Project: Maven SCM > Type: Bug > Components: maven-scm-provider-perforce > Versions: 1.0-beta-2 > Environment: winX, maven 2, continuum > Reporter: skylab > Attachments: svndiff.txt > > > When checking out any project, e. g. using 'continuum' 1.0.2, it stops > without any further explanation. > I think the bug can be found in the method > org...checkout.PerforceCheckOutCommand.createClientspec(). > You can see the class here: > http://svn.apache.org/viewcvs.cgi/maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/checkout/PerforceCheckOutCommand.java?rev=349907&view=markup > This results in an additional NEWLINE in the spec of a (new) client workspace > - after 'Root: ' > It should be > Client: any-clientspecname > Root:<attention, NO NEWLINE!> d:/workdir > View: > //repopath/... //clientspecName/... > please, look at the attached diff. -- 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