Codewarrior file system question.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Codewarrior file system question.

跳至解决方案
2,351 次查看
schmighty
Contributor I

I want to maintain a working backup of my project's source files to fall back upon when I make a bold revision in code. How do I save those backup files in codewarrior? It seems that just copying the project directory and working out of those files/directories results in changes that are reflected back to the original files/directories I copied them from. I was fooled in the thought (for years now) that just making a copy of the project directory would leave me with a "saved and working" original project folder, but codewarrior changes those supposily "saved and working" original source files too. What's the fix?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
756 次查看
J2MEJediMaster
Specialist I

1) Make a duplicate of the CodeWarrior project directory.

2) Open the project file (.mcp) in the duplicate directory.

3) Go to the project's settings panel. (Type ALT-F7.) Next, go to the Access Paths panel and ensure that there are no hard-coded directory paths in there. (For example,  C:\DSP_Filters\FIR\sources.) There should only be project-relative paths present (for example, {Project}sources).

4) Choose Project > Reset Project Entry Paths

5) Choose Project > Re-search for Files.

 

That should clear out any directory info of the previous project.

 

---Tom

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
756 次查看
schmighty
Contributor I
Thank you, that took care of my problem.
0 项奖励
回复
757 次查看
J2MEJediMaster
Specialist I

1) Make a duplicate of the CodeWarrior project directory.

2) Open the project file (.mcp) in the duplicate directory.

3) Go to the project's settings panel. (Type ALT-F7.) Next, go to the Access Paths panel and ensure that there are no hard-coded directory paths in there. (For example,  C:\DSP_Filters\FIR\sources.) There should only be project-relative paths present (for example, {Project}sources).

4) Choose Project > Reset Project Entry Paths

5) Choose Project > Re-search for Files.

 

That should clear out any directory info of the previous project.

 

---Tom

 

 

0 项奖励
回复