Change Project Name - how about names of contents inside

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

Change Project Name - how about names of contents inside

Jump to solution
2,619 Views
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.

Labels (1)
0 Kudos
Reply
1 Solution
2,262 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
4 Replies
2,262 Views
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 Kudos
Reply
2,262 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi wong,

Thank for your detaild description !

BR

Alice

0 Kudos
Reply
2,262 Views
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 Kudos
Reply
2,263 Views
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 Kudos
Reply