Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Uninstalling plugin during update
Uninstalling plugin during update [message #1802725] Thu, 14 February 2019 16:54
Alex Kravets is currently offline Alex KravetsFriend
Messages: 543
Registered: November 2009
Senior Member
I am running into issue where Git Tooling doesn't load in Eclipse due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=514326. The solution of removing org.slf4j.api:1.7.2 works, however I wanted to employ a more permanent solution if possible. One of the things I tried was remove slf4j from bundles.info using SimpleConfigurator API, but this happens too later, well after slf4j is already on Classpath. Would interacting or customizing ClassLoader work? If there is n viable solution, I am ok with altering bundles.info in final product.

Regardless of above mentioned issue, there is an issue with update. When user updates earlier version to the newer one, where Git support was introduced, they would run into the same issue as mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=514326. I tried adding p2.inf instruction to uninstall the bundle:

artifacts.0.classifier=osgi.bundle
artifacts.0.name=osgi.slf4j.api
artifacts.0.version=1.7.2.v20121108-1250
instructions.uninstall = uninstallBundle(bundle:${artifact})

[Updated on: Fri, 15 February 2019 17:09]

Report message to a moderator

Previous Topic:How to hide EGit dynamic menu with activities
Next Topic:Capturing OSGI startup issues in RCP
Goto Forum:
  


Current Time: Mon Feb 17 13:30:08 GMT 2020

Powered by FUDForum. Page generated in 0.03465 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top