原文:

http://blog.csdn.net/kevin881/archive/2007/09/25/1800424.aspx

"hijacked标记是静态View才有的,多人开发一般不使用",这点有点不理解,CC UCM默认是把静态视图作为开发视图的,动态视图作为集成视图,我们也是这么做。而且使用静态视图,在CC设置中选择离线工作,你就能在两个不同的物理网络中切换。不要使用手工copy一份代码的工作方式。
对于commit,你也许没用过CC的UCM方式,其中的rebase与Deliver是SVN的模仿对象,SVN到了1.5终于加入了合并跟踪。对于update,只是CC静态视图的一种功能,动态视图不需要update,可以随时取得服务器的最新版本,特别适用于文档更新。包括AccuRev也是将CC的UCM发扬光大了而已。
如果从CM理论上来看CC,IBM Rational的强大绝对超过其它厂商。CC真正的缺点在于管理的复杂性,即维护的高成本;还有用户体验的不友好。这两点是CC必须改进的地方。而且在新的Jazz平台,我们欣喜地看到了这种非常良好的变化。
我想你们的CC管理成本(包括管理员及用户培训等)投入不够,正是你们采用“本地拷贝”这样奇怪工作方式的根本问题。

posted @ 2008-08-29 05:01 xbsoft 阅读(28) | 评论 (0)编辑
现完整描述merge过程如下:
1、使用branch/tag命令建立与trunk同级的分支,如../branch/bugfix,平行与.../trunk
2、使用switch命令转移到新分支工作,并修改一些文件,commit到服务器;
3、使用switch命令转回trunk分支上,运行merge命令;
4、这步是关键,参照图片,1和2的差异将合并到3中;如果选择的对象是一个文件则只合并它,如果选择的对象是分支名,则合并分支上1和2版本所有的差异到3中;

5、此时,一般会有一些冲突,通过edit conflict解决它们,选择好合并结果后记得保存;
6、这一步也挺重要,记得在解决冲突后运行一下resolved命令;
7、最后commit一下就OK了。
posted @ 2008-06-21 18:10 xbsoft 阅读(139) | 评论 (2)编辑
http://groups.google.com/group/cmcn
posted @ 2008-06-11 21:13 xbsoft 阅读(25) | 评论 (2)编辑
打算在这个新家多花些时间,把自己的经验好好总结总结。
还望大家多多捧场!

也欢迎光顾我的老家:
http://xbliving.blogchina.com/

posted @ 2008-05-23 10:32 xbsoft 阅读(23) | 评论 (0)编辑

财源广进
碧树繁枝盖东西
海阔天空通南北

精神家园
愚公移山树丰碑
坚韧不拔立新宅

阖家幸福
洒如雨汗水立豪宅于宝地
听银铃欢笑享天伦在家庭

文章来源:http://xbliving.bokee.com/6626985.html

posted @ 2008-05-23 09:41 xbsoft 阅读(64) | 评论 (0)编辑

   

 -- 给老婆三十岁的生日

 

 

飘摇的蒲公英

向后飞过一些山水

蜻蜓般点起涟漪的形状

回味  悠长

 

 

有夏日的荷啊

张扬红的舌尖舞蹈

迎风飘散一些芳香气息

沉醉  不醒

 

 

原来是风筝的梦想

看见阳光下的彩带闪耀

在明天的日子里眯起了双眼

童真至   无限


文章来源:http://xbliving.bokee.com/6626983.html
posted @ 2008-05-23 09:41 xbsoft 阅读(23) | 评论 (0)编辑

公开一下我的MSN,有问题联系方便。不过公司不让用,只能回家用了。

xbhome@msn.com


文章来源:http://xbliving.bokee.com/6357899.html
posted @ 2008-05-23 09:41 xbsoft 阅读(23) | 评论 (0)编辑

hi 如果一个view已经被删除了,但是其中的一个activity中还有被checkout的文件,并且该activity的replica和当前的不同,请问: 如何把这个view删除,借助uuid

check out 文件后,系统会在相应VOB的reference中新建一条记录。你可在ClearCase Administrator Console中找到host/vobs/vobxxx/reference. 找到无效的视图然后删除它即可。不过要注意的是,这个视图在当前VOB上的所有check out信息都会被一起删除。


文章来源:http://xbliving.bokee.com/6357893.html 

