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.

Copy/paste project in CCS5 hangs/locks up PC.

Hi,

I'm using CCS5 and would like to copy/clone a project and rename it for another customer that has minor code changes from the original project. When I right click on the project and select copy then paste, I click through the file box then CCS5 just hangs my system using 95% of CPU time sitting there. The status at the bottom says "Reporting encoding changes"  with the progress stuck at 0. I've let this run for a while and still no progress.  I have to shut down CCS5 using task manager. This appears to be a bug in CCS5.

What's the best way to go about cloning a project using a different name?

Thanks,

Bob

  • Hi Bob,

    my suggestion would be the following

    - export the project

    - import the project a new workspace for verification

    - rename the project

    - send/export for the customer

    This wiki might also help you

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

    Does this help get you the information you need?

    Best Regards,
    Lisa

  • Hi Lisa,

     No,  neither of these worked. When I created a new workspace, imported the exported project then renamed it, there were all the file names, but the link references were not correct and no files were found.

    I tried following the "Steps" in the portable projects wiki but that was a major PIA! I got a whole set of compiler errors for missing files, etc.

     THIS IS A REAL PIA!! Why can't I just copy/paste like I could with 3.3? How freaking hard do you have to make this for your customers???!!!!

    Thanks,

    Bob

  • Hi Bob,

    I frequently use the copy/paste method for projects in CCS5.3.0 without any problems. Here is how I do it:

    1. Right click at the Project and select "copy"

    2. Right click in the project explorer and select "paste"

    3. in the pop-up "Copy Project" window:  (a) give the new project a different name; (b) do NOT use the default location; (c) Browse to a new location for the new project.

    Another idea: How did you add/link files into your original project? If you used the "link"-method, I always recommend, NOT to use the relative project path, because in a copied version of such a project the relative path indication ("../../..") can cause issues. For reference I have added a lab procedure from my workshops. It explains how to setup path variables and at page 6 the link procedure.

        

     

     

    28069_Lab1_1.pdf
  • Hi Frank,

     That's what I trying to do in the first place when CCS5 hangs my system. I did use another location and name and was using direct file links (not relative).

    I ended up getting it to work by creating a new blank project and dragging the folders into the new project.

    Overall I don't think it's helpful to your customers when you make the tools harder to use. The way files and projects are handled is really a big downside to the new eclipse format in CCS5. In the end moving the files into the project with drag/drop works, it's just a real pain to have to reconfigure all the compiler and linker options each time I setup a new project that's a spinoff of an existing one. (Just my opinion after 30 years of doing embedded code development.) IF copy/paste worked correctly then it wouldn't be so painful to work with CCS5.

    Also I had an issue when I went to name my new project. Since a prior attempt had failed at creating the project using copy/paste, there seemed to be some remnants in the system that wouldn't allow me to use the same name. Got an error stating that project name was already in the workspace yet it wasn't showing up in the project explorer. Another bug/feature?

    Thanks,

    Bob

  • HI Bob,

    I have also been able to verify the copy and paste built in do not crash ccs for me.  I tried 3 targets, 2 workspaces and 4 different projects.  Simple copy and paste works and is provided with CCS.

    I wonder if your project or installation could be corrupted.

    Do you see this with all projects?

    Best Regards,
    Lisa

  • Hi Lisa,

     I tried copy/paste using a non-linked project and it was successful. Of course the one linked project I have is the one I needed to copy. Seems to be a problem with only the linked project files. Is this a known bug?

    Thanks,

    Bob

  • Hi Bob,

    I am not able to reproduce this with a project containing linked files either .......

    I really wonder if there might be something with your installation.  Did you install the latest version fresh or be willing to try that?

    Best Regards,
    Lisa

  • HI Bob,

    just thought I would check whether there are any updates here/the latest version has the behaviour working as expected for you.  Unfortunately, as mentioned, this is not something we could reproduce or see in v5.3.

    Best Regards,
    Lisa

  • Hi Lisa,

     As I mentioned it works fine with a non-linked project. I haven't tested the function of the copy/paste any further since I now have the project in CCS and am working with it.

    Thank you,

    Bob

  • Hi Bob,

    ok, thanks for the update and glad to hear you are able to work with the project.

    All the best with development.

    Best Regards,
    Lisa

  • Hi Lisa,

     I have another similar issue with CCS. I have a project that I want to move from one PC to another. I exported the project to a memory stick then imported it to the other computer using CCS import. I can see all the files from the import but when I go to build the project, I get a make file error saying theres' nothing to make.

    How do I get the make file to import?

    Thanks.

  • Hi,

    I am having this exact same problem in CCS 6.1.1

    When trying to copy/paste the project to make a copy of it CCS hangs saying "reporting encoding changes"

    I do have a number of linked files, which seems to be a "trigger" for this type of problem as the previous posts mentioned.

    I have used copy/past successfully on other projects, so it is not a fully broken CCS install, there is a bug that is triggered by a particular set of conditions apparently. I actually have two or three (related) projects that all fails to copy/paste;  this is making it very difficult to do iterative development work when I can't keep an old copy of the project.

    Thanks for you help.

    Mike

  • Hi, Lisa!

    This appears to be a bug in Eclipse that has been extant since 2005 and the ACTUAL cause was never fixed. It is happening to me consistently on my Windows 7 64-bit system with CCS Version: 6.1.2.00015, and I can reproduce it while trying to copy a particular project every single time.

    Here is just ONE of the links I found:  


    If there are any TI people who are Eclipse members also with enough knowledge to fix it, I can provide the project that seems to be triggering it. Eclipse database has this same bug registered under Bug 94922, 90927, 98034 and 358717, and possibly others, and keeps resurfacing periodically from 2005 on through 2013. SOMEBODY needs to re-open this as a bug in Eclipse and get it really fixed this time.... (I don't program in Java, or else I'd be tempted.)

    Kind regards,
    Vic Wheeler