由于目前工作的開發(fā)工具是eclipse,而且使用的是rational clearcase remote client 來維護軟件版本。
但是每次編譯完項目工程以后就會出現(xiàn)下面的錯誤。
Severity and Description Path Resource Location Creation Time Id
The project was not built due to "Internal error - the selected file is a system file that cannot be modified. It will be hidden.". Fix the problem, then try refreshing this project and building it since it may be inconsistent.
最后找來找去,原因是project目錄下面有個target-eclipse目錄,這個target-eclipse文件夾下的.copyarea.db惹得禍。
這個文件是clearcase的一個隱藏只讀文件,放在target-eclipse一點用處都沒有,所以決定把它從target-eclipse目錄里刪除。注意只刪除target-eclipse目錄下的.copyarea.db即可,不需要刪除整個工程下的其他目錄里的.copyarea.db文件即可,然后在elipse里刷新工程。就可發(fā)現(xiàn)這個錯誤消失了。
最有效的方法是打開Eclipse->Windows->Preferences->Java->Compiler->Building
打開這個界面后:在Filtered Resources: 的編輯框內(nèi)加入:*.launch,.copyarea.db
這樣就不會再出現(xiàn)上述的問題了。
posted on 2008-09-04 14:02
一葉笑天 閱讀(2878)
評論(0) 編輯 收藏 所屬分類:
Eclipse技術