RE: Antwort: RE: Felix and JavaFX

2017-07-20 Thread CLEMENT Jean-Philippe
ix.apache.org Objet : Antwort: RE: Felix and JavaFX I think you are refering to this one http://paulonjava.blogspot.de/2014/11/making-javafx-better-with-osgi.html regards Marc Von:CLEMENT Jean-Philippe An: "users@felix.apache.org" , Datum: 20.07.2017 10:26 Betreff:R

RE: Felix and JavaFX

2017-07-20 Thread CLEMENT Jean-Philippe
e the link to Paul's article? Regards, JP -Message d'origine- De : Chuck Davis [mailto:cjgun...@gmail.com] Envoyé : jeudi 20 juillet 2017 05:32 À : users@felix.apache.org Objet : Re: Felix and JavaFX All the ones Paul's article delineates. On Tue, Jul 18, 2017 at 8:12

RE: Felix and JavaFX

2017-07-18 Thread CLEMENT Jean-Philippe
ad? Thanks. On Mon, Jul 17, 2017 at 12:55 AM, CLEMENT Jean-Philippe < jean-philippe.clem...@fr.thalesgroup.com> wrote: > Hi, > > We are making OSGi desktop applications with JavaFX without any issue. > We do not rely on Eclipse or Equinox. We are using Karaf and > maven

RE: Felix and JavaFX

2017-07-17 Thread CLEMENT Jean-Philippe
Hi, We are making OSGi desktop applications with JavaFX without any issue. We do not rely on Eclipse or Equinox. We are using Karaf and maven-bundle-plugin. There is only a small workaround for startup with a special bundle which is a fake "Application" in order to start JavaFX engine. JP ---

RE: Felix+Bkuetooth: Missing requirement?

2016-03-10 Thread CLEMENT Jean-Philippe
You have two solutions, either embed them in your bundle or transform them into bundles. You may start by embedding them. Just have to put them in the jar file and change the Bundle-ClassPath, for instance Bundle-ClassPath: .,lib/net.sf.bluecove.bluecove.jar,net.sf.bluecove.bluecove-gpl.jar I

RE: Felix+Bkuetooth: Missing requirement?

2016-03-10 Thread CLEMENT Jean-Philippe
Now it just means that you have to install both BlueCove bundles ;) I would suggest you not to use "raw" Felix, but rather use Karaf which makes use of Felix and adds some nice features around it. Also it is very easy to package a full product with Karaf. JP -Message d'origine- De : im

RE: Felix+Bkuetooth: Missing requirement?

2016-03-09 Thread CLEMENT Jean-Philippe
Ah ok, if you have everything in the same bundle then you should not have any import package for the com.mycompany one. So you have to remove it - you may also check within the MANIFEST.MF that it is not present. JP -Message d'origine- De : imo [mailto:imoveisnacion...@gmail.com] Envo

RE: Felix+Bkuetooth: Missing requirement?

