Building OSGi-JavaFX program into jars [message #1127968] |
Mon, 07 October 2013 03:34  |
Eclipse User |
|
|
|
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 07:35  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.02874 seconds