Uninstalling plugin during update [message #1802725] |
Thu, 14 February 2019 16:54 |
Alex Kravets Messages: 561 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
|
|
|
Powered by
FUDForum. Page generated in 0.02821 seconds