[ 
http://jira.codehaus.org/browse/SCM-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=202660#action_202660
 ] 

Subir S commented on SCM-261:
-----------------------------

Ok, there is no way to fetch dcm delimiter from the database using any cli 
commands.

Description about it from Telelogic Guide is:
[quote]A DCM Delimiter is the character that is used: 1) Between the database 
ID and object instance in object references, 2) Between the database ID and 
object version in imported objects that have been checked out in a destination 
database, and 3) Between the database ID and task number in some dialogs where 
task numbers are displayed.

The default DCM Delimiter is "#". The following characters can also be used: 
"!", "~", or "=". 

<strong>The DCM Delimiter must be the same in all databases in a given DCM 
cluster. </strong>[unquote]

The line in bold means that this parameter is something which remains same for 
all the databases in the distributed cluster. Hence we can take this as a input 
parameter in the SCM URL in the end (optional though).

Logic should be: a.) If dbid present, and dcm_delimiter specified, use that to 
construct instance. ELSE b.) If dbid present and dcm_delimiter not specified, 
use # to construct instance c.) If dbid not present, use '1' as the instance.

Any comments??

> Synergy provider assumes instance of 1 for projects... won't work for 
> distributed CM (and some other scenarios)
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SCM-261
>                 URL: http://jira.codehaus.org/browse/SCM-261
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-synergy
>    Affects Versions: 1.0-beta-4
>         Environment: All Synergy environments
>            Reporter: Body Mass
>             Fix For: future
>
>
> We've started testing and hit our first snag:
> A unique locator in synergy is: <name>~<version>:<type>:<instance>
> The new snergy provider appears to assume thie instance is 1, and cannot find 
> projects whose instance is not 1. This is not a valid for a Distributed CM 
> install, for example, where 1 cannot be the instance number as Synergy will 
> not allow it. This instance can be any string, and should be specified in the 
> SCM URL or some other appropriate configuration mechanism.
> For example following is a query that works against my developer workspace. 
> This same funkiness for DCM also applies to task names, but I can't get that 
> far in testing due to the project problem.
> ccm> query -u 
> is_task_in_folder_of(is_folder_in_rp_of('Arc_Workspace~k1gmd00:project:arc#1'))
> arc#6602 completed k1gmd00 task <void> arc <void>
> arc#6607 completed k1gmd00 task <void> arc <void>
> arc#6619 completed k1jcs01 task <void> arc <void>
> arc#6620 completed k1jcs01 task <void> arc <void>
> arc#6630 completed k1gmd00 task <void> arc <void>
> arc#6632 completed k1gmd00 task <void> arc <void>
> arc#6634 completed k1jcs01 task <void> arc <void>
> arc#6637 completed k1gmd00 task <void> arc <void>
> arc#6638 completed k1gmd00 task <void> arc <void>
> arc#6644 completed k1jcs01 task <void> arc <void>
> arc#6645 completed k1jcs01 task <void> arc <void>
> arc#6646 completed k1gmd00 task <void> arc <void>
> arc#6647 completed k1jcs01 task <void> arc <void>
> arc#6648 completed k1gmd00 task <void> arc <void>
> arc#6649 completed k1jcs01 task <void> arc <void>
> arc#6652 completed k1gmd00 task <void> arc <void>
> arc#6656 completed k1gmd00 task <void> arc <void>
> arc#6657 completed k1jcs01 task <void> arc <void>

-- 
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