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.

Update sites for included Eclipse plugins??

Other Parts Discussed in Thread: CCSTUDIO

Hi there

I note that some of the plugins inlined with the most recent stable release (5.4.x) of CCS (E.G. egit, mylynn, etc) are not the latest release versions (by quite a few versions in some cases) and also that there update sites are not "ticked", or enabled, in the available software sites listing even though they are actually listed.

Does this indicate that it is not recommended to update these plugins with this version of CCS? Are there compatibility issues?

In my case I would like to update Egit (and thus mylynn also) to take advantage of some of the bug fixes in the newer versions, but am hesitant to do this if it may cause problems, as Id rather stay with a stable environment than fix a few annoyances.

Thanks

  • Toby,

    We have disabled the stock eclipse updates sites as we were hitting some issues when Eclipse updates were not synchronized with ours and the Eclipse sites were trying to get updates based on Eclipse 4.x.  

    I enabled the Egit and Mylnn sites on one of my installs but the update manager doesn't want to let me install the Egit update.

    Cannot complete the install because of a conflicting dependency.
    Software being installed: Eclipse Git Team Provider 3.0.1.201307141637-r (org.eclipse.egit.feature.group 3.0.1.201307141637-r)
    Software currently installed: EGit Plug-in Import Support 2.1.0.201209190230-r (org.eclipse.egit.import.feature.group 2.1.0.201209190230-r)
    Only one of the following can be installed at once:
    Git Team Provider Core 2.1.0.201209190230-r (org.eclipse.egit.core 2.1.0.201209190230-r)
    Git Team Provider Core 3.0.1.201307141637-r (org.eclipse.egit.core 3.0.1.201307141637-r)
    Cannot satisfy dependency:
    From: Eclipse Git Team Provider 3.0.1.201307141637-r (org.eclipse.egit.feature.group 3.0.1.201307141637-r)
    To: org.eclipse.egit.core [3.0.1.201307141637-r]
    Cannot satisfy dependency:
    From: EGit Plug-in Import 2.1.0.201209190230-r (org.eclipse.egit.import 2.1.0.201209190230-r)
    To: package org.eclipse.egit.ui [2.1.0,2.2.0)
    Cannot satisfy dependency:
    From: EGit Plug-in Import Support 2.1.0.201209190230-r (org.eclipse.egit.import.feature.group 2.1.0.201209190230-r)
    To: org.eclipse.egit.import [2.1.0.201209190230-r]
    Cannot satisfy dependency:
    From: Git Team Provider UI 2.1.0.201209190230-r (org.eclipse.egit.ui 2.1.0.201209190230-r)
    To: package org.eclipse.egit.core [2.1.0,2.2.0)

    I then uninstalled Egit and Egit import support.  You can do this by going to help -> About.  Click on Installation Details.  Then select the plugins and click uninstall.

    After doing that for those 2 plug-ins I was able to then go to Install New Software and install the latest Egit.  That all seemed to go ok and CCS was running fine afterwards.  I don't have a Git repository to try so I can't be sure the integration is working correctly but I did check that the Git perspective will open.

    Regards,

    John

  • Hi John, 

    Thanks for the quick response :)

    My main reason so far for wanting to update is better EGit handling of linked resources; a minor issue. I didn't at first realise that mylynn and so on were also installed and would need updating in concert.

    However, reading your response I may give it a try on my secondary machine and see how things far with a GitHub clone. Will let you know how I get on :)

    Do you know if the eclipse update synchronization issue you mentioned being worked on for upcoming CCS releases?

    Thanks

  • Toby,

    We bundle the latest Eclipse service release for the version of Eclipse that we use in our updates.  So the 5.5 release that comes out in September would have the latest Eclipse 3.8 service release.  However on the Eclipse side they seem to have the updates for 3.8 and 4.2 on the same update site so this leads to 3.8 based products like CCS seeing newer incompatible updates.

    In CCSv6 we switch over to Eclipse 4.3 so that will get rid of the problem.  We hadn't switched earlier due to performance issues with Eclipse 4.x which have since been resolved in Eclipse 4.3.

    Regards,

    John

  • Brilliant, cheers John.

    I have to take this opportunity to congratulate the CCS team as it has come on in leaps and bounds in the last year or two (especially since the switch to stock Eclipse)! It makes our workflows better and our jobs easier - much appreciated :)

  • Thanks Toby, the team will be happy to hear that.  It was a major effort to switch to stock Eclipse from our own branch but has been worth it.

    John

  • I was having the exact same problem so I uninstalled Egit and Egit Support as recommended above.

    I then got  a message that CCS must restart. On restart I got an error message  “An error has occurred, See the log file”.

    I am now dead in the water, CCS will not run.

     The log file shows :

     

    !SESSION 2014-06-26 13:43:45.697 -----------------------------------------------

    eclipse.buildId=

    java.version=1.6.0_13

    java.vendor=Sun Microsystems Inc.

    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

    Framework arguments:  -product com.ti.ccstudio.branding.product

    Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.ti.ccstudio.branding.product

     

    !ENTRY org.eclipse.osgi 4 0 2014-06-26 13:43:47.212

    !MESSAGE Application error

    !STACK 1

    java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)

                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)

                at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

     

     

  • Hi Dan,

    I never actually tried this as the next update to CCS (5.5?) had sufficient updates to the EGit plugin to fix the issues I was seeing. What CCS version are you using? CCS 6 uses 3.0.3. I believe this may be advanced from previous CCS versions but the Eclipse website says the latest EGit version is 3.4.1, though attempting to run the update within CCS tells me there are no updates. I guess this means this is the latest supported version for use with the version of eclipse used by CCS 6.

    It seems to be working OK for me so far (only had v6 installed for a week or so). I havet come across any other bugs in the older versions of EGit I had been using ill recently either. Was there a particular issue you were trying to overcome by updating?

    Anyway, to solve the issue you are seeing now my first recourse (though I'm no expert on CCS or eclipse) would be to just uninstall CCS and reinstall... If eclipse wont uninstall you can just delete the install folder (usually C:/ti/ccsvN (where N is the version number) and then run the install for the new install over the top.

    Hope that helps some :)

  • Thanks for the reply Toby,

    I am running CCS v5.5 and I was getting warnings about not being able to resolve linked file resources. I found that this is a known bug in this version of EGit and it had been fixed in the newer versions.


    Then I found this thread stating how it was safe to uninstall the current version and install EGit version 3.x.

    That is how I got myself in this mess.

    Dan

  • Hi Dan,

    Yes, this is the same bug I tripped over. My solution (Im still using CCS5.5 on one machine) is as follows:

    If the linked files are of my own creation I have a separate repository for their own, root, project. If they are library files or TI distributed, e.g. such as 'CodeStartBranch.asm' I stopped tracking these in the repo and made sure my project file is using relative paths for all resource paths. I have found that not all pathes are relative out-of the-box if working from one for the example projects and that, pre-v.6, there are a couple of places that the paths need to be checked in the project settings. Some from the top of my head are

    Properties > Resource > Linked Resources > Linked Resources tab,

    Properties > CCS Build > C2000 Compiler > Include Options,

    Properties > CCS Build > C2000 Linker > File Search Path and

    Properties > C/C++ Build > Build Variables,

    though there may be more places also!

    Hope that helps you out some.