Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Error when activating Bundle
Error when activating Bundle [message #286046] Wed, 01 June 2005 05:39
Eclipse UserFriend
Hello,

I keep getting :
------------------------------------------------------------ -------------
!MESSAGE An error occured while automatically activating bundle
com.nds.france.eclipse.mediahighway (140).
!STACK 0
org.osgi.framework.BundleException: The activator
com.nds.france.eclipse.mediahighway.MhdkBasePluginForEclipse for bundle
com.nds.france.eclipse.mediahighway is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:151)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:321)
:
------------------------------------------------------------ -------------

I have made a plugin and try to build an archive (.jar) containing it like
this
com.nds.france.eclipse.mediahighway_1.0.0.jar
|____plugin.xml
|____com/nds/MyClass.class
:
:
:

here a short part of the plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="com.nds.france.eclipse.mediahighway"
name="MHDK base plugin for Eclipse"
version="1.0.0"
provider-name="NDS Technologies France"
class=" com.nds.france.eclipse.mediahighway.MhdkBasePluginForEclipse ">


<requires>
<import plugin="org.eclipse.ui"/>
:
:
</requires>
<extension-point id="signaling" name="MHDK execution signaling"
schema="schema/signaling.exsd"/>
<!-- Define MHDK Project nature -->
<extension
id="nature.id"
name="%mhdkNature"
point="org.eclipse.core.resources.natures">
<runtime>
<run

class=" com.nds.france.eclipse.mediahighway.nature.MhdkProjectNature ">
</run>
</runtime>
<requires-nature id="org.eclipse.jdt.core.javanature"/>
</extension>
:
:


Is it possible to build a plugin in a jar, do I need to make it an OSGI
bunble with a dedicated manifest? why this does not work????


thanks.

SeB.
Previous Topic:Linking into Preferences from an action button.
Next Topic:How to get Bundle
Goto Forum:
  


Current Time: Thu May 08 13:36:45 EDT 2025

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

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

Back to the top