You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Kerry <ka...@AvionicEngineers.com> on 2017/12/12 12:19:39 UTC
Re: Felix and JavaFX
Hi Chuck,
I realise that this is a response to an old message of yours but I have a GitHub project that may be of interest to you that brings OSGi to JavaFx.
https://github.com/jtkb/osgifx
It aims to be simpler than Drombler and is agnostic to the OSGi implementation. It is still a work in progress but check the examples and integration-test modules to see how to use it. I have currently tested it with Apache karaf which obviously used Apache Felix but plan to add tests for other implementations too.
If you try it out any comments you have or improvements are welcome. Any issues also just ask. I'm in the process of improving the documentation at the moment.
Kerry
Sent from BlueMail
Re: Felix and JavaFX
Posted by Kerry <ka...@avionicengineers.com>.
Hi Chuck,
No problem, I wasn't aware of the issues you were having i.e. felix not exporting the javafx packages by default. In Karaf they are exported by default but obviously not everyone wants all the functionality provided by Karaf. You've given me the idea to include some integration tests with 'stand-alone' Felix and suitable documentation.
If you ever do get the chance to re-visit JavaFX in OSGi your comments would be much appreciated (as would from anyone else reading this and is interested.)
Regards
Kerry
On 12/12/17 14:56, Chuck Davis wrote:
> Hi Kerry:
>
> Thanks for the note. Old indeed. I don't remember anything I learned from that project (though I did keep the modules). I did get it to work by including the module somebody mentioned. It seems so easy, looking at that module, I can't understand why Felix doesn't do the export for JavaFX so that it's not even an issue -- at least an option that can be turned on or off, installed or uninstalled or some such and stop the necessity of all the work-arounds on which developers are having to waste their time.
>
> If I revisit OSGi I'll take a look at your project if Felix hasn't fixed the issue yet at the time.
>
> Thanks.
>
> CD
>
> On 12/12/2017 05:19 AM, Kerry wrote:
>> Hi Chuck,
>>
>> I realise that this is a response to an old message of yours but I have a GitHub project that may be of interest to you that brings OSGi to JavaFx.
>>
>> https://github.com/jtkb/osgifx
>>
>> It aims to be simpler than Drombler and is agnostic to the OSGi implementation. It is still a work in progress but check the examples and integration-test modules to see how to use it. I have currently tested it with Apache karaf which obviously used Apache Felix but plan to add tests for other implementations too.
>>
>> If you try it out any comments you have or improvements are welcome. Any issues also just ask. I'm in the process of improving the documentation at the moment.
>>
>> Kerry
>>
>> Sent from BlueMail
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix and JavaFX
Posted by Chuck Davis <cj...@gmail.com>.
Karl, thanks for that information.
On 12/12/2017 08:31 AM, Karl Pauls wrote:
> Additionally, the JavaFX exports should now be available on java9 ootb
> (assuming the modules are on the module path). As Neil correctly
> points out, the reason they are not on older version is exactly that -
> we don't know if they are there or not. With java9, we can detect that
> (and we do starting with Felix Framework 5.6.10).
>
> regards,
>
> Karl
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix and JavaFX
Posted by Karl Pauls <ka...@gmail.com>.
Additionally, the JavaFX exports should now be available on java9 ootb
(assuming the modules are on the module path). As Neil correctly
points out, the reason they are not on older version is exactly that -
we don't know if they are there or not. With java9, we can detect that
(and we do starting with Felix Framework 5.6.10).
regards,
Karl
On Tue, Dec 12, 2017 at 4:03 PM, Neil Bartlett <nj...@gmail.com> wrote:
> That's pretty easy to answer.
>
> Felix by default exports all standard Java SE packages. JavaFX is not part
> of Java SE, it is an extension that is only available on a subset of Java
> implementations.
>
> Neil
>
> On 12 Dec 2017 2:56 pm, "Chuck Davis" <cj...@gmail.com> wrote:
>
>> Hi Kerry:
>>
>> Thanks for the note. Old indeed. I don't remember anything I learned
>> from that project (though I did keep the modules). I did get it to work by
>> including the module somebody mentioned. It seems so easy, looking at that
>> module, I can't understand why Felix doesn't do the export for JavaFX so
>> that it's not even an issue -- at least an option that can be turned on or
>> off, installed or uninstalled or some such and stop the necessity of all
>> the work-arounds on which developers are having to waste their time.
>>
>> If I revisit OSGi I'll take a look at your project if Felix hasn't fixed
>> the issue yet at the time.
>>
>> Thanks.
>>
>> CD
>>
>> On 12/12/2017 05:19 AM, Kerry wrote:
>>
>>> Hi Chuck,
>>>
>>> I realise that this is a response to an old message of yours but I have a
>>> GitHub project that may be of interest to you that brings OSGi to JavaFx.
>>>
>>> https://github.com/jtkb/osgifx
>>>
>>> It aims to be simpler than Drombler and is agnostic to the OSGi
>>> implementation. It is still a work in progress but check the examples and
>>> integration-test modules to see how to use it. I have currently tested it
>>> with Apache karaf which obviously used Apache Felix but plan to add tests
>>> for other implementations too.
>>>
>>> If you try it out any comments you have or improvements are welcome. Any
>>> issues also just ask. I'm in the process of improving the documentation at
>>> the moment.
>>>
>>> Kerry
>>>
>>> Sent from BlueMail
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
--
Karl Pauls
karlpauls@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix and JavaFX
Posted by Neil Bartlett <nj...@gmail.com>.
That's pretty easy to answer.
Felix by default exports all standard Java SE packages. JavaFX is not part
of Java SE, it is an extension that is only available on a subset of Java
implementations.
Neil
On 12 Dec 2017 2:56 pm, "Chuck Davis" <cj...@gmail.com> wrote:
> Hi Kerry:
>
> Thanks for the note. Old indeed. I don't remember anything I learned
> from that project (though I did keep the modules). I did get it to work by
> including the module somebody mentioned. It seems so easy, looking at that
> module, I can't understand why Felix doesn't do the export for JavaFX so
> that it's not even an issue -- at least an option that can be turned on or
> off, installed or uninstalled or some such and stop the necessity of all
> the work-arounds on which developers are having to waste their time.
>
> If I revisit OSGi I'll take a look at your project if Felix hasn't fixed
> the issue yet at the time.
>
> Thanks.
>
> CD
>
> On 12/12/2017 05:19 AM, Kerry wrote:
>
>> Hi Chuck,
>>
>> I realise that this is a response to an old message of yours but I have a
>> GitHub project that may be of interest to you that brings OSGi to JavaFx.
>>
>> https://github.com/jtkb/osgifx
>>
>> It aims to be simpler than Drombler and is agnostic to the OSGi
>> implementation. It is still a work in progress but check the examples and
>> integration-test modules to see how to use it. I have currently tested it
>> with Apache karaf which obviously used Apache Felix but plan to add tests
>> for other implementations too.
>>
>> If you try it out any comments you have or improvements are welcome. Any
>> issues also just ask. I'm in the process of improving the documentation at
>> the moment.
>>
>> Kerry
>>
>> Sent from BlueMail
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: Felix and JavaFX
Posted by Chuck Davis <cj...@gmail.com>.
Hi Kerry:
Thanks for the note. Old indeed. I don't remember anything I learned
from that project (though I did keep the modules). I did get it to work
by including the module somebody mentioned. It seems so easy, looking
at that module, I can't understand why Felix doesn't do the export for
JavaFX so that it's not even an issue -- at least an option that can be
turned on or off, installed or uninstalled or some such and stop the
necessity of all the work-arounds on which developers are having to
waste their time.
If I revisit OSGi I'll take a look at your project if Felix hasn't fixed
the issue yet at the time.
Thanks.
CD
On 12/12/2017 05:19 AM, Kerry wrote:
> Hi Chuck,
>
> I realise that this is a response to an old message of yours but I have a GitHub project that may be of interest to you that brings OSGi to JavaFx.
>
> https://github.com/jtkb/osgifx
>
> It aims to be simpler than Drombler and is agnostic to the OSGi implementation. It is still a work in progress but check the examples and integration-test modules to see how to use it. I have currently tested it with Apache karaf which obviously used Apache Felix but plan to add tests for other implementations too.
>
> If you try it out any comments you have or improvements are welcome. Any issues also just ask. I'm in the process of improving the documentation at the moment.
>
> Kerry
>
> Sent from BlueMail
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org