2

I wrote an Eclipse plug-in using SWTBot to automate Eclipse through its GUI. Actually I'm running this plug-in from Eclipse with Eclipse Application run configuration to test it. That opens a new Eclipse instance. After that I can start the plug-in with a toolbarbutton using ui.actionSets extension.

I'd like to start an Eclipse from command prompt and would like this plug-in to start automatically. In my case Eclipse shall be started with GUI of course.

Do you know any working solution for this problem?

Arpit
  • 6,212
  • 8
  • 38
  • 69
vdani
  • 27
  • 2

1 Answers1

1

You can use the org.eclipse.ui.startup extension point. You need to provide a IStartup implementing class that is called when the workbench is started.

Note: this is not a complete fail safe method, as the user is able to disable this extension point in the Workbench > Startup preference page.

Veger
  • 37,240
  • 11
  • 105
  • 116