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: Robert Hostlowsky
 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

Reply via email to