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.
Tool/software: Code Composer Studio
The following is just my opinion.
Since I see the same type of questions popping up for years and years, related to ever progressing revisions of the CCStudio I can conclude that there is a clear need for the concise document that gives a list of instructions how to clone CCSStudio Eclipse workspace or CCStudio Eclipse project for:
- one user
- different users on the same windows machine including intricacies related to the Windows OSs
- different developer on a different machine
There seems to be too much confusion about how to handle projects within the workspace, and the solution is typically reinstallation of the workspace, or project, or the whole CCStudio, which is a workaround/
Also, a clear description of the workspace/project/folders/source code relations, and even more important, limitations, should be easily found using the help system within the CCStudio itself.
For example, the fact that the workspace folder is not supposed to overlap with the project folder is neither obvious nor intuitive, and there are scores of developers encountering the same problem over and over again.
A little bit more of explanation would go a long way in even more enjoyment in developing on the otherwise great tool: CCStudio.
Hi Vlad,
Any documentation / best practices that exist for Eclipse workspaces would apply also for CCS workspaces. There are many out there. For example:
https://dzone.com/articles/eclipse-workspace-tips
https://mcuoneclipse.com/2013/02/02/eclipse-workspace-tips/
https://stackoverflow.com/questions/2493997/eclipse-and-copying-workspaces
https://developers.redhat.com/blog/2013/09/24/separating-ide-wkspcs-code-repos/
In general, it is not recommend to copy workspaces folders around as workspaces are not designed to be portable. But it is possible as some of the links discuss. The .metadata may contain some paths that could become invalid if the workspace is copied to a location different from its current directory.
There are no issues with multiple users sharing the same workspace folder on a machine - as long as the workspace folder is read/write accessible to all users (for example, having the workspace folder in one users home folder could create issues for obvious permissions reasons). There is one small caveat when sharing workspace folders this way - the default folder for target configuration files is inside the user's home folder. So if you create a global target configuration file, which appears in the 'User Defined' node of the Target Configurations view, and then have a different user log in and use the same workspace, that user will not see that target config file since CCS will be using that user's home directory for the default target configuration folder. This is the case even though the workspace folder being used is the same. Note that the default target configuration folder user by a workspace can be configured to a common fixed location to avoid this.
Copying workspaces to other machines for use is not something recommended or supported by Eclipse
As for projects, many details are covered in the Project and Build Handbook, including sharing projects and making them portable.
Of course we are always looking to improve our documentation and your feedback highlights that we still have a ways to go. We will certainly keep your feedback in mind as we update our documentation.
Thanks
ki
Hi Ki,
Thank you for a thorough answer, which explains a lot of the fine details related to the CCStudio usage.
Thank you for links, I was not aware of some of them.
regards,
Vlad P.