[
https://issues.apache.org/jira/browse/SCM-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17960617#comment-17960617
]
ASF GitHub Bot commented on SCM-111:
------------------------------------
jira-importer commented on issue #436:
URL: https://github.com/apache/maven-scm/issues/436#issuecomment-2964594408
**[skylab](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hostlowsky)**
commented
What will you see in p4win when you open a client description:
In my version, it look like this:
1. A Perforce Client Specification.
#
1. Client: The client name.
2. Update: The date this specification was last modified.
3. Access: The date this client was last used in any way.
4. Owner: The user who created this client.
5. Host: If set, restricts access to the named host.
6. Description: A short description of the client (optional).
7. Root: The base directory of the client workspace.
8. AltRoots: Up to two alternate client workspace roots.
9. Options: Client options:
10.
[no]allwrite [no]clobber [no]compress
11.
[un]locked [no]modtime [no]rmdir
12. LineEnd: Text file line endings on client: local/unix/mac/win/share.
13. View: Lines to map depot files into the client workspace.
#
1. 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: https://issues.apache.org/jira/browse/SCM-111
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-perforce
> Affects Versions: 1.0-beta-2
> Environment: winX, maven 2, continuum
> Reporter: skylab
> Assignee: Emmanuel Venisse
> Priority: Major
> Fix For: 1.0-beta-3
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)