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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2,701 Views
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?
Labels (1)
0 Kudos
5 Replies

955 Views
CrasyCat
Specialist III
Hello
 
This is the .mcp file.
Did you check the .mcp file out in SourceSafe?
 
CrasyCat
0 Kudos

955 Views
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

954 Views
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 Kudos

955 Views
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 Kudos

955 Views
J2MEJediMaster
Specialist I
Check this forum thread for extensive information on how to manage CodeWarrior with version control software. HTH.

---Tom
0 Kudos