Hi Cox..
I wonder if you follow the right process to export and import a project.
To export a project follow steps below:
1.In CodeWarrior Project window, right-click on project name.
A context menu appears.
2.From context menu, select Export .
The Export window appears.
3.Expand General Folder .
4.Select Archive File .
5.Click Next .
The Archive File window appears.
Note: By default, the project that you select will be exported along with their children. Optionally, use the checkboxes in the left and right panes to select the set of resources to export. Also, use radio buttons, such as Select Types to filter the types of files that you want to export.
6.In the To Archive File textbox, enter the archive file which you want to export the selected resources to.
7.Click Finish .
To import a project follow steps below:
Follow the steps listed below:
1.Import an executable by selecting File > Import from the IDE menu bar.
The Import dialog box appears displaying the Select page.
2.Expand the CodeWarrior tree-control and select MCU Executable Importer.
3.Click Next.
The Import a MCU executable file page appears.
4.Specify the desired name for the imported project in the Project name text box.
5.Click Next.
The Select MCU executable file to be imported dialog box appears.
6.In the File to import option, click Browse, navigate to the desired project and select the executable (.ELF/.ABS/.FLT/.AFX) file.
Note: Check the Copy to project folder checkbox as it allows to set up the debugging paths easier (more later on).
7.Click Next.
The Device and Board page appears.
8.Select the desired CPU architecture.
9.Click Next.
The Connections page appears.
10.Select the appropriate connection(s) for your project.
11.Click Finish.
The selected project is imported into your workspace.
To set up the search paths (where to search the source files), follow the steps listed below:
1.For this open the launch configuration of your project. To open the launch configuration: a.Select Run > Debug Configurations from the IDE menu bar.
b.Expand the CodeWarrior Download tree-control and select the desired launch configuration
2.Click the Source tab.
3.Click Add.
The Add Source dialog box appears.
4.Select Path Mapping and click OK.
5.Select the newly created mapping and click Edit, which displays the dialog where you can create the mapping.
The Path Mappings dialog box appears.
6.Click Add.
The Path Mapping dialog box appears.
7.Enter the path which was used to compile the binary, and the path where the files can be found on your local machine.
8.Continue to add mappings as needed.
Now to find out which path mappings are missing, right-click on the binary file in the CodeWarrior Projects view, and select the Properties from the context-menu. This displays the Paths and Symbols page. Here you can see which path mappings are still missing, and you can fix them accordingly.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------