Configuring old versions of CodeWarrior

It is not the case that versions 6 and 7 of Metrowerks CodeWarrior can successfully convert version 8 projects. You will have to make a new, equivalent, project using your old version of CodeWarrior in order to use your software. Follow these steps to do so:

  1. Install the Java SDK, CodeWarrior, and jpt.jar as described in the help file found here.
  2. Download the homework assignment, and decompress the archive if necessary.
  3. Double-click on the project file to start CodeWarrior.
  4. Agree to let the project be converted, even though the converted project is useless.
  5. Create a new CodeWarrior project:
  6. Select the Targets tab and delete the target whose name ends in Debug.
  7. Select the Files tab and delete the file TrivialApplication.java.
  8. Delete TrivialApplication.java from the project directory on disk.
  9. Copy all of the files included in the homework assignment archive, except for the old and the converted CodeWarrior project files (.mcp), to the directory for the new project.
  10. Select Project->Add Files from the menu, and add jpt.jar from Java_Support/Libraries/ in your CodeWarrior directory.
  11. Select Project->Add Files from the menu, and add all of the Java source files (.java) for the assignment, from the location of the new project, not the directory created by the homework assignment archive.
  12. Group the files into groups in the Files tab, if you like, using the original project for the assignment as a guide.
  13. Set the following Project Settings to the same settings found in the original project:
  14. Close the old, converted, project and use the new project.
  15. Delete the project directory made by the homework assignment archive, to avoid confusion.