0

I wrote a plug-in in Eclipse and exported it. It works fine and is loaded when I start the Eclipse. Unfortunately when I add "org.eclipse.swtbot.eclipse.finder" to the dependecies and export it again, the plug-in I get is not loaded by Eclipse when I start it. I don't get any error during the export process. So what can be the problem and how can I solve it?

vdani
  • 27
  • 2
  • 1
    So the plugin was working fine and then you added another dependency? Why? It obviously wasn't required. You should keep dependencies to a minimum. – Fredrik Jan 21 '13 at 14:22
  • Exactly. But it is required because I'd like to use SWTBot. – vdani Jan 21 '13 at 14:39
  • Then you install SWTbot, separately. – Fredrik Jan 21 '13 at 18:30
  • My plug-in uses SWTBot classes so I think it shall be added to the dependencies. – vdani Jan 22 '13 at 08:01
  • If your code do relies on SWTBot classes then your thinking is right, you should add swtbot as a dependency. But since the plugin is working anyway, you must have solved it some other way. I'm guessing you have imported the swtbot jars to your project. – Fredrik Jan 22 '13 at 09:18
  • You've right. So I installed SWTBot but my plug-in is still not loaded. – vdani Jan 22 '13 at 10:22

2 Answers2

0

So the question then is why isn't the plugin loading; There are a couple of steps to see what happens. There are alot of answers that help with this. Look here, here and here

Community
  • 1
  • 1
Fredrik
  • 10,626
  • 6
  • 45
  • 81
0

The problem was that not the same version of some plug-ins were in the Eclipse plugins folder which I added to dependecies of my plug-in.

vdani
  • 27
  • 2