Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Activator not called if plugin created by JAR(Activator not called if plugin created by JAR)
Activator not called if plugin created by JAR [message #1273072] Wed, 19 March 2014 12:57 Go to next message
Sumit Singh is currently offline Sumit SinghFriend
Messages: 141
Registered: October 2012
Location: Bangalore
Senior Member

I created eclipse plugin from jar Like EclipseJarToPlugin
Then in MANIFEST.MF I'm adding `Activator` for this plugin.

But the problem is this Activator never called. Even while creating plug-in there is no option for Activator.

Is there is any way so that we can know when first time any Exported class of this plugin(of jar) is called.?
Re: Activator not called if plugin created by JAR [message #1277672 is a reply to message #1273072] Wed, 26 March 2014 09:51 Go to previous messageGo to next message
Eclipse UserFriend
Is your plugin in your running configuration?
Re: Activator not called if plugin created by JAR [message #1281807 is a reply to message #1277672] Tue, 01 April 2014 11:37 Go to previous message
Sumit Singh is currently offline Sumit SinghFriend
Messages: 141
Registered: October 2012
Location: Bangalore
Senior Member

The problem was:

The activator org.example.FooActivator for bundle org.example.foo is invalid
And I found that is because of:

There has been a ClassNotFoundException trying to load the class in the first place, before it's even got to the start() method.

So for solve this problem:

You have to add "." in to your class path see following image.

http://i.stack.imgur.com/UeXU0.png

Add scr as source in your build and . in your bin.includes. See the image below:

http://i.stack.imgur.com/RDKHu.png
Previous Topic:StackRenderer - Question/Issue
Next Topic:PartSashContainer as child of PartStack
Goto Forum:
  


Current Time: Tue Mar 19 07:51:05 GMT 2024

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

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

Back to the top