Activator is not starting after exporting the eclipse plugin -


i new eclipse plugin development , have completed development of 1st plugin.

it's running without issues, when run project "eclipse application". exported plugin , installed distribution of eclipse. it's not working expected.

inside activator.start() added few listeners , neither of them getting triggered. later found start() method not fired after export product.

to make sure, used messageconsolestream , print console. again working in development time, not in exported version.

but view of plugin displayed without problems.

what has gone wrong?

eclipse version : 4.4.2

activators not started until else in plugin used. not place add listeners.

if want start listening when eclipse starts use org.eclipse.ui.startup extension declare start class

<extension point="org.eclipse.ui.startup">   <startup class="package.startupclass"/> </extension> 

the start class implements org.eclipse.ui.istartup


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -