How to unlock project settings file (CW 8.5, IDE 5.7, MPC5200)

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

How to unlock project settings file (CW 8.5, IDE 5.7, MPC5200)

2,205件の閲覧回数
peperson
Contributor I
Merged my changes to SourceSafe, got the latest version, and now
I get a C/W messages box saying "The project settings file for project
"myproject.mcp" is locked, some of your user settings will not be
saved".

Where is the "project settings file", and how do I unlock it?
ラベル(1)
タグ(1)
0 件の賞賛
5 返答(返信)

459件の閲覧回数
CrasyCat
Specialist III
Hello
 
This is the .mcp file.
Did you check the .mcp file out in SourceSafe?
 
CrasyCat
0 件の賞賛

459件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
Actually I think that message is generated when the XXX_Data folder (with XXX the project name) is readonly, or more precisely the CWSettingsWindows.stg file it contains.

Do not place the XXX_Data folder or any file it contains into the source revision control system, that folder only contains data which can be recreated like object files or browse information and other "volatile" information not necesary for building.

Daniel

458件の閲覧回数
peperson
Contributor I
You were right, it was the CWSettingsWindows.stg file in the Myproject_Data folder that was read-only.

I originally thought it was the .mcp file (which was checked out from sourcesafe and was readonly), but clearing that didn't help.

Clearing the read-only attribute on the CWSettingsWindows.stg file fixed it.

Thanks!
0 件の賞賛

459件の閲覧回数
JohnnyG
Contributor I
Being the lazy sot that I am, I have a script that recursively makes every file in the tree writable:
chmod a+rw -R *
chmod a+rw -R *.*

then I edit to my heart's content (it's the way we work here. In prior lives I would check out a file or two - exclusively for my use while they were locked, like in the real world)

When I'm done, MKS (it's the way we work here. In prior lives...) tells me which files have changed. I lock them, check them in, and hope I don't have to merge someone else's changes.
Hope this helps.

0 件の賞賛

459件の閲覧回数
J2MEJediMaster
Specialist I
Check this forum thread for extensive information on how to manage CodeWarrior with version control software. HTH.

---Tom
0 件の賞賛