Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Building OSGi-JavaFX program into jars
Building OSGi-JavaFX program into jars [message #1127968] Mon, 07 October 2013 07:34 Go to next message
Peter Boyen is currently offline Peter BoyenFriend
Messages: 1
Registered: October 2013
Junior Member
In my previous OSGi programs, I started the program from the command line using the jars of the different bundles. Though perhaps more complicated than executing an executable file, it offers the advantages of adding and removing bundles at runtime. This seems impossible with an executable file.

Can I still export my OSGi-JavaFX project to separate jars, or is this not advisable? Should this also be done with maven, or is that unnecessary?
Re: Building OSGi-JavaFX program into jars [message #1128138 is a reply to message #1127968] Mon, 07 October 2013 11:35 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5467
Registered: July 2009
Senior Member
Why should it not be possible to install bundles when launching through
the exe?

The advantage of the whole packaging is:
a) you get an installer
b) for the user the app looks not like java
c) java is packaged with it

Still even if you've built the app using our tool and generated an
installer through our maven & build.xml combination you an launch the
application on the command line.

If you look at our build process you'll notice that the generated exe is
simply loading equinox.launcher.jar which boots equinox.

Tom

On 07.10.13 13:17, Peter Boyen wrote:
> In my previous OSGi programs, I started the program from the command
> line using the jars of the different bundles. Though perhaps more
> complicated than executing an executable file, it offers the advantages
> of adding and removing bundles at runtime. This seems impossible with an
> executable file.
>
> Can I still export my OSGi-JavaFX project to separate jars, or is this
> not advisable? Should this also be done with maven, or is that unnecessary?
Previous Topic:Application.launch() hangs
Next Topic:E4 part with JavaFX
Goto Forum:
  


Current Time: Wed Nov 26 10:24:29 GMT 2014

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

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