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.

how to export and import project in CCS5.3 painlessly?

Hi,

Is there a way of moving CCS5.5.3.0 project from one computer to another?

Following the wiki http://processors.wiki.ti.com/index.php/Project_Sharing I did the following simple exercise:

1) imported the qs-logger project from C:\StellarisWare\boards\ek-lm4f232\qs-logger with an option of "copy projects into workspace" enabled

and "Automatically import referenced projects" enabled as well. It builds OK with only a couple of warnings, but creates a numer of link files instead of copying real files.

2) exported the project as general Archive File, selected all and saved in zip format

3) switched to a new workspace and imported selecting an archive file from the previous step

4) rebuilding the imported project fails as it has a number of missing files.

 

Questions:

1) Is there another way to achieve what I want?

2) What is the easiest procedure to fix that problem?

 

Regards

Jan

 

  • Hi Jan,

    without a source control system there not necessarily and easy way to share projects involving libraries and linked files etc.

    Basically each user would need

    - the project files - source code etc

    - any libraries required

    - corrected include paths and variables as not everyone may have the exact same directory path

    Normally a project export would give you the option to bundle up a lot of this but I do not believe it pulls in referenced libraries.

    So you and the wiki are unfortunately more or less on track.    As you can imagine a simple project with no libraries or real external references would lack a most of these complications.

    I hope this helps.   Are there any specific questions you have?

    Best Regards,
    Lisa

  • Hi Lisa,

    Thanks for your comments.

    I don't mind to have a local copy of all necessary resources with real files, not a symbolic links.As it is at the moment I am not even able to move a project from one directory to another on the same computer and not able to make a project backup without a lengthy fidling with a setup.

    The way the Stellarisware examples are created together with CCS makes it really difficult. I remember vaguely other IDEs, where you can copy the entire workspace, move it to a different location and it all works.  wish the same can apply to CCS. Again, I dont mind to copy everything. Not much saving is in having libraries in one centralised location, instead of having them within the project.

    I am really dissapointed, that instead of focusing on software development I have to waste time on the IDE.

    BTW, how to exclude the *.h file from build?

    Regards

    Jan

  • Hi Jan,

    how have you been attempting to move projects?  What exact issues are you seeing?

    Regarding the exclusion from build .. you can do this with a right-click on the file->properties->"exclude resource from build"

    Best Regards,
    Lisa

  • Hi Lisa,

     

     Thank you for your time and effort looking at this.

     

    I deliberately pick a Stellarisware project as an example as it is commonly available and can be reproduced easily

    If someone wants to help and look at a specific problem

     

    Exclusion from build as you described works (only?) for *.c files, but not *.h files.

     

    Let’s say I want to move the project from workspace1 to workspace2 on my hardisk (same computer)

    For demonstration purpose I created 2 workspaces located at:

    D:\projects\2013\ExportImportExample\Workspace1

    and D:\projects\2013\ExportImportExample\Workspace2

     

    From Workspace1 I did as describe in #1 of my first post:

    Following the wiki http://processors.wiki.ti.com/index.php/Project_Sharing I did the following simple exercise:

    1)     imported the qs-logger project from C:\StellarisWare\boards\ek-lm4f232\qs-logger with an option of "copy projects into workspace" enabled

    2)     and "Automatically import referenced projects" enabled as well. It builds OK with only a couple of warnings, but creates a numer of link files instead of copying real files.

    Everything works fine here, the project compiles, flashes into hardware, etc.

    Now I do the exporting part:

    3)     exported the project as general Archive File, selected all and saved in zip format (see the picture below)

    To import the project into workspace 2 I do the following steps:

    1)      switch workspace (selected Workspace2)

    2)      imported the project (see the picture below)

    3)      When trying to rebuild I have errors (see picture below)

    1)      When trying to rebuild I have errors (see picture below)

     

    Thanks and regards

    Jan

  • Hi Jan,

    I suppose it is not surprising that you seem to likely still require a few further corrections/checks to your include paths and variables.

    Have a look at this wiki to double check that all your include paths etc are as required.

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

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Lisa,

    Thanks again.

    Actually I kind not fully agree with you, when you say not suprising.

    I do expect the software to work flawlesly without the need for a manual fidling and I think it is possible.

    Sometimes difficult, but possible.

    Can you do me a favour and pass my case to the creators of CCS, as a feedback for them to be aware of existing problems?

    I will update the paths and links manually, so it's OK but I am still dissapointed.

    We bought a number of the LM4F232H5QD Evaluation Boards for a student lab and I need to create some example on top of existing ones.

    Now, as we are making a switch http://e2e.ti.com/group/maketheswitch/default.aspx?DCMP=Switch&HQS=maketheswitch-b

    from another architecture, our students can compare things. I will feel a bit ashamed to explained the non-elegant ways they need to use for

    moving the software projects.

    Again, appreciate your help

    Best Regards

    Jan

  • Hi Jan,

    I will certainly pass along the feedback and fully agree with you.    My comment about not being surprised more or less equals - we have seen this before.

    All the best.

    Best Regards,

    Lisa

  • Hi Jan,

    just some additional information for you.  We suspect the eclipse bug highlighted here is what is causing your frustration:

    There is a link to the bug in this topic:

    http://processors.wiki.ti.com/index.php/Project_Sharing#Known_Issues

    Best Regards,
    Lisa

  • Hi Lisa,

     Thanks again. Your help is much appreciated.

    Regards

    Jan

  • Hi Jan,

    no worries, that's what we're here for.

    Best Regards,

    Lisa