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.

CCS/CC1310: 2 projects with the same name

Part Number: CC1310

Tool/software: Code Composer Studio

Hi Guys

Customer tried to open a project with the same name as a project that is already opened, nothing happens, perhaps you cannot have two projects with the same name open at the same time, but CCS should at least warn if one tries to do that.

 

There are several reasons they want to do this, the most important one to be able to have multiple revisions of the same project/git repository checked out at the same time to have the possibility to work on different branches in parallel.

 

I think this is a very common way to do development today. And renaming the projects perhaps could work, but it is not a nice workaround since then I will have to not track that in git then, which I really want of course.

Thanks

Rodney 

  • Rodney,

    CCS does not support having more than one project with the same name in the same workspace.  One workaround for this would be to have multiple workspaces.

    Note that if you try to create a project with the same name as an existing project it will inform you of this:

    Here I have a project in my workspace:

    Now I try to create a new one with the same name:

    You can see the error shown at the top.

    If you are using the import wizard it shows an error but without an explanation:

    That really should show the same error.  I can file an issue to track that.

    If I am using Resource Explorer to import and there is a project with the same name it gives the reason:

    Keep in mind that this limitation is really based on the fact that projects and workspaces are folders/directories.  My workspace John would be a folder \John in my user folder.  When I create a project Rodney inside that workspace it creates a folder called \Rodney in the workspace.  Now it is possible to have projects physically outside of workspaces and to them in a folder that is not the same as the name but that is not the default behavior.

    There is Git integration in CCS/Eclipse.  However that would allow you to check out different branches and not necessarly have 2 open at once.  For 2 at once I would likely go wtih 2 workspaces.

    Regards,

    John

  • Here is the link to the issue tracking that the import wizard should provide the error message: 
    https://sir.ext.ti.com/jira/browse/EXT_EP-9750

  • It looks like the Import wizard does show the error in a tooltip.  I looked for this but it takes a couple seconds to display the message.  I am following up on that as I missed it as I did not wait long enough for it to display.  it does it in a tooltip as there could be multiple projects being imported.

    The team is looking to see if they can make that pop up more quickly