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.

Project folder

I am new to CCS. In the past all of the IDEs I used had an option to open a project. The project would reside in a dedicated directory. That worked well for us since all of our files are stored on a dedicated server in an organized tree and the file structure on the server is mapped through a drive letter. This allows us to use a desktop to start a project and then be able to continue on a laptop (work from home through VPN for example). When work on the current version is complete the working project directory with all of its files is copied to a version directory (version_1 for example). It also allowed us to copy a project directory (using  SynchToy by Microsoft) to a local disk and be able to work on it when a network connection is not available.

With CCS, there is a new thing called workspace. It seems like in our case I would have to have a dedicated workspace created on the server for each project and each time I need to open a different project I would switch the workspace, correct?

 

  • Hi Gennadiy,

    I prefer to have a dedicated 'Workspace-Folder' for each project. But, you can also have more than one project in a workspace. This will also give you the possibility of using dependancies to the projects which were already there.

    I don't now this Microsoft tool you're talking about, so I can't tell you if this will work for CCS.

    Rgds
    aBUGSworstnightmare

  • Gennadiy,

    Gennadiy Kiryukhin said:

    I am new to CCS. In the past all of the IDEs I used had an option to open a project.

     

    This is still valid in CCSv4. You can open or close projects, but the closed projects are still shown in the workspace.

    Gennadiy Kiryukhin said:

    The project would reside in a dedicated directory. That worked well for us since all of our files are stored on a dedicated server in an organized tree and the file structure on the server is mapped through a drive letter. This allows us to use a desktop to start a project and then be able to continue on a laptop (work from home through VPN for example).

    The project can still be physically located in the dedicated directory and thus outside the workspace directory. To address this scenario Eclipse has the concept of "linked projects", where the project and all its files are still visible from within the workspace in CCSv4 but are located anywhere in your system. Additional details can be seen in the link below:

    http://processors.wiki.ti.com/index.php/Eclipse_Concepts#Projects

    Gennadiy Kiryukhin said:

    When work on the current version is complete the working project directory with all of its files is copied to a version directory (version_1 for example). It also allowed us to copy a project directory (using  SynchToy by Microsoft) to a local disk and be able to work on it when a network connection is not available.

    Although not familiar wwith the Microsoft tool, the scenario you described is very similar to a version control software like SVN or Clearcase. Check the pages below to learn more about plug-ins that can be added to CCSv4.

    http://processors.wiki.ti.com/index.php/ClearCase_plugin_installation

    http://processors.wiki.ti.com/index.php/SubVersion_plugin_installation 

    Gennadiy Kiryukhin said:

    With CCS, there is a new thing called workspace. It seems like in our case I would have to have a dedicated workspace created on the server for each project and each time I need to open a different project I would switch the workspace, correct?

     

     

    Not necessarily. A workspace can be created anywhere in your system but it can hold one or multiple projects in it (as aBUGSworstnightmare mentioned).

    Hope this helps,

    Rafael

     

     

  • If the project directory is located on a remote network drive and "linked" to my local workspace, do the files describing project content also reside in the remove folder? Can such project be opened from another computer?

  • Gennadiy,

    All the source/header files pertaining to the project can reside in their original locations.

    The answer to your second question is yes. However, if you can't guarantee that all the computers map to the same drive letter where the project is located, or even have different directory structures (one maps to \\host, the other maps to \\host\projects, etc.) then it is strongly suggested to create a portable project:

    http://processors.wiki.ti.com/index.php/Portable_Projects

    A portable project has all its source files linked (thus residing in their original locations) but using relative paths, therefore if you use a different base directory or drive, all the relationships between the files are preserved.

    Hope this helps,

    Rafael