[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Plugin Activation

"Leandro" <leandrop@xxxxxxxxxxx> wrote in message 
news:eim0hu$178$1@xxxxxxxxxxxxxxxxxxxx
 I found that just clicking on my perspective button its
> suficient, but, in fact MyPerspectiveListener events are not fired on this 
> momment (even "start called" is not printed in console). What about the 
> described strategy about ? How to force load my plugin ?


Make sure you have "Eclipse-LazyStart: true" and "Bundle-Activator: 
com.xyz.YourActivator" (replace with the correct class name, of course) in 
your MANIFEST.MF.  If that is there, then your activator's start method 
should get called when the bundle is first loaded.

If you have that there, and yet the start method is not getting called (ie 
your debug message is not getting printed) then some failure is keeping the 
plugin from being loaded.  Check the error log.