Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Plugin fails to load, red mark on Plugin Registry
Plugin fails to load, red mark on Plugin Registry [message #10817] Mon, 07 July 2008 18:42 Go to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
I am trying to load my new plugin into an eclipse 3.3.2. Its
contributions to the UI do not show up. The plugin is in the Plugin
Registry view with a red X. Nothing in the error log. Using PDE I can
run the plugin in 3.4.

Anyone have a procedure for debugging this?

Thanks,
John.
Re: Plugin fails to load, red mark on Plugin Registry [message #11235 is a reply to message #10817] Mon, 07 July 2008 20:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

John J Barton wrote:
> Anyone have a procedure for debugging this?

Start Eclipse with -console, and type 'ss'

That should give you a list of bundles.

Find the bundle of interest... type 'start <id>'

Or type 'diag <id>' to see what Equinox says about the issues.

My guess there's a packaging issue on your end.

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11269 is a reply to message #11235] Mon, 07 July 2008 21:13 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> John J Barton wrote:
>> Anyone have a procedure for debugging this?
>
> Start Eclipse with -console, and type 'ss'

As in
eclipse -console
? eclipse comes up but I don't see where to type 'ss"?
Re: Plugin fails to load, red mark on Plugin Registry [message #11304 is a reply to message #11269] Mon, 07 July 2008 22:10 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
John J Barton wrote:
> Chris Aniszczyk wrote:
>> John J Barton wrote:
>>> Anyone have a procedure for debugging this?
>>
>> Start Eclipse with -console, and type 'ss'
>
> As in
> eclipse -console
> ? eclipse comes up but I don't see where to type 'ss"?


Using
java -r plugins/org.eclipse.osgi_3.4.0.v20080529-1200.jar -console
I got the OSGI console,
but ss
only says the osgi bundle is active ;-(
Re: Plugin fails to load, red mark on Plugin Registry [message #11341 is a reply to message #11304] Mon, 07 July 2008 23:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

What's your bundle? Why are you diagnosing the osgi bundle
(org.eclipse.osgi) ?

So your bundle is already started? and active?

so 'diag johns.bundle' returns an OK status?

We should be able to diagnose this sucker, just need to figure out how
to get you in a state where you can do this ;)

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11377 is a reply to message #11341] Mon, 07 July 2008 23:41 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> What's your bundle? Why are you diagnosing the osgi bundle
> (org.eclipse.osgi) ?
>
> So your bundle is already started? and active?
>
> so 'diag johns.bundle' returns an OK status?
>
> We should be able to diagnose this sucker, just need to figure out how
> to get you in a state where you can do this ;)
>
> Cheers,
>
> ~ Chris

Yes, I can see this is the right track, but where is the trailhead...

I think the problem is that I am not getting my eclipse bundles loaded
in to osgi runtime which I just use java -jar ...

And
eclipse -console
does nothing.

So I need ot start the osgi console but with the eclipse plugins bundles.

I need to do this for 3.4 and for Europa, and I think the solutions are
different.


Thanks for your help.
John
Re: Plugin fails to load, red mark on Plugin Registry [message #11414 is a reply to message #11377] Mon, 07 July 2008 23:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

John J Barton wrote:
> I need to do this for 3.4 and for Europa, and I think the solutions are
> different.

That sounds like a bug if you're not getting a console... which OS?

If your bundle is listed as active... that means its started and
functioning according to the OSGi environment... you can even put test
print statements in the bundle start/stop to verify that this is the case.

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11451 is a reply to message #11414] Tue, 08 July 2008 00:11 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> John J Barton wrote:
>> I need to do this for 3.4 and for Europa, and I think the solutions
>> are different.
>
> That sounds like a bug if you're not getting a console... which OS?

Windows. So you mean for Europa, eclipse.exe -console should work?

>
> If your bundle is listed as active... that means its started and
> functioning according to the OSGi environment... you can even put test
> print statements in the bundle start/stop to verify that this is the case.

No its not active, it never starts.

>
> Cheers,
>
> ~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11487 is a reply to message #11451] Tue, 08 July 2008 00:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

> Windows. So you mean for Europa, eclipse.exe -console should work?

what about eclipsec.exe ;)? or if you open a command line... eclipse.exe
-console should work...

> No its not active, it never starts.

what happens when you try to start it from the OSGi console?

I have an article out there on the OSGi console if you're interested...

http://www.ibm.com/developerworks/library/os-ecl-osgiconsole /index.html

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11524 is a reply to message #11487] Tue, 08 July 2008 00:20 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
>> Windows. So you mean for Europa, eclipse.exe -console should work?
>
> what about eclipsec.exe ;)? or if you open a command line... eclipse.exe
> -console should work...

Both eclipsec.exe and eclipse.exe -console do the same: bring up eclipse.

>
>> No its not active, it never starts.
>
> what happens when you try to start it from the OSGi console?

Can't. The only OSGi console I can get has no eclipse plugins, that is
"ss" says only one line, the console jar itself.

>
> I have an article out there on the OSGi console if you're interested...
>
> http://www.ibm.com/developerworks/library/os-ecl-osgiconsole /index.html

Yes, that article is what makes me think this is worth figuring out.
Esp. the quake console ;-)


> Cheers,
>
> ~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11599 is a reply to message #11524] Tue, 08 July 2008 12:42 Go to previous messageGo to next message
Peter Manahan is currently offline Peter ManahanFriend
Messages: 131
Registered: July 2009
Senior Member
Check the eclipse.ini file. Imagine the path to the vm is
<java_home>\bin\javaw.exe. Change it to java.exe instead then try the
-console again.

--Peter

John J Barton wrote:
> Chris Aniszczyk wrote:
>>> Windows. So you mean for Europa, eclipse.exe -console should work?
>>
>> what about eclipsec.exe ;)? or if you open a command line...
>> eclipse.exe -console should work...
>
> Both eclipsec.exe and eclipse.exe -console do the same: bring up eclipse.
>
>>
>>> No its not active, it never starts.
>>
>> what happens when you try to start it from the OSGi console?
>
> Can't. The only OSGi console I can get has no eclipse plugins, that is
> "ss" says only one line, the console jar itself.
>
>>
>> I have an article out there on the OSGi console if you're interested...
>>
>> http://www.ibm.com/developerworks/library/os-ecl-osgiconsole /index.html
>
> Yes, that article is what makes me think this is worth figuring out.
> Esp. the quake console ;-)
>
>
>> Cheers,
>>
>> ~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11668 is a reply to message #11599] Tue, 08 July 2008 18:46 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Peter Manahan wrote:
> Check the eclipse.ini file. Imagine the path to the vm is
> <java_home>\bin\javaw.exe. Change it to java.exe instead then try the
> -console again.
>
> --Peter

