Felix and VLC

2014-06-12 Thread Erik Jansman
Hello, For a project I'm working on creating a VLC bundle in Felix. I'm starting to wonder if trying to get VLC in a bundle is the right choice. I'm running into what appears to be an import/export package problem. VLC needs the uk.co.caprica.vlcj.binding package. So I have added it both to the

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Benoît Thiébault
Hi again, I checked what version of Felix did break it: - Everything worked fine with Felix 4.0.3 that was released the 28th of December 2012 - Version 4.2.0, released on the 11th of February 2013, broke it Isn’t this modification responsible for this?

Re: Ipojo + karaf + JMX

2014-06-12 Thread Clement Escoffier
Hi, Unfortunately, the JMX support is outdated, but should still work. Which classes are deprecated ? Regards, Clement On 10 juin 2014 at 09:42:46, millieret (xaviermillie...@eaton.com) wrote: Hi All, I am trying to expose instances as a JMX MBean, but it's does't work in the ipojo +

Re: Felix and VLC

2014-06-12 Thread Richard S. Hall
On 6/12/14, 03:39 , Erik Jansman wrote: Hello, For a project I'm working on creating a VLC bundle in Felix. I'm starting to wonder if trying to get VLC in a bundle is the right choice. I'm running into what appears to be an import/export package problem. VLC needs the

Re: Ipojo + karaf + JMX

2014-06-12 Thread millieret
Hi Clement, All methods !! @Method, @Property ? Why the JMX support is outdated? is there a reason? If I use ipojo in karaf, how can I manage my bundle by JMX? Thank you Regards Xavier -- View this message in context:

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Richard S. Hall
On 6/12/14, 05:01 , Benoît Thiébault wrote: Hi again, I checked what version of Felix did break it: - Everything worked fine with Felix 4.0.3 that was released the 28th of December 2012 - Version 4.2.0, released on the 11th of February 2013, broke it Isn’t this modification responsible for

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Benoît Thiébault
Hi, and thanks for the answer. os.name gives Windows 7, os.arch gives x86_64 Le 12 juin 2014 18:40, Richard S. Hall he...@ungoverned.org a écrit : On 6/12/14, 05:01 , Benoît Thiébault wrote: Hi again, I checked what version of Felix did break it: - Everything worked fine with

Re: Ipojo + karaf + JMX

2014-06-12 Thread Clement Escoffier
--  Clement Escoffier Researcher at LIG Partner at Ubidreams +33 6 95 23 18 45 clement.escoff...@gmail.com http://escoffier.me On 12 juin 2014 at 17:57:17, millieret (xaviermillie...@eaton.com) wrote: Hi Clement,  All methods !!  @Method, @Property ?  These classes were replaced by

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Benoît Thiébault
What is strange is that the OS, the JVM and the bundle are the same. Only Felix version changes. We have tried to look at other classes that were modified in Felix since 4.0.3 but could not find anything conclusive yet Le 12 juin 2014 18:40, Richard S. Hall he...@ungoverned.org a écrit : On

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Richard S. Hall
Perhaps you start the JVM up suspended with debug enabled and set a break point up at R4LibraryClause.match() and see precisely why it is failing? The code in there is pretty self explanatory. - richard On 6/12/14, 14:13 , Benoît Thiébault wrote: What is strange is that the OS, the JVM and

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Benoît Thiébault
Hi Richard, Here is what I did: I added a few System.out.println in the R4LibraryClause.match() and checkOSNames() methods and recompiled Felix Framework (4.5.0-SNAPSHOT thus) The modified code: public boolean match(final Map configMap) throws BundleException {

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Richard S. Hall
On 6/12/14, 16:33 , Benoît Thiébault wrote: Hi Richard, Here is what I did: I added a few System.out.println in the R4LibraryClause.match() and checkOSNames() methods and recompiled Felix Framework (4.5.0-SNAPSHOT thus) The modified code: public boolean match(final Map configMap) throws

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Benoît Thiébault
OK, here are my latests findings. I added a few System.out.println in the public static String normalizeOSName(String value) method. Namely: if (value.startsWith(win)) { String os = win; System.out.println(R4LibraryClause.normalizeOSName():value.startsWith('win'));

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Richard Hall
It is initialized in Felix.java. Search for os.name to find where. On Jun 12, 2014 5:15 PM, Benoît Thiébault thieba...@artenum.com wrote: OK, here are my latests findings. I added a few System.out.println in the public static String normalizeOSName(String value) method. Namely: if

Re: Felix 4.2.1 and 4.4.0 regression wrt native code (Win7)

2014-06-12 Thread Benoît Thiébault
OK Line 4481: String s = null; s = R4LibraryClause.normalizeOSName(System.getProperty(os.name)); m_configMutableMap.put(FelixConstants.FRAMEWORK_OS_NAME, s); Here, System.getProperty(os.name) gives Windows 7 (with a space) So s is windows7 without a space. When method match is called (later,