3

I am trying to revive an application which used this.getDescriptor().getInstallURL() and IPluginDescriptor to get the URL path.
Issue:- IPluginDescriptor is not compatible with eclipse version 4.12 and later, so I need an alternative method to get URL of the plugin.

Note: I don't have the resources to change the complete project structure.

Karan Gaur
  • 809
  • 7
  • 20
  • 1
    In the activator of the plug-in you can do `FileLocator.getBundleFile(bundleContext.getBundle()).toURI()`. Is that what you're looking for? – howlger Aug 08 '19 at 12:19

0 Answers0