视图未损坏时的正常情况下,请用remove view功能一次性删除以下内容.
cleartool desc -l vob:\vob_name (显示有在此VOB上check out的视图)
cleartool rmview -all -uuid 44c6f3a0.d7ff11d3.a094.00:01:80:93:2c:7e    (删除此视图及其在所有VOB中的所有check out版本,此步骤可单独执行以清除checkout版本)
cleartool unregister -view -uuid 44c6f3a0.d7ff11d3.a094.00:01:80:93:2c:7e  (注消视图对象)
cleartool rmtag -view joe_view                         (删除视图名称标记)
当view的storage由于各种原因坏了的时候,需要几步才能完全清理掉view在系统里的残留:
1). cleartool rmtag -view -all view_tag
只是清除掉tag,在文件/var/adm/atria/rgy/view_tag的纪录被清除了
2). cleartool unregister -view -uuid view_uuid
清除view object registry, 在文件/var/adm/atria/rgy/view_object的纪录被清除了
3). 还没完
cleartool rmview -uuid view_uuid -avob
posted @ 2008-05-23 09:41 xbsoft 阅读(29) | 评论 (0)编辑
 

1. Why can't add to source control successfully.

如果你add-to-source-control 失败, 请检查环境变量.

 

2. What's group in our site?

ClearCase组设置指南.

如果你可以在一个域中共享代码与文档,请不用使用其它组,ClearCase会自动用Domainxxx\Domain Users组统一处理所有权限,这样最轻松,也体现XP的代码共享原则。

一定要设组时,可以利用包含关系定义组级别。如G1包含G2,G2包含G3,则G3的权限最高。而且只要是设成G1的元素,三个组都能有权限。

另个建议对文档使用777的安全模式,对代码使用770的安全模式。

3. How to check avairable group setting in my computer?

C:\Program Files\Rational\ClearCase\etc\utils>creds
Login name:    EK\100595
USID:          NT:S-1-5-21-303308828-1714887528-1861945104-36204
Primary group: EK\Domain Users (NT:S-1-5-21-303308828-1714887528-1861945104-51
3)
Groups: (32)
    Everyone (NT:S-1-1-0)
    NT AUTHORITY\INTERACTIVE (NT:S-1-5-4)
    NT AUTHORITY\Authenticated Users (NT:S-1-5-11)
    EK\DL-Ces-LIST (NT:S-1-5-21-303308828-1714887528-1861945104-32108)
You have ClearCase administrative privileges.

4. 为什么不同的开发人员看到的内容不一样?

请检查你视图中的父目录的版本树,如果看到的版本不同或有人看的是check out版本,则内容就会有不同。 当然,如果想看一样的内容首先要保证config spec是一样的。

5. How to view old version easly?
First, you may browse all version in element version tree.
Second, you can add @@ after element name into all version list in open window of your application, than you may select a version to open it.
 

6. How to resolve issue of update fail in CCweb?
The root cause is you has a not complete update. You need run "Update View" in main interface, and waitting it complete.

7. How to do recursion Add to source control?
If you need add multi level folders and files to ClearCase, you can use Visual Studio.

  • Copy all files to a folder of ClearCase view.
  • Open solution use VS.
  • Use default "pending checkins" list(automatic generate) to add them.

8.how to know already checked out when I doing check out?
If you see this window than the mean is other person checked out same element, and you can know what's name of view that checked out it.

9. How to resolve conflict version of binary file in ClearCase?
ClearCase don't support merge binary file, so you'll lost some data if you has conflict modify for a binary file. But you can following these steps  to keep all version in ClearCase.

  • 2 checked out by 2 views and 2 users.
  • Check in reserver check out versoin. Need a clearly comments.
  • Backup unreserved version, and doing undo check out.
  • Check out again by unreserved check out user.
  • Replace new checked out version and doing check in. Need a clearly comments.
  • So, you will has a version of lost user 1 modification.
  • Recommand you check out and manually moidfy contents to include 2 users modification.
  • Lastly, you can check in and keep a version of include 2 uses modification. Need a clearly comments.

10. How to clear lost+found directory?
    Suggest you termly check the lost+found directory in each VOB of your project and clear it.

If you need an element in lost+found directory, move it to another directory by using
cleartool mv

   If you don't need anything in lost+found direcotry, you need remove them by using cleartool rmelem
e.g.
...>cleartool
*cleartool>rmelem -f **
Maybe you need redo rmelem command.

11. How to resolve Check out /Check in error?
When you appear icon before elements. You can try these steps:

  • Backup files of new version.
  • Delete file in windows explorer.
  • Update parent folder.
  • Open version tree in ClearCase explorer.
  • Check out and undo Check out element.
  • Refresh and check folder new status in ClearCase explorer.
  • Contact administrator if you can't resolve it.

文章来源:http://xbliving.bokee.com/6357834.html
posted @ 2008-05-23 09:41 xbsoft 阅读(25) | 评论 (0)编辑
检查tomcat启动方式,需要设置为以当前windows用户身份启动。
文章来源:http://xbliving.bokee.com/5748198.html
posted @ 2008-05-23 09:41 xbsoft 阅读(39) | 评论 (0)编辑