打算在这个新家多花些时间,把自己的经验好好总结总结。
还望大家多多捧场!

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

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

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

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

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

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

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

   

 -- 给老婆三十岁的生日

 

 

飘摇的蒲公英

向后飞过一些山水

蜻蜓般点起涟漪的形状

回味  悠长

 

 

有夏日的荷啊

张扬红的舌尖舞蹈

迎风飘散一些芳香气息

沉醉  不醒

 

 

原来是风筝的梦想

看见阳光下的彩带闪耀

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

童真至   无限


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

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

xbhome@msn.com


文章来源:http://xbliving.bokee.com/6357899.html
posted @ 2008-05-23 09:41 ColorSea 阅读(36) | 评论 (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 ColorSea 阅读(47) | 评论 (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 ColorSea 阅读(39) | 评论 (0)编辑
检查tomcat启动方式,需要设置为以当前windows用户身份启动。
文章来源:http://xbliving.bokee.com/5748198.html
posted @ 2008-05-23 09:41 ColorSea 阅读(48) | 评论 (0)编辑

ClearCase的分支策略最经典的就是三层方式,即main\_rel\_int\_dev. 在这种方式下,_rel下为所有正式发布的版本,_int下为每次提交正式测试的版本,_dev下为开发中的版本。相应地,外部版本号体现在第一级发布分支上的label,内部版本号在第二级集成分支,开发版本号在第三级开发分支。

这时,经常会有一种情况是,开发人员提交给测试的版本被退回,需要修复一些紧急问题后再提交。这时,最通常的做法可能是将有问题的文件单独在_dev分支上进行处理,然后合并至集成分支重新编译出新版本,然后直接移动标签到新的节点。这样做有两个风险,一是此时可能已经有新的修改产生,这个版本已经不单纯是包含了修复代码;二是移到标签不利于分析再次提交的区别,不推荐这样做。

建议:最安全的做法一般是,从上次提交测试对应的开发版本处引出新的分支,专门处理紧急问题的修改,结束后,经过单元测试再提交到集成分支。重新应用一个标签。提交测试。这是安全的做法,但需要修改config spec,并建议保留它在你的所有历史CS文件中。或者也可以由项目经理或配置管理员来决定是直接在_dev上改还是建立分支改。但标签一定用两个,这样可以比较灵活,虽然有点风险。


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

安装sharepoint2003还是一个比较麻烦的过程。下面是我遇到的一些主要问题及其解决方法。

1、安装环境要求

刚开始装了个windows2k的服务器,等到运行SP Server安装程序才知道其支持的操作系统必须是2003,于是。。。唉,谁叫咱没有先看readme的习惯呢。其实SPS的readme中说得很清楚。但也有没说清楚的,那就是对asp.net版本的要求,刚开始我装的是VS.net2005中带的asp.net2.0,结果建好了SPS站点后,老是报错:“Web Part Error:...”,说其在运行时遇到关键错误,请联系管理员之类的,结果在网上查了几天才知道这个错误是asp.net的版本太新造成的。SPS2003要求的版本是asp.net1.1,于是,通过添加删除组件,安装windows2003自带的asp.net,在IIS6中将asp.net的版本换为1.1,重启IIS。回到SPS中,先删除建好的站点,再重新新建,这才解决问题。


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