[ 
https://jira.codehaus.org/browse/SCM-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=280668#comment-280668
 ] 
Justin Bleach commented on SCM-634:
-----------------------------------

Looking at the source:

Is not the ClearCaseScmProviderRepository.java instantiated with with full URL? 
(scm|clearcase|c:\views\tempview\configSpec.txt). If that happens you don't 
have to worry about putting in the last pipe as the first pipe after scm should 
do.

When I debug to the fillDefaultProperties private method in the class I 
mentioned above it appears I have 3 tokens. In this method it assumes if only 
one token is available there is not view defined. But I don't have a view 
defined and I have 3 tokens. I looked at the SCM API as well am I missing where 
the SCM and clearcase part is stripped off before 
ClearCaseScmProviderRepository is instantiated. It would make sense they aren't 
part of the URL since they are basically telling the API which provider to use 
but I can't find where.



> Clearcase provider status keeps displaying "Can't load the scm provider. You 
> need to define a connectionUrl parameter" but connection node is defined.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SCM-634
>                 URL: https://jira.codehaus.org/browse/SCM-634
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-clearcase
>    Affects Versions: 1.5
>         Environment: Windows
>            Reporter: Justin Bleach
>         Attachments: SCM-634-test.patch
>
>
> POM has been defined correctly:
> <project>
>     ......
>     <scm>
>         
> <connection>scm|clearcase|c:\views\tempview\configSpec.txt</connection>
>         
> <developerConnection>scm|clearcase|c:\views\tempview\configSpec.txt</developerConnection>
>     </scm>
>     ......
> </project>
> Plugin configuration points to "connection". When doing a 'mvn scm:status' 
> keeps telling me "Can't load the scm provider. You need to define a 
> connectionUrl parameter". However I am pointing to a valid configSpec('mvn 
> scm:validate' = success) and connection is defined as shown above.
> ConfigSpec (for completeness) is:
> element * CHECKEDOUT
> element -dir * /main/LATEST
> element * /main/release_1.0/tempview/LATEST
> element * /main/release_1.0/LATEST -mkbranch ac42144_r1.0_t0001 
> element * /main/R1.0 -mkbranch release_1.0 
> element * /main/{created_since(today)} -mkbranch release_1.0
> load c:\views\tempview\WCSF\CustomerService
> Cannot do anything with plugin currently because message prevents code from 
> being checked out.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to