Change Project Name - how about names of contents inside

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

Change Project Name - how about names of contents inside

跳至解决方案
2,614 次查看
huang_hw
Contributor II

I have CodeWarrior for MCU   Version: 10.6   Build Id:140329 (Special Edition)

 

I try to create a new project using an old project as a starting point as follows:

1. Copy original project directory (ProjOne) to new directory (ProjTwo)

2. Go into Code Warrior. Execute File->Import. Choose "Existing Project into Workspace" . Selected "ProjTwo" from browsing the directories.

3. New project "ProjTwo" was added.

4. However, the contents like the output file is still named "ProjOne.elf" inside the "ProjTwo\FLASH"  directory.

 

Question:

How do I change all references to "ProjOne" in the new project "ProjTwo" to "ProjTwo".

For example, I want the output file to be "ProjTwo.elf" instead of "ProjONe.elf".

 

Thanks.

标签 (1)
0 项奖励
回复
1 解答
2,257 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello wong,

Please change the name on the properties for project ,

for example , the name changed from "testone " to "testone_2"

pastedImage_0.png

then clean the project , then build it again.

pastedImage_1.png


Have a great day,
Alice Yang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,257 次查看
huang_hw
Contributor II

Alice's answer will correctly change the name of the ".elf" file.

To further elaborate on Alice's answer, there may actually be two more steps to make the project name change complete. They are

1. "Right-click" on the project name and choose "Rename" to make sure project is stored in the directory with the correct name.

2. Click Run->Run Configuration. Select the appropriate "Run Configuration". Edit the "Application" to the new ".elf" file-name.

Thanks again Alice.

0 项奖励
回复
2,257 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi wong,

Thank for your detaild description !

BR

Alice

0 项奖励
回复
2,257 次查看
huang_hw
Contributor II

Thanks Alice for the pointer. That steps would indeed lead to the creation of the ".elf" file with the correct name.

0 项奖励
回复
2,258 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello wong,

Please change the name on the properties for project ,

for example , the name changed from "testone " to "testone_2"

pastedImage_0.png

then clean the project , then build it again.

pastedImage_1.png


Have a great day,
Alice Yang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复