Codewarrior file system question.

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

Codewarrior file system question.

Jump to solution
1,941 Views
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?

Labels (1)
Tags (1)
0 Kudos
1 Solution
346 Views
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

 

 

View solution in original post

0 Kudos
2 Replies
346 Views
schmighty
Contributor I
Thank you, that took care of my problem.
0 Kudos
347 Views
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 Kudos