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 v5 project import from one folder to another

Hello,

This is a question about CCS (ver. 5.21) setup.  I have been storing all my source, project files in one folder - A, so the path to it is C:\Projects\A.  Everything has been working fine for both RAM and Flash targeted designs.

I decided to start a new folder where I would store other designs with path C:\Projects\B.  I noticed that any projects that I copied from folder A to folder B by way of ‘Import -> Existing CCS Eclipse Projects’ lose their attributes/properties in a new folder.  For example, the same projects change from “CCS General” to “General” after import and I am missing all the items associated from CCS project.  I tried looking for the *.ept file which I read about as something to import as well but I don’t seem to have it associated with the original project.  It also changed from “CCS Build” to just “Build” and I lost Builders, C/C++ Build, C/C General, Run/Debug Settings.

I do see that the Compilers are set to C:/TI/ccsv5  and C:/TI/ccsv5/tools/compiler -  the same for the project in folder A and folder B

 

Is there some setting that needs to be selected while I am importing the project?

Thanks

Monika

  • Hi Monika,

    can you verify you have been importing them as ccs projects?  The best is project->import existing ccs/eclipse project.   It is typical that some settings will be lost and you may need to correct some inlclude paths an variables.

    Some tips

    - I recommend a fresh installation of the latest released version (v5.3)

    - you can preserve some settings by importing and exporting project settings.  This is where the file->import and file->export areas you seem to have found are useful.

    Please keep us informed.

    Best Regards,
    Lisa

  • Lisa,

    thanks for the quick response.  Yes, the project import was done via project->import exixting ccs eclipse project as stated in my original email.

     

    How do I import project settings without the *.ept file which does not exist in the original project that works?

     

    It's not that I am losing some of the properies during the import - I am losing ALL properties:  the imported project changes from CCS General to General and has no recollection of being a CCS project.

     

    Monika

     

  • Lisa,

    Here’s another clue that might help you with suggesting a solution for me:

    In folder A (where everything works) doing ‘Project -> New CCS Project’ creates a CCS General project with the following properties and tabs when I right-mouse click on new project’s Properties:  CCS General, CCS Build, C/C++ Build, C/C++ General, Project References, Run/Debug Settings.

     

    In folder B doing ‘Project -> New CCS Project’ creates a General project NOT a CCS General project even though same steps were followed and I no longer have CCS General, CCS Build, C/C++ Build, C/C++ General, Project References, Run/Debug Settings  listed in the Properties of the project.

     

    Why would this happen?

     

    Thanks

    Monika

  • Hi Monika,

    I think it may have initially slipped me that you were copying the project to a different location manually first.   You need to ensure you copy all appropriate files and I think this is what may be happening.  You are likely not copying all necessary files.

    Have a look at this wiki.  All the .project and .ccsproject etc etc also need to be moved.

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

    Please keep us informed.

    Best Regards,

    Lisa

  • Hi Lisa,

    I am NOT copying anything manually.  Let me ask this question and please treat it as a brand new question:

    In folder A, doing ‘Project -> New CCS Project’ CCS creates a CCS General project with the following properties and tabs when I right-mouse click on new project’s Properties:  CCS General, CCS Build, C/C++ Build, C/C++ General, Project References, Run/Debug Settings.

    In folder B, doing the same thing as in folder A:  ‘Project -> New CCS Project’ CCS creates a General project NOT a CCS General project even though same steps were followed and I no longer have CCS General, CCS Build, C/C++ Build, C/C++ General, Project References, Run/Debug Settings  listed in the Properties of the project.

    Why is this happening?

    Thanks

    Monika

  • Hi Monika,

    can you provide exact steps to try and reproduce this locally?

    From your description this is of course odd behaviour, however some things that come to mind to check

    - permissions on your "folder B" ... I am not sure what exact directories you are using. 

    If you create the same example in A and B, what files are missing/different?  Perhaps this could give us a clue.

    Note I have not heard of a case where create a new ccs project creates a different type of project.  We have seen permissions and antivirus interference.

    Best Regards,
    LIsa

  • Lisa,

    I’m the administrator on this PC. 

    There is nothing special about the folders:

    Folder A is   C:\Projects\Bi\GPSDO_brd\firmware\

    Folder B is  C:\Projects\DHS\Tada\firmware\

    For folder A:

    I start CCS and in “Select a Workspace” pop up window, I have Workspace:  C:\Projects\Bi\GPSDO_brd\firmware chosen.   CCS starts. 

    From the pull-down menu: Project -> New CCS project  and I fill in the fields naming my new project ‘test’. Empty project chosen.

    CCS creates test project.  I right-mouse click on test and Select Properties. Window pops-up with ‘Properties for test’.  The first thing I notice that it is labeled at the top as CCS General and on the right side I see CCS General, CCS Build so I see these are references to CCS.

    Perfect!!!

    Now, let’s do it again pointing into a difference workspace, my file B location:

    I start CCS and in “Select a Workspace” pop up window, I have Workspace: 

    C:\Projects\DHS\Tada\firmware chosen.   CCS starts.

    From the pull-down menu: Project -> New CCS project and I fill in the fields naming my new project ‘test’. Empty project chosen.

    CCS creates test project.  I right-mouse click on test and Select Properties. Window pops-up with ‘Properties for test’.  The first thing I notice that it is labeled at the top as General and NOT CCS General and on the right side I DON’T see CCS General, CCS Build and  I DON’T see these any references to CCS.

     

    The steps in creating test project are identical in both workspaces so there has to be something with the way each Workspace loads.

    I don’t know what they are so that’s where I would like you to help me figure out.

    Do I have to “create” a new Workspace somehow?

    Thanks

    Monika

  • Hi Monika,

    what if you recreate the workspace in your folder B situation?  Ie do you get normal behaviour if you

    - create a copmpletely fresh workspace somewhere

    and/or

    - delete the workspace/projects in B and recreate it when launching ccs

    Best Regards,

    Lisa

  • Hi Monika,

    this may be silly but a collegue just helped me to spot the obvious so to speak.

    Could this simply be eplained by the advanced settings being hidden or not?

    Ie can you please go into the project properties for any project.  On the bottom left you shoudl see either a "show advanced properties" or a "hide advanced properties".  Can you give this  a  check and confirm whether this explains the diffences and behaviour you see.

    Best Regards,
    Lisa

  • Hi Lisa,

    Yes, that was the problem - a setting setup which I asked about in my original post.

     

    thanks

    Monika

     

  • Hi Monika,

    ok, glad to hear that was it. Thanks for the update and all the best with development.

    Best Regards,
    Lisa