Optional plugin dependency?
I wonder if there's some way to specify that if some plugin X is loaded,
I'd like access to its classes, but it's okay if the plugin isn't
there. Is there some way to do this? IDEA dies hard if a plugin.xml
listed dependency isn't there.
Please sign in to leave a comment.
Keith Lea wrote:
I'm 99% sure it isn't possible. I've been thinking about this and would probably
use ComponentManager.getComponent(String name) and dynamic proxies to build an
implementation for the component's interface(s) I need. But I haven't tried yet.
Sascha