copying files to make new project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

copying files to make new project

ソリューションへジャンプ
1,410件の閲覧回数
stevec
Contributor III

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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,144件の閲覧回数
BlackNight
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,144件の閲覧回数
kef
Specialist I

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.

1,144件の閲覧回数
peteyo
Contributor II

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,

0 件の賞賛
返信
1,144件の閲覧回数
stevec
Contributor III

I have CW IDE version 5.7. I'll try these suggestions thanks.

 

Steve

0 件の賞賛
返信
1,145件の閲覧回数
BlackNight
NXP Employee
NXP Employee

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

0 件の賞賛
返信