This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

More on command line builds (CCS 5.1)

I see in a link from another thread on how to do command line builds and the changes needed for CCS5.1.  I have successfully:

- imported the project into the workspace

- clean the project

- rebuild the project

I want to know how to remove the project from the workspace.  The command line builder we use may build from several code "stream" and needs to load/unload projects (with the same name) from each stream.

  • There is no command to remove a project from workspace. However, if you import a project without copying its contents physically into the workspace, then you should be able to just delete the workspace before running next sequence. (i.e. if you don't set -ccs.copyIntoWorkspace to true, then default behaviour is not to copy project into workspace). You can double check whether this happens by going to your workspace directory and see if projects are listed there or it is just contains a .metadata folder. 

    martin

  • I was using the following command to load the project into the workspace.  I suppose I was using the default workspace since I did not specify one with the -data option.

    C:\ti\ccsv5\eclipse\eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import MyTypeLib

    What is the command to delete the workspace?  I did not see that option for "headlessbuild".  Or should I be using something else.

  • It looks like one solution (when using a linked workspace) is to just delete the workspace directory using "shell" command.  When loading, the workspace is recreated.  Better yet would be to have separate workspaces for different projects and delete only the one you are building,.