Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Export e(fx)clipse Tutorial 2 plug-in(...and import in e(fx)clipse again)
icon5.gif  Export e(fx)clipse Tutorial 2 plug-in [message #1422025] Fri, 12 September 2014 07:59 Go to next message
Johann Richter is currently offline Johann RichterFriend
Messages: 3
Registered: September 2014
Junior Member
Hi e(fx)clipse developers,

I'm new to e(fx)clipse and also to Eclipse Plugin Development. I started plugin development for eclipse with the tutorial of Lars Vogel (Extending the Eclipse IDE - Plug-in development - Tutorial). I've sucessfully exported the Hello World command plugin and imported it in e(fx)clipse using the "dropins"-directory way. Everything works well so far.

Now I've tried the same with the plugin from the e(fx)clipse Tutorial 2 https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial2. But unfortunately, the exported plugin is not installed in e(fx)clipse after putting it into the "dropins"-directory.

Do you have an idea, how I can export the JavaFX plugin and install it in e(fx)clipse again?

Thanks for your help!

Johann

[Updated on: Fri, 12 September 2014 13:08]

Report message to a moderator

Re: Export e(fx)clipse Tutorial 2 plug-in [message #1422208 is a reply to message #1422025] Fri, 12 September 2014 13:43 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
A very wild guess is that the bundle does not resolve because the
org.eclipse.fx.ui.workbench3 is not inside the IDE runtime!

You can check that by opening the "console view" and select in the views
toolbar on the right in the drop down "Host OSGi Console" which will
give you a command prompt like: osgi>

There you can enter:

ss MyFXViewPart

(i assume that you named the bundle MyFXViewPart else use the name you used)

This will give you something like this:

752 INSTALLED MyFXViewPart

if you now want to know why the bundle did not moved from INSTALLED into
RESOLVED you can do:

diag 752

(please use the bundle id given to you by ss command above!)

Tom

On 12.09.14 14:51, Johann Richter wrote:
> Hi e(fx)clipse developers,
>
> I'm new to e(fx)clipse and also to Eclipse Plugin Development. I started
> plugin development for eclipse with the tutorial of Lars Vogel
> (Extending the Eclipse IDE - Plug-in development - Tutorial). I've
> sucessfully exported the Hello World command plugin and imported it in
> e(fx)clipse using the "dropins"-directory way. Everything works well so
> far.
> Now I've tried the same with the plugin from the e(fx)clipse Tutorial 2
> https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial2. But
> unfortunately, the exported plugin is not installed in e(fx)clipse after
> putting it into the "dropins"-directory.
>
> Do you have an idea, how in can export the JavaFX plugin and install it
> in e(fx)clipse again?
>
> Thanks for your help!
>
> Johann
>
Re: Export e(fx)clipse Tutorial 2 plug-in [message #1424792 is a reply to message #1422208] Tue, 16 September 2014 12:29 Go to previous messageGo to next message
Johann Richter is currently offline Johann RichterFriend
Messages: 3
Registered: September 2014
Junior Member
Hi Tom,

thanks for your reply. When I listed all plugins using the osgi "ss"-command in Eclipse, my plug-in wasn't there. So I tried to install it using the osgi console, and indeed I got the error: Unresolved requirement: Require-Bundle: org.eclipse.fx.ui.workbench3.

In the tutorial the VM launch command -Dosgi.framework.extensions=org.eclipse.fx.osgi
was probably responsible for loading that bundle. But when I start my Eclipse VM with this parameter, the bundle is not installed.

How can install the required bundles in my e(fx)clipse else?

Thank you

Johann
Re: Export e(fx)clipse Tutorial 2 plug-in [message #1424798 is a reply to message #1424792] Tue, 16 September 2014 12:37 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
No it is not - the worbench3 bundle is part of the target platform so it
is found when launching an inner eclipse!

Tom

On 16.09.14 14:29, Johann Richter wrote:
> Hi Tom,
> thanks for your reply. When I listed all plugins using the osgi
> "ss"-command in Eclipse, my plug-in wasn't there. So I tried to install
> it using the osgi console, and indeed I got the error: Unresolved
> requirement: Require-Bundle: org.eclipse.fx.ui.workbench3.
>
> In the tutorial the VM launch command
> -Dosgi.framework.extensions=org.eclipse.fx.osgi
> was probably responsible for loading that bundle. But when I start my
> Eclipse VM with this parameter, the bundle is not installed.
>
> How can install the required bundles in my e(fx)clipse else?
>
> Thank you
>
> Johann
>
Re: Export e(fx)clipse Tutorial 2 plug-in [message #1424845 is a reply to message #1424798] Tue, 16 September 2014 13:53 Go to previous messageGo to next message
Johann Richter is currently offline Johann RichterFriend
Messages: 3
Registered: September 2014
Junior Member
With inner eclipse you mean when I use "Run As -> Eclipse Application". Well, in the fresh opened Eclipse the plug-in works fine. But how can I use the plug-in in my existing e(fx)clipse development evironment or how can I make the plug-in available for other e(fx)clipse insallations?

Johann
Re: Export e(fx)clipse Tutorial 2 plug-in [message #1424854 is a reply to message #1424845] Tue, 16 September 2014 14:09 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Learn how to create features, a headless (tycho) build and produce an
update-site.

Tom

On 16.09.14 15:53, Johann Richter wrote:
> With inner eclipse you mean when I use "Run As -> Eclipse Application".
> Well, in the fresh opened Eclipse the plug-in works fine. But how can I
> use the plug-in in my existing e(fx)clipse development evironment or how
> can I make the plug-in available for other e(fx)clipse insallations?
>
> Johann
Previous Topic:Part Toolbar and Part Menu
Next Topic:e(fx)clipse not installing on Kepler for some reason.
Goto Forum:
  


Current Time: Thu Mar 28 22:40:29 GMT 2024

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

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

Back to the top