Thanks Peter, but there is nothing in eclise.ini about vm:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Re: Plugin fails to load, red mark on Plugin Registry [message #11704 is a reply to message #11668] Tue, 08 July 2008 19:07 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
John J Barton wrote:
> Peter Manahan wrote:
>> Check the eclipse.ini file. Imagine the path to the vm is
>> <java_home>\bin\javaw.exe. Change it to java.exe instead then try the
>> -console again.
>>
>> --Peter
>
Ok I woke up and ran eclipse with -vm <my path>/java.exe -console
Success, I got an OSGi console.

osgi> diag 491
....myplugin....jar [491]
Missing required bundle org.eclipse.wst.server.core_1.1.0.

So thanks I've found the problem. But I am really surprised that this is
the way users find out that they don't have the right pre-reqs for a plugin.

John.
Re: Plugin fails to load, red mark on Plugin Registry [message #11741 is a reply to message #11704] Tue, 08 July 2008 19:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

John J Barton wrote:
> So thanks I've found the problem. But I am really surprised that this is
> the way users find out that they don't have the right pre-reqs for a
> plugin.

How did you install the plug-ins? Basically any normal way you installed
plug-ins shouldn't of let you install your plug-in w/o the proper pre-reqs.

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11776 is a reply to message #11741] Tue, 08 July 2008 21:12 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> John J Barton wrote:
>> So thanks I've found the problem. But I am really surprised that this
>> is the way users find out that they don't have the right pre-reqs for
>> a plugin.
>
> How did you install the plug-ins? Basically any normal way you installed
> plug-ins shouldn't of let you install your plug-in w/o the proper pre-reqs.
>

I am trying to install via an update site. So on the PDE I do these steps:
1) increment the version of the plugin
2) increment the version of the feature
3) add the new feature to the update site
4) install on the test eclipse. (not update that never works).
But then the plugin does not work and I get a red mark on the Plug Registry.

Is that the normal way?

