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) 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
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