2016-03-09 Thread CLEMENT Jean-Philippe
You need two things, the package to be exported from the bundle which contains the BTBundle class, and the package to be imported from the bundle which show you this issue. I advise you to check what has been put in these two bundles. Check both MANAFEST.MF files (also pay attention to the vers

RE: Felix+Bkuetooth: Missing requirement?

2016-03-09 Thread CLEMENT Jean-Philippe
Hi, It just says "com.mycompany.BTBundle" has to be found somewhere, so the related bundle should export the com.mycompany package. JP -Message d'origine- De : imo [mailto:imoveisnacion...@gmail.com] Envoyé : mardi 8 mars 2016 16:52 À : users@felix.apache.org Objet : Felix+Bkuetooth: M

RE: Specifying dependency between a bundle and a fragment bundle

2016-01-14 Thread CLEMENT Jean-Philippe
he original UI bundle but it generally works. It's probably not the best solution but I couldn't figure out anything better so far. Thanks for your help! Milen On Wed, Jan 13, 2016 at 3:02 PM, CLEMENT Jean-Philippe < jean-philippe.clem...@fr.thalesgroup.com> wrote: > I would

RE: Specifying dependency between a bundle and a fragment bundle

2016-01-13 Thread CLEMENT Jean-Philippe
dency between a bundle and a fragment bundle Conceptually I guess you can put it that way, yes. On Wed, Jan 13, 2016 at 2:43 PM, CLEMENT Jean-Philippe < jean-philippe.clem...@fr.thalesgroup.com> wrote: > Do you mean ensure that fragments and services are deployed as a > single tr

RE: Specifying dependency between a bundle and a fragment bundle

2016-01-13 Thread CLEMENT Jean-Philippe
bundles, I'm looking for a way to express the relationship between those. I guess using Requirements and Capabilities would be perfect but to my understanding you can not use it for fragments. On Wed, Jan 13, 2016 at 1:24 PM, CLEMENT Jean-Philippe < jean-philippe.clem...@fr.thalesgrou

RE: Specifying dependency between a bundle and a fragment bundle

2016-01-13 Thread CLEMENT Jean-Philippe
I'm not too sure what you need, but I would say first that you consider what you have (a text file) rather than what you need (a service or services). It seems you see things through the provider instead of the consumer. So, you have a button which calls a service S. Fine. Then you want S to be

RE: unloading a DLL from the container

2014-03-18 Thread CLEMENT Jean-Philippe
Hi, 1. As far as I know you cannot 2. Maybe GlueGen can help you (NativeLibrary) JP -Message d'origine- De : Frizz [mailto:frizzthe...@googlemail.com] Envoyé : mardi 18 mars 2014 06:35 À : users@felix.apache.org Objet : JNI: unloading a DLL from the container Hi there, I have a bundle

RE: OSGi and JDK8 Status?

2014-01-24 Thread CLEMENT Jean-Philippe
I uninstalled the old ASM from Karaf and put the 5 beta instead. It still works but the strange error traces are still there. Seems not to be a plug'n'play stuff. JP -Message d'origine- De : Jochen Wiedmann [mailto:jochen.wiedm...@gmail.com] Envoyé : vendredi 24 janvier 2014 15:20 À 

RE: update bundle not work

2014-01-24 Thread CLEMENT Jean-Philippe
iring. Regards Neil On Fri, Jan 24, 2014 at 12:32 PM, CLEMENT Jean-Philippe < jean-philippe.clem...@fr.thalesgroup.com> wrote: > In some cases update may fail. As far as I experienced this usually > happens when the API is changed in the code but the bundle keeps the > same versi

RE: update bundle not work

2014-01-24 Thread CLEMENT Jean-Philippe
In some cases update may fail. As far as I experienced this usually happens when the API is changed in the code but the bundle keeps the same version. In that case you can use the "refresh " command. Ultimately you can use "refresh -f" (which will also shutdown Karaf). JP -Message d'origin

RE: OSGi and JDK8 Status?

2014-01-24 Thread CLEMENT Jean-Philippe
Message d'origine- De : Mark Derricutt [mailto:m...@talios.com] Envoyé : vendredi 24 janvier 2014 00:25 À : users@felix.apache.org Objet : Re: OSGi and JDK8 Status? On 23 Jan 2014, at 21:39, CLEMENT Jean-Philippe wrote: > I don't have any trouble with the Maven scr plugin, but the

RE: OSGi and JDK8 Status?

2014-01-23 Thread CLEMENT Jean-Philippe
It's not the syntax the Eclipse Maven plugin fails on but it uses Java4 instead and needs manual modification on the project to set Java8 (any "update" command on the project will go back to Java4). JP -Message d'origine----- De : CLEMENT Jean-Philippe [mailt

RE: OSGi and JDK8 Status?

2014-01-23 Thread CLEMENT Jean-Philippe
Karaf which is based on Felix works for me but with a lot of strange traces in the log. As per ASM team, ASM 5 will be released when Java8 would be. However, ASM 5 beta is ok ready to be used. I don't have any trouble with the Maven scr plugin, but the Eclipse plugin does not support new Java8

RE: Reflection

2013-12-19 Thread CLEMENT Jean-Philippe
>From my point of view there are only few scenarios where the introspection is >mandatory. The question is why the method would not be in the API? If the method exists in the implementation, so there nothing that prevents it to be present in the API. Or you can want something from an object whi

RE: Reflection

2013-12-09 Thread CLEMENT Jean-Philippe
You have to standardize your services and use as far as possible composition rather than inheritance. Start from the usage point of view (customer) rather than from your hardware (provider). You can also take a look to aspects. JP [@@ OPEN @@] -Message d'origine- De : lott...@gmail.com

RE: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread CLEMENT Jean-Philippe
Added issue https://issues.apache.org/jira/browse/FELIX-4291 along with solution proposals. JP -Message d'origine- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : jeudi 24 octobre 2013 16:21 À : users@felix.apache.org Objet : RE: maven-b

RE: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread CLEMENT Jean-Philippe
this being fixed any time soon ... Of course the simplest workaround is of course to not make it an inner class? :-) Kind regards, Peter Kriens On 24 okt. 2013, at 08:57, CLEMENT Jean-Philippe wrote: > Dear Felix Team, > > It seems I found a bug (see below) in the Maven plug

RE: TR: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-24 Thread CLEMENT Jean-Philippe
11143 Remember to attach your test project so whoever picks it up can recreate the issue locally. On 24 Oct 2013, at 07:57, CLEMENT Jean-Philippe wrote: > Dear Felix Team, > > It seems I found a bug (see below) in the Maven plugin. I'm not too sure > which Jira project/componen

TR: maven-bundle-plugin issue with blueprint and inner-classes

2013-10-23 Thread CLEMENT Jean-Philippe
rds, Achim 2013/10/23 CLEMENT Jean-Philippe mailto:jean-philippe.clem...@fr.thalesgroup.com>> Dear experts, I have an issue with the Maven Bundle plugin. It generates an invalid package when an inner class is used to instantiate a bean. For instance the following blueprint:

RE: maven-bundle-plugin and blueprint

2013-10-18 Thread CLEMENT Jean-Philippe
By "best approach" I mean which maven-bundle-plugin tags should I add in the pom in order the blueprint files to be included in the bundle? JP -Message d'origine----- De : CLEMENT Jean-Philippe [mailto:jean-philippe.clem...@fr.thalesgroup.com] Envoyé : jeudi 17 octob

maven-bundle-plugin and blueprint

2013-10-17 Thread CLEMENT Jean-Philippe
Dear Felix experts, I would like to use maven as build tool. After wondering whether POM or MANIFEST would be best for my needs, I will give a go to maven-bundle-plugin. What would be the best approach to build blueprint-enabled bundles? JP -

RE: Apache Felix and OSGI R5

2013-10-09 Thread CLEMENT Jean-Philippe
I guess this is not the issue. From my understanding, Aries in itself is already too heavy for him and he would like the "Subsystems specification and Common Namespaces Specification" implementation alone. Don't know if it makes sense... JP -Message d'origine- De : Richard S. Hall [mai

RE: configadmin: no visibility to configuration

2013-09-10 Thread CLEMENT Jean-Philippe
Great, it works (getConfiguration with null as location)! Thanks you very very much Roland, Felix and Pierre. I will read the 104.4.1 chapter to really understand the location aspect. Best regards, Jean-Philippe [@@ THALES GROUP INTERNAL @@] -Message d'origine- De : Pierre De Rop [mai

configadmin: no visibility to configuration

2013-09-10 Thread CLEMENT Jean-Philippe
Dear Felix experts, I have the following issue while registering a ManagedService: 2013-09-10 11:32:56,482 | ERROR | com.tus.hci.fot) | configadmin | 43 - org.apache.felix.configadmin - 1.6.0 | Cannot use configuration com.tus.hci.fot for [org.osgi.service.cm.Managed

RE: Blueprint does not find a bean argument which uses generics

2013-06-10 Thread CLEMENT Jean-Philippe
yé : lundi 10 juin 2013 10:55 À : users@felix.apache.org Objet : Re: Blueprint does not find a bean argument which uses generics Hi JP As you noticed, this is probably better asked over at users (at) aries. Thanks and Regards Felix Am 07.06.2013 um 09:30 schrieb CLEMENT Jean-Philippe: > De

Blueprint does not find a bean argument which uses generics

2013-06-07 Thread CLEMENT Jean-Philippe
Dear Felix Team, I have a trouble with Blueprint injection and generics. I have something like this: * interface X is defined * a class A implements X * another class B has a constructor with a single argument X Calling B with A using regular Java code is correct. How