Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » My plugin is not loaded
My plugin is not loaded [message #870839] Wed, 09 May 2012 20:31 Go to next message
Fred Granger is currently offline Fred Granger
Messages: 5
Registered: May 2012
Junior Member
Hello everybody !

I created a (very) little plugin for my Mat 1.2, following the tutorial :
h_t_t_p_:_/_/wiki.eclipse.org/MemoryAnalyzer/Extending_Memory_Analyzer#Setting_up_a_development_environment_for_writing_extensions

It works fine when I start Mat from my Eclise project throught Plug-in, Run As->Eclipse Application

But once I have packaged my plugin and tried to deploy it :
File->Export->Plug-in Development->Deployable plug-ins and fragments
->next
select plug-in
Destination: Directory: path_to_MAT/mat
->Finish

then my plugin is not loaded.
I find it (MAT_wM_Extension_1.0.0.201205092200.jar) in path_to_MAT/mat/plugins, but it is not it the list in help->About Eclipse Memory Analyzer->Installation details->plug-ins
(when mat is started with my Eclipe project, then it is in the list)

My plugin is wery simple, and only contains a nameResolver and a void query.

I joined it.

I have been stuck for two days, and do not understand was is happening.

Then I will be glad for any answer/help.
Thanks !
Re: My plugin is not loaded [message #871499 is a reply to message #870839] Mon, 14 May 2012 09:04 Go to previous messageGo to next message
Fred Granger is currently offline Fred Granger
Messages: 5
Registered: May 2012
Junior Member
Nobody has any idea ?

please, HELP !!
Re: My plugin is not loaded [message #871500 is a reply to message #870839] Mon, 14 May 2012 09:13 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew Johnson
Messages: 119
Registered: July 2009
Senior Member
Either create an update site and install that, or create a dropins directory under mat/ and put your plug-in there, then see https://bugs.eclipse.org/bugs/show_bug.cgi?id=320082#c19 for how to use the dropins folder.
Re: My plugin is not loaded [message #873549 is a reply to message #870839] Fri, 18 May 2012 14:04 Go to previous messageGo to next message
Fred Granger is currently offline Fred Granger
Messages: 5
Registered: May 2012
Junior Member
Dear Andrew,
thank you so much for your answer !

Unfortunately, I have not been able to understand what to do, even with the help of the link you provided. Sad

I am not even sure that my jar file has a correct structure.


I spent too much time on this, I quit.

It is very disappointing that with all the great work that has been done on this kind of tools, there is no complete howto or wiki giving correct instructions that actualy work, and that could be usable by any ordinary java developper and not only Eclipse hackers.


Thanks a lot for your time and answer Andrew.
Re: My plugin is not loaded [message #874838 is a reply to message #873549] Mon, 21 May 2012 16:19 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew Johnson
Messages: 119
Registered: July 2009
Senior Member
I've updated the wiki http://wiki.eclipse.org/MemoryAnalyzer/Contributor_Reference#Writing_plugins_for_the_Memory_Analyzer. Your plug-in does load via the dropins directory once the p2 reconciler is started.

Please give it another go.

Re: My plugin is not loaded [message #875397 is a reply to message #870839] Tue, 22 May 2012 17:07 Go to previous messageGo to next message
Fred Granger is currently offline Fred Granger
Messages: 5
Registered: May 2012
Junior Member
With such an answer I must continue ! Wink

I will try at the end of the week.

Once again, thank you !
Re: My plugin is not loaded [message #877538 is a reply to message #875397] Sun, 27 May 2012 00:40 Go to previous message
Fred Granger is currently offline Fred Granger
Messages: 5
Registered: May 2012
Junior Member
I followed this tutorial :
h_t_t_p_://wiki.eclipse.org/FAQ_How_do_I_create_an_update_site_%28site.xml%29%3F

and it worked !! My plugin is correctly loaded ! Smile

now come the real challenge : complete this plugin !

Thanks a lots for your help Andrew !
Previous Topic:Parse large Heapdump
Next Topic:java.lang.NoClassDefFoundError: org/eclipse/mat/ui/snapshot/editor/ISnapshotEditorInput
Goto Forum:
  


Current Time: Mon Sep 22 00:08:59 GMT 2014

Powered by FUDForum. Page generated in 0.02531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software