John.
Re: Plugin fails to load, red mark on Plugin Registry [message #11812 is a reply to message #11741] Tue, 08 July 2008 22:10 Go to previous messageGo to next message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> John J Barton wrote:
>> So thanks I've found the problem. But I am really surprised that this
>> is the way users find out that they don't have the right pre-reqs for
>> a plugin.
>
> How did you install the plug-ins? Basically any normal way you installed
> plug-ins shouldn't of let you install your plug-in w/o the proper pre-reqs.
>
> Cheers,
>
> ~ Chris


Ok I opened a fresh copy of eclipse-jee-europa-winter-win32. Then I used
my update site to install my plugin. Everything when smoothly. But in
the end the plugin does not work and the osgi console says the same
thing, missing required bundle org.eclipse.server.core_1.1.0

John.
Re: Plugin fails to load, red mark on Plugin Registry [message #11848 is a reply to message #11812] Tue, 08 July 2008 22:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.code9.com

> Ok I opened a fresh copy of eclipse-jee-europa-winter-win32. Then I used
> my update site to install my plugin. Everything when smoothly. But in
> the end the plugin does not work and the osgi console says the same
> thing, missing required bundle org.eclipse.server.core_1.1.0

The only way I can see this happening is if someone defined a feature
improperly so when you went to download things, Update Manager thought
everything was OK but it really wasn't...

With Ganymede, you shouldn't run into these issues as p2 is much smarter
and actually uses dependency data from bundles themselves as part of the
p2 metadata.

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #11882 is a reply to message #11848] Tue, 08 July 2008 22:45 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
>> Ok I opened a fresh copy of eclipse-jee-europa-winter-win32. Then I
>> used my update site to install my plugin. Everything when smoothly.
>> But in the end the plugin does not work and the osgi console says the
>> same thing, missing required bundle org.eclipse.server.core_1.1.0
>
> The only way I can see this happening is if someone defined a feature
> improperly so when you went to download things, Update Manager thought
> everything was OK but it really wasn't...

hmmm...that 'someone' would be me I guess. I'd say "defined a feature"
was a very fancy name for what I did: I just pushed buttons on the PDE
based on some web site. So....

How can I diagnose the feature?

>
> With Ganymede, you shouldn't run into these issues as p2 is much smarter
> and actually uses dependency data from bundles themselves as part of the
> p2 metadata.

Too bad my users aren't on ganymede...

>
> Cheers,
>
> ~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572085 is a reply to message #10817] Mon, 07 July 2008 20:48 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
John J Barton wrote:
> Anyone have a procedure for debugging this?

Start Eclipse with -console, and type 'ss'

That should give you a list of bundles.

Find the bundle of interest... type 'start <id>'

Or type 'diag <id>' to see what Equinox says about the issues.

My guess there's a packaging issue on your end.

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572112 is a reply to message #11235] Mon, 07 July 2008 21:13 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> John J Barton wrote:
>> Anyone have a procedure for debugging this?
>
> Start Eclipse with -console, and type 'ss'

As in
eclipse -console
? eclipse comes up but I don't see where to type 'ss"?
Re: Plugin fails to load, red mark on Plugin Registry [message #572137 is a reply to message #11269] Mon, 07 July 2008 22:10 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
John J Barton wrote:
> Chris Aniszczyk wrote:
>> John J Barton wrote:
>>> Anyone have a procedure for debugging this?
>>
>> Start Eclipse with -console, and type 'ss'
>
> As in
> eclipse -console
> ? eclipse comes up but I don't see where to type 'ss"?


Using
java -r plugins/org.eclipse.osgi_3.4.0.v20080529-1200.jar -console
I got the OSGI console,
but ss
only says the osgi bundle is active ;-(
Re: Plugin fails to load, red mark on Plugin Registry [message #572176 is a reply to message #11304] Mon, 07 July 2008 23:06 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
What's your bundle? Why are you diagnosing the osgi bundle
(org.eclipse.osgi) ?

So your bundle is already started? and active?

so 'diag johns.bundle' returns an OK status?

We should be able to diagnose this sucker, just need to figure out how
to get you in a state where you can do this ;)

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572203 is a reply to message #11341] Mon, 07 July 2008 23:41 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> What's your bundle? Why are you diagnosing the osgi bundle
> (org.eclipse.osgi) ?
>
> So your bundle is already started? and active?
>
> so 'diag johns.bundle' returns an OK status?
>
> We should be able to diagnose this sucker, just need to figure out how
> to get you in a state where you can do this ;)
>
> Cheers,
>
> ~ Chris

Yes, I can see this is the right track, but where is the trailhead...

I think the problem is that I am not getting my eclipse bundles loaded
in to osgi runtime which I just use java -jar ...

And
eclipse -console
does nothing.

So I need ot start the osgi console but with the eclipse plugins bundles.

I need to do this for 3.4 and for Europa, and I think the solutions are
different.


Thanks for your help.
John
Re: Plugin fails to load, red mark on Plugin Registry [message #572238 is a reply to message #11377] Mon, 07 July 2008 23:43 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
John J Barton wrote:
> I need to do this for 3.4 and for Europa, and I think the solutions are
> different.

That sounds like a bug if you're not getting a console... which OS?

If your bundle is listed as active... that means its started and
functioning according to the OSGi environment... you can even put test
print statements in the bundle start/stop to verify that this is the case.

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572270 is a reply to message #11414] Tue, 08 July 2008 00:11 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> John J Barton wrote:
>> I need to do this for 3.4 and for Europa, and I think the solutions
>> are different.
>
> That sounds like a bug if you're not getting a console... which OS?

Windows. So you mean for Europa, eclipse.exe -console should work?

>
> If your bundle is listed as active... that means its started and
> functioning according to the OSGi environment... you can even put test
> print statements in the bundle start/stop to verify that this is the case.

No its not active, it never starts.

>
> Cheers,
>
> ~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572333 is a reply to message #11451] Tue, 08 July 2008 00:07 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
> Windows. So you mean for Europa, eclipse.exe -console should work?

what about eclipsec.exe ;)? or if you open a command line... eclipse.exe
-console should work...

> No its not active, it never starts.

what happens when you try to start it from the OSGi console?

I have an article out there on the OSGi console if you're interested...

http://www.ibm.com/developerworks/library/os-ecl-osgiconsole /index.html

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572350 is a reply to message #11487] Tue, 08 July 2008 00:20 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
>> Windows. So you mean for Europa, eclipse.exe -console should work?
>
> what about eclipsec.exe ;)? or if you open a command line... eclipse.exe
> -console should work...

Both eclipsec.exe and eclipse.exe -console do the same: bring up eclipse.

>
>> No its not active, it never starts.
>
> what happens when you try to start it from the OSGi console?

Can't. The only OSGi console I can get has no eclipse plugins, that is
"ss" says only one line, the console jar itself.

>
> I have an article out there on the OSGi console if you're interested...
>
> http://www.ibm.com/developerworks/library/os-ecl-osgiconsole /index.html

Yes, that article is what makes me think this is worth figuring out.
Esp. the quake console ;-)


> Cheers,
>
> ~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572440 is a reply to message #11524] Tue, 08 July 2008 12:42 Go to previous message
Peter Manahan is currently offline Peter ManahanFriend
Messages: 131
Registered: July 2009
Senior Member
Check the eclipse.ini file. Imagine the path to the vm is
<java_home>\bin\javaw.exe. Change it to java.exe instead then try the
-console again.

--Peter

John J Barton wrote:
> Chris Aniszczyk wrote:
>>> Windows. So you mean for Europa, eclipse.exe -console should work?
>>
>> what about eclipsec.exe ;)? or if you open a command line...
>> eclipse.exe -console should work...
>
> Both eclipsec.exe and eclipse.exe -console do the same: bring up eclipse.
>
>>
>>> No its not active, it never starts.
>>
>> what happens when you try to start it from the OSGi console?
>
> Can't. The only OSGi console I can get has no eclipse plugins, that is
> "ss" says only one line, the console jar itself.
>
>>
>> I have an article out there on the OSGi console if you're interested...
>>
>> http://www.ibm.com/developerworks/library/os-ecl-osgiconsole /index.html
>
> Yes, that article is what makes me think this is worth figuring out.
> Esp. the quake console ;-)
>
>
>> Cheers,
>>
>> ~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572508 is a reply to message #11599] Tue, 08 July 2008 18:46 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Peter Manahan wrote:
> Check the eclipse.ini file. Imagine the path to the vm is
> <java_home>\bin\javaw.exe. Change it to java.exe instead then try the
> -console again.
>
> --Peter

Thanks Peter, but there is nothing in eclise.ini about vm:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Re: Plugin fails to load, red mark on Plugin Registry [message #572523 is a reply to message #11668] Tue, 08 July 2008 19:07 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
John J Barton wrote:
> Peter Manahan wrote:
>> Check the eclipse.ini file. Imagine the path to the vm is
>> <java_home>\bin\javaw.exe. Change it to java.exe instead then try the
>> -console again.
>>
>> --Peter
>
Ok I woke up and ran eclipse with -vm <my path>/java.exe -console
Success, I got an OSGi console.

osgi> diag 491
....myplugin....jar [491]
Missing required bundle org.eclipse.wst.server.core_1.1.0.

So thanks I've found the problem. But I am really surprised that this is
the way users find out that they don't have the right pre-reqs for a plugin.

John.
Re: Plugin fails to load, red mark on Plugin Registry [message #572589 is a reply to message #11704] Tue, 08 July 2008 19:11 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
John J Barton wrote:
> So thanks I've found the problem. But I am really surprised that this is
> the way users find out that they don't have the right pre-reqs for a
> plugin.

How did you install the plug-ins? Basically any normal way you installed
plug-ins shouldn't of let you install your plug-in w/o the proper pre-reqs.

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572605 is a reply to message #11741] Tue, 08 July 2008 21:12 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> John J Barton wrote:
>> So thanks I've found the problem. But I am really surprised that this
>> is the way users find out that they don't have the right pre-reqs for
>> a plugin.
>
> How did you install the plug-ins? Basically any normal way you installed
> plug-ins shouldn't of let you install your plug-in w/o the proper pre-reqs.
>

I am trying to install via an update site. So on the PDE I do these steps:
1) increment the version of the plugin
2) increment the version of the feature
3) add the new feature to the update site
4) install on the test eclipse. (not update that never works).
But then the plugin does not work and I get a red mark on the Plug Registry.

Is that the normal way?

John.
Re: Plugin fails to load, red mark on Plugin Registry [message #572630 is a reply to message #11741] Tue, 08 July 2008 22:10 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
> John J Barton wrote:
>> So thanks I've found the problem. But I am really surprised that this
>> is the way users find out that they don't have the right pre-reqs for
>> a plugin.
>
> How did you install the plug-ins? Basically any normal way you installed
> plug-ins shouldn't of let you install your plug-in w/o the proper pre-reqs.
>
> Cheers,
>
> ~ Chris


Ok I opened a fresh copy of eclipse-jee-europa-winter-win32. Then I used
my update site to install my plugin. Everything when smoothly. But in
the end the plugin does not work and the osgi console says the same
thing, missing required bundle org.eclipse.server.core_1.1.0

John.
Re: Plugin fails to load, red mark on Plugin Registry [message #572665 is a reply to message #11812] Tue, 08 July 2008 22:11 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
> Ok I opened a fresh copy of eclipse-jee-europa-winter-win32. Then I used
> my update site to install my plugin. Everything when smoothly. But in
> the end the plugin does not work and the osgi console says the same
> thing, missing required bundle org.eclipse.server.core_1.1.0

The only way I can see this happening is if someone defined a feature
improperly so when you went to download things, Update Manager thought
everything was OK but it really wasn't...

With Ganymede, you shouldn't run into these issues as p2 is much smarter
and actually uses dependency data from bundles themselves as part of the
p2 metadata.

Cheers,

~ Chris
Re: Plugin fails to load, red mark on Plugin Registry [message #572679 is a reply to message #11848] Tue, 08 July 2008 22:45 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Chris Aniszczyk wrote:
>> Ok I opened a fresh copy of eclipse-jee-europa-winter-win32. Then I
>> used my update site to install my plugin. Everything when smoothly.
>> But in the end the plugin does not work and the osgi console says the
>> same thing, missing required bundle org.eclipse.server.core_1.1.0
>
> The only way I can see this happening is if someone defined a feature
> improperly so when you went to download things, Update Manager thought
> everything was OK but it really wasn't...

hmmm...that 'someone' would be me I guess. I'd say "defined a feature"
was a very fancy name for what I did: I just pushed buttons on the PDE
based on some web site. So....

How can I diagnose the feature?

>
> With Ganymede, you shouldn't run into these issues as p2 is much smarter
> and actually uses dependency data from bundles themselves as part of the
> p2 metadata.

Too bad my users aren't on ganymede...

>
> Cheers,
>
> ~ Chris
Previous Topic:Problem to create update site for Ganymed
Next Topic:How do I write to the console from a plug-in?
Goto Forum:
  


Current Time: Wed Feb 05 21:44:25 GMT 2025

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

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

Back to the top