2.25.2011

Buildrel -- sharing violation

奇怪,在某些 workspace 作 buildrel 會出現 sharing violation。
所以去找 buildrel.bat ==> 在 C:\WINCE500\PUBLIC\COMMON\OAK\MISC 找到。

打開後,在第 20 行加上 echo on,再 run 一次 buildrel,這樣每個動作就都會印出來。
然後找到..
C:\WINCE500\PLATFORM\SMDK2416>xcopy /q /c
C:\WINCE500\PBWorkspaces\Core2416\WINCE500\smdk2416_ARMV4I\oak\Files\nlscpg.txt
C:\WINCE500\PBWorkspaces\Core2416\RelDir\smdk2416_ARMV4I_Release
Sharing violation
0 File(s) copied


這個看起來好像是一個 FAQ 了: http://social.msdn.microsoft.com/Forums/en-US/winembplatdev/thread/49926e06-d048-4b95-827f-ab17e97d8f88/
而且好像就發生在 nlscpg.txt 這個檔。

MS 好像沒有要 fix 的意思。
只有在 buildrel 的 document 有一項:
如果發生 sharing violation error,請用 copy 不要用 copylink

!!! 天那!! copy 的話要花好久時間 !!

沒有留言: