UCM更有彈性的應用方式

為了配合客戶所提出的需求,依據MR狀態來建立不同的Build,同步到對應的測試環境,原先的UCM建立baseline模式已不敷使用!
引入base clearcase apply label的觀念,再加上make baseline by import label,就可以達到依據不同的label建立不同的baseline,而不會侷限在有變更才可以建立baseline!這樣的方式相對彈性許多!

 實際會用到的指令如下,之後可以用程式的方式作到自動化:

cleartool lsbl -short -comp doc@\twm_vob
列出某個component中,所有的baseline

cleartool lsbl -short -comp doc@\twm_vob -stream twm_eva_developer@\twm_vob
列出某個component中,位於某個stream中所有的baseline

cleartool rmbl UT_Test_Passed_doc_IMPORT@\twm_vob
移除某一條baseline(這個動作會將對應的label type也一併移除)

cleartool mkbl -nc -import -comp doc@\twm_vob,src@\twm_vob UT_Test_Passed@\twm_vob
以import label的方式建立baseline,這邊要特別注意,最小的單位是component,也就是說label要貼到某個component中所有的檔案,否則無法建立
baseline baseline的naming rule是

unclepooh 發表在 痞客邦 留言(0) 人氣()

今天早上老婆打電話來說車子的後輪好像沒氣了,上班前先去幫忙看看,真的沒氣,本來要牽去學校後門巷口那家,沒開門,好吧,到信安街對面那家,老闆先用肥皂水找一下哪裡破,結果沒有明顯的破洞,但胎壁都會有小氣泡,老闆說要換,唉,沒時間survey了,就換吧,換了一個1000元的建大輪胎(Kenta 100-90/10 56J 8PR)!

後來到網路上查,挖勒,這種輪胎一個450元,加上最貴的換胎工錢有人收250元(基本是150~250元),也才700元,黑店,賺那麼多!
順便查了一下機車輪胎的規格要怎麼解讀,找到一個不錯的網頁

http://www.bigscooter.com.tw/report/tire01.htm


unclepooh 發表在 痞客邦 留言(0) 人氣()

今天Jumi在安排會議時間,過來問我明天下午在不在,我還沒回答,她就自High的說"不在不在,剛剛去買菜",真好笑,我從來沒聽過,Jumi說是童年諺語,馬上請教google大仙,挖勒,真的有耶!網頁連結如下:
http://jimmyyu.web1000.com/childhood/word/adage.html

Jumi講的是這則:

甲乙一起:
  一角兩角三角形
  四角五角六角半
  七角八角手插腰
  十一角十二角打電話
甲:喂喂喂,你家小姐在不在?
乙:不在不在剛剛去買菜!
(唸完「菜」時,同時猜拳……)

So funny!

unclepooh 發表在 痞客邦 留言(0) 人氣()

昨天下載了Total Commander 7.0 RC5 免安裝版
執行後Total Commander會把設定檔放在 "C:\WINDOWS\" 底下,有兩個

WINCMD.INI
wcx_ftp.ini

下次要重灌電腦的時候,這兩個檔案記得要備份起來,copy到新的系統!!

unclepooh 發表在 痞客邦 留言(0) 人氣()

最近好幾次碰到這個問題,create view的時候,會有permission denied的錯誤訊息!
找了一下,有解!

http://www-1.ibm.com/support/docview.wss?ratlid=cctocbody&rs=984&uid=swg21143558

Error: Unable to create temporary file: Permission denied

Technote (FAQ)

Problem

This technote explains why attempts to use IBM® Rational® ClearCase® Remote Client (CCRC) or ClearCase Web (CCWeb) result in Permission denied errors along with instructions to resolve the issue.

Cause

The full error message will look something like this:

Unable to access the version data for "C:\ccweb\user1\xyzzy\noncomp\makefile": error detected by ClearCase subsystem ccweb: Error: Operation "fileutl_tmpfile_ext_binary" failed: Permission denied.

Note: If the user with this problem is granted Administrator rights to the Web server, the issue appears resolved, but will reoccur as soon as those rights are removed.

Another symptom appears while attempting to edit the config spec or create a new view.

Edit config_spec:

The GUI will erroneously show that there are NO version selection rules.

Adding in rules and attempting to update the view results in the error:

Problems performing setcs.
ccweb: Error: Unable to create temporary file: Permission denied.

Creating a new view:
Unable to create the view at c:\ccweb\user1\view1
 Error detected by clearcase subsytem
 Created view
 Host: local path: host1
 c:\ccweb\user1\view1\view.s
 Created a snaphost view directory
 errors - unable to create temporary file - permission denied

The cause of these problems relates to ClearCase using a directory for temporary files where the user who is accessing the server does not have the rights necessary to create temporary files.

Solution

Edit the ccweb.conf file and edit the line:

-tmpdir {Drive and directory where users have "full control" rights}

Note: If there is a ccweb.conf file present in {Rational Install Directory}\ClearCase\var\config, edit that file.

Otherwise, copy the ccweb.conf file

  • from {Rational Install Directory}\ClearCase\config\ccweb
  • to {Rational Install Directory}\ClearCase\var\config.

照著做就可以解決囉!

unclepooh 發表在 痞客邦 留言(0) 人氣()

今天在VMWare 5.0安裝Windows XP Pro SP2中文版,安裝了NOD32、Office 2003、VS2005、Team Explorer、Power Tools 1.2,重開機發現我的CPU飆到100%,連帶我的主機也一樣100%!進到工作管理員一看,svchost.exe 100%,天啊,馬上請教Google大仙,找到幾篇不錯的文章和工具:  


http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx
Process Explorer for Windows v10.21
這個工具可以用樹狀結構來呈現系統所有的process,所以svchost.exe帶起了哪幾個程式,一目了然!

http://www.yannicafe.info/wp/2007/02/18/61.html
照著這篇文章做,問題就解決囉!真不錯,感謝這位網友!
以下是詳細的步驟:
一、首先檢查系統服務的狀態。
1. 點「開始」–>「執行」,輸入「services.msc」後按「確定」。
2. 在服務「Automatic Updates」上點二下。
3. 點選「登入」頁籤,確定登入身分為「本機系統帳戶」且「允許服務與桌面互動」“沒有”被選取。
4. 確認服務已在目前的「硬體設定檔」中被啟用,如果沒有,按下「啟用」按鈕。
5. 點選「一般」頁籤,確定「啟動類型」為「自動」,然後按下「啟動」按鈕以啟動服務。
6. 對「Background Intelligent Transfer Service (BITS) 」服務重覆 2 ~ 5 的步驟。 

二、接著重新註冊 Windwos Update 的元件。
1. 點選「開始」–>「執行」。
2. 輸入「REGSVR32 WUAPI.DLL」後按 Enter。
3. 當看到 “DllRegisterServer 在 WUAPI.DLL 成功” 的訊息後按下「確定」。
4. 重覆上述步驟重新註冊下列元件
REGSVR32 WUAUENG.DLL
REGSVR32 WUAUENG1.DLL
REGSVR32 ATL.DLL
REGSVR32 WUCLTUI.DLL
REGSVR32 WUPS.DLL
REGSVR32 WUPS2.DLL
REGSVR32 WUWEB.DLL

三、最後清除可能已損壞了的 Windows Update 暫存目錄。
1. 點「開始」–>「執行」,輸入「cmd」後按「確定」。
2. 在命令提示字元中鍵入以下指令。(若出現錯誤訊息請先重開機後再報執行一次)
net stop WuAuServ
2. 點「開始」–>「執行」,輸入「%windir%」後按「確定」。
3. 找到「SoftwareDistribution」並更名為「SDold」。
4. 點「開始」–>「執行」,輸入「cmd」後按「確定」,並在在命令提示字元中鍵入以下指令。
net start WuAuServ

四、大功告成!


http://www.bleepingcomputer.com/tutorials/tutorial129.html
How to determine what services are running under a SVCHOST.EXE process

http://support.microsoft.com/kb/916089/zh-tw
FIX: When you run Windows Update to scan for updates that use Windows Installer, including Office updates, you may experience a memory leak, or you may receive an error message for the Svchost process

http://support.microsoft.com/kb/927891/zh-tw
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q927891
更新的更新,呵呵,真扯!

http://blog.darkthread.net/blogs/darkthreadtw/archive/2007/03/08/windows-update-after-2007-feb-causes-cpu-100.aspx
黑暗執行緒

目前更新有2種版本,一個是Microcoft Update,另一個是Windows Update,兩個差別在於第一個會搜尋所有Microsoft的軟體進行更新,最常見的是windows和office,...狂吃資源的就是這個東西,記憶體跟cpu,而且吃很久,第二個是只更新windows系統,這個並不會很吃資源

unclepooh 發表在 痞客邦 留言(0) 人氣()