Q: Customer wants to build the CW project in the DOS command line. They don't want to write makefile themselves because they think makefile is a little complicated. Is there any method to build the CW project in DOS command line?
A: There is only one way to do this currently in the CodeWarrior for StarCore 10.1.X tools. To create an Eclipse build from the ecd command line follow steps below:
1. Copy ecd.exe file from the <CWInstallDir>\eclipse\plugins\com.freescale.core.ide.commandLineDriver_2.0.0.FSL_ {build_number} folder to the <CWInstallDir>\eclipse\ folder.
2. Invoke the ecd command line.
3. In the ecd command line, type the following command: ecd -build -data my_workspace_path -project my_project_path
4. Click <Enter>.
5. After a few seconds the Automated Builds window appears. After the build is completew you will see the following appear in the DOS window - Build succeeded for project <"project_name">
Note: Please make sure that the project that you going to build has been imported into the workspace.