I have a problem with plugin dependencies. I allready found a similar thread http://devnet.jetbrains.com/message/5306354 but this didn't really helped me. And I read the https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+Plugin+Structure article but I am still confused.
What I try to do (short version):
Writting a plugin A that provides some SWT libaries for different plattforms in order to use this libs in another plugin B. This might be a stupid question but: Is this possible what I am trying to do or not? And if yes - how can I do it?
What I try to accomplish:
We have a Plugin for Eclpise that use SWT libs to work. We would like to transport this Plugin to IntelliJ aswell.
IntelliJ doesn't provide such SWT libs natively (as far as I know). Due to licens problems, we also can't add the needed SWT libs directly to our Plugin. So the solution was, to write one Plugin that gives support for SWT and let our Plugin use this. I know that you can set dependencies with the <depends> tag in the Plugin.xml. I write a Plugin A that depends on the SWT jar and set the scope to compiled. Then I wrote a Plugin B and set the <depends> Tag to the first Pluging. This works (meaning that IDEA notice that B need A to be loaded) but I cann't use any SWT funktionaltity in Plugin B.
Any solutions? Thank you :)