I have an existing working project that I wish to slightly modify to add some more functionality too. I wish to call this project by a different name to distinguish it from the original. How do I go about copying files over to a new project directory without having to define the new project. Can I just copy the source files? Presumably something has to be done to the project file? I believe I used the Device Initialisation and possibly the Processor Expert in the original project.
Steve
已解决! 转到解答。
For eclipse based CodeWarrior: select the project, copy (e.g. CTRL-C) and then paste (CTRL-V): this will ask you for the new name (e.g. "Copy of Project"), and you are ready to go.
Or: you can export (File > Export) that project and import (File > Import) it into another workspace too.
BK
You didn't say what CW version you are using. On classic IDE's it's simple. Copy entire project folder where you want and delete xxx_Data subfolder. Then you can rename *.mcp file. That's all. You may wish to change the name of application binary files. Just go to linker tab in project settings and change that name. Simple.
Don't know how to do the same in Eclipse IDE. Workspace concept IMO is wrong. What I learnt, that to move to another PC, you need to export project to *.zip or folder on source PC, then import it on destination PC. I'm not sure if you can do the same to rename project.
Hi Edward,
I am using codewarrior IDE 5.9 for an old MCU and now need to copy a project to a new name for next project.
I found the 'MCUinit.c' file is almost empty after using your steps of classic IDE.
What i did is to replace 'MCUinit.c' and 'MCUinit.h' (in Sources folder) with old files in original project folder.
Then a new_project.iPE file is auto-created after compiling the new project.
My question is, does my step copy a project completely? or still need some actions to match the whole setting of the old peoject?
Thanks,
For eclipse based CodeWarrior: select the project, copy (e.g. CTRL-C) and then paste (CTRL-V): this will ask you for the new name (e.g. "Copy of Project"), and you are ready to go.
Or: you can export (File > Export) that project and import (File > Import) it into another workspace too.
BK