fragment bundle support in maven-bundle-plugin

2010-08-19 Thread niiba...@gmail.com
Greetings! I wonder, when maven-bundle-plugin will support "Fragment-Host" attribute ininstructions? Is there any roadmap for this plugin? - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands,

Re: fragment bundle support in maven-bundle-plugin

2010-08-19 Thread niiba...@gmail.com
Using <_include> ? On 19.08.2010 17:06, Justin Edelson wrote: This works already. On Aug 19, 2010, at 8:59 AM, "niiba...@gmail.com" wrote: Greetings! I wonder, when maven-bundle-plugin will support "Fragment-Host" attribute ininstructions? Is there a

Re: fragment bundle support in maven-bundle-plugin

2010-08-19 Thread niiba...@gmail.com
I've just tested this issue. It works! Thanks! On 19.08.2010 17:21, Justin Edelson wrote: No. Using Fragment-Host. Maybe I'm misunderstanding your question. On Aug 19, 2010, at 9:15 AM, "niiba...@gmail.com" wrote: Using<_include> ? On 19.08.2010 17:06, Justin

Re: UPnP and OSGi R4 Compendium Bundle

2010-08-26 Thread niiba...@gmail.com
Yes, it's possible, if you'll implement A/V Media Server specification. On 26.08.2010 20:07, LongkerDandy wrote: Hi Just find out Felix now support UPnP, very excited. I did some test, seems work well. I have a question about the "OSGi R4 Compendium Bundle", Which seems to be a dependency of U

Deploy bundles from OBR

2010-09-10 Thread niiba...@gmail.com
Hello! Is there any way to deploy some bundles from OBR at Felix startup? Something like obr:/-. - To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org

Re: Deploy bundles from OBR

2010-09-10 Thread niiba...@gmail.com
Thank a lot! On 10.09.2010 18:03, Richard S. Hall wrote: On 9/10/10 9:36, niiba...@gmail.com wrote: Hello! Is there any way to deploy some bundles from OBR at Felix startup? Something like obr:/-. No, because the launcher installs the bundles before starting any of them, so the OBR

Transitive optional dependencies

2010-09-14 Thread niiba...@gmail.com
Hello! I have a bundle, which depends from jar, which included into current bundle using Embed-Dependency attribute with all dependencies. But jar's pom.xml contains several dependencies with "optional=true". As a result, packages from those libraries placed into "Import-Package" attribute.

Problem with embedded oprional dependencies

2010-09-16 Thread niiba...@gmail.com
Hello! I have a problem with with libraries, when i'm trying to embed them into my bundle using instruction. For example, I have a module A, which has dependency: org.codehaus.groovy groovy 1.7.0 It's not a bundle, so I'm trying to include it into my bundle "A": *;optional=false;scope=co

Re: Problem with embedded oprional dependencies

2010-09-16 Thread niiba...@gmail.com
It doesn't matter. Groovy is just an example. I'm trying to tell that if I'm trying to include library into bundle, all optional transitive dependencies become mandatory. On 16.09.2010 14:38, Rémon. Sinnema wrote: org.codehaus.groovy groovy 1.7.0 It's not a bundle, so I'm trying to include

Re: Problem with embedded oprional dependencies

2010-09-16 Thread niiba...@gmail.com
Yes, but I need some of them which are not optional On 16.09.2010 18:18, hapa li wrote: u can exclude the transitive dependencies in your pom. On Thu, Sep 16, 2010 at 2:38 PM, niiba...@gmail.com wrote: It doesn't matter. Groovy is just an example. I'm trying to tell that if I&#

Export-Package and copying classes

2010-10-05 Thread niiba...@gmail.com
Hello! I have a problem with "Export-Package" directive. I have a bundle, which contains package "groovy.lang". This package contains only one class, which I need to access protected method in class in groovy library. I have another bundle "com.springsource.org.codehaus.groovy", which expo

Re: Export-Package and copying classes

2010-10-05 Thread niiba...@gmail.com
Felix On 06.10.2010 06:58, niiba...@gmail.com wrote: Hello! I have a problem with "Export-Package" directive. I have a bundle, which contains package "groovy.lang". This package contains only one class, which I need to access protected method in class in groovy l

Re: Export-Package and copying classes

2010-10-06 Thread niiba...@gmail.com
I see. But what's wrong with Require-Bundle? On 06.10.2010 17:23, Richard S. Hall wrote: On 10/6/10 1:58 AM, niiba...@gmail.com wrote: Thanks a lot for your explanation. I'll try to get rid of my own class inside groovy.lang package. Yes, that would be the best approach. You

Re: Set System Property in felix configuration file

2010-10-07 Thread niiba...@gmail.com
Put "system.properties" file into "conf" directory and put your system properties in that file. On 07.10.2010 12:58, LongkerDandy wrote: Hi Did you mean just append to conf.properties will work? I've tried that but not working. I'll make a another try Thanks LongkerDandy On Thu, Oct 7, 2010

Optional dependencies after update bundle

2010-11-30 Thread niiba...@gmail.com
Hello everybody! I have found some strange behavior and I need your opinion is this a bug or not. For example, we have three bundles: A, B, C "C" depends from "B" "A" optionaly depends from "B" "A" depends from "C" I install "A" from local OBR. OBR detects that it need to install "B" and "

Re: java.lang.reflect.Field.getValue() does not work in OSGi environment

2011-01-21 Thread niiba...@gmail.com
Hello! Do you have "Export-Package: xs.personnel" in your bundle? On 21.01.2011 11:46, Rice Yeh wrote: Hi, I meet a problem that looks quite weird for me. I report it here to see whether people have similar experience. In hibernate, there is a class org.hibernate.property.DirectPropert

Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
Hello! Is there any closest plans to implement Deployment Admin Spec. It seems that Eclipse Virgo already has a common ability (PAR's, Plans and Configurations). I'm interesting, if such functions will be implemented in Felix. It would be very useful to implement something like Plan in Virg

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
/ I don't think we have a release yet. Regards Felix Am Donnerstag, den 03.03.2011, 09:11 + schrieb niiba...@gmail.com: Hello! Is there any closest plans to implement Deployment Admin Spec. It seems that Eclipse Virgo already has a common ability (PAR's, Plans and Configurat

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
wrote: Closer to plans, I think we have Karaf features, see http://karaf.apache.org/manual/2.1.99-SNAPSHOT/users-guide/provisioning.html On Thu, Mar 3, 2011 at 10:11, niiba...@gmail.com wrote: Hello! Is there any closest plans to implement Deployment Admin Spec. It seems that Eclipse Virgo alread

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
efault runner with custom system activator, It would be great! On 03.03.2011 13:47, Guillaume Nodet wrote: Maybe, how do you do that with Felix ? On Thu, Mar 3, 2011 at 11:28, niiba...@gmail.com wrote: That's cool, but my project is very tied to raw felix implementation. For example Fe

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
011 12:48, Guillaume Nodet wrote: Closer to plans, I think we have Karaf features, see http://karaf.apache.org/manual/2.1.99-SNAPSHOT/users-guide/provisioning.html On Thu, Mar 3, 2011 at 10:11, niiba...@gmail.com wrote: Hello! Is there any closest plans to implement Deployment Admin Spec. I

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
ide this bundle have an activator displaying the splash window. You can configure this bundle to be installed using etc/startup.properties, just use a very low start level and it should work. It would not be tied to felix at all this way. On Thu, Mar 3, 2011 at 15:33, niiba...@gmail.com wrote:

Re: Deployment Admin implementation

2011-03-03 Thread niiba...@gmail.com
start level and it should work. It would not be tied to felix at all this way. On Thu, Mar 3, 2011 at 15:33, niiba...@gmail.com wrote: I don't need to embed it. I'd like to show splash when Karaf starts, if it is possible :) On 03.03.2011 15:20, Guillaume Nodet wrote: Karaf itself isn

Re: [ANN] OSGi in Action book

2011-03-28 Thread niiba...@gmail.com
My congratulations! Amazing work! On 29.03.2011 00:55, Richard S. Hall wrote: Sorry, for the blatant advertising, but the OSGi book that Karl, Stuart, David, and I have been working on forever is finally done and available (in electronic form now and print within a week): http://www.mann

Re: error management in OBR

2011-03-31 Thread niiba...@gmail.com
Hello! What kind of errors have you got? On 31.03.2011 13:09, Cédric Casenove wrote: Hello, I have a problem with the ResolverImpl.deploy() method. This method catches errors but does not let me know anything bad happend because errors are not thrown and there is no returned value. Is there so

Native library crash in OSGi

2011-05-18 Thread niiba...@gmail.com
Hello! I wonder, is anybody tested such behavior: We have one bundle with native library inside. Library throws, for example, "AccessViolation". Usually, when operation system catches such exception, it asks you to kill process. I wonder, what would be with felix? Whole instance will fail or

Re: Native library crash in OSGi

2011-05-19 Thread niiba...@gmail.com
On 18.05.2011 19:19, Richard S. Hall wrote: On 5/18/11 11:13, niiba...@gmail.com wrote: Hello! I wonder, is anybody tested such behavior: We have one bundle with native library inside. Library throws, for example, "AccessViolation". Usually, when operation system catches such exc

Re: Native Lib on Vista (64bits) with JVM 1.6.0_26 64bits needs osname=win32

2011-06-21 Thread niiba...@gmail.com
According to http://msdn.microsoft.com/en-us/library/ms724832(v=vs.85).aspx you can define Windows Vista as win32/foo32.dll;osname=Windows Vista;processor=x86-64,osversion=6.0 On 21.06.2011 14:22, Elvy wrote: I'm on Windows

Re: Help understanding OSGi class loading

2011-08-12 Thread niiba...@gmail.com
Hello! I didn't understand clearly your task. Do you have one bundle with classes and another bundle with spring xml file? On 12.08.2011 12:03, Jim Talbut wrote: Hi, I've just been surprised by the behaviour of karaf/felix and I'd be grateful for some help understanding how this works. My

Re: Help understanding OSGi class loading

2011-08-15 Thread niiba...@gmail.com
olved? What happens to that resolving when the Exporting bundle goes away? Thanks Jim -Original Message- From: niiba...@gmail.com [mailto:niiba...@gmail.com] Sent: 12 August 2011 10:14 To: users@felix.apache.org Subject: Re: Help understanding OSGi class loading Hello! I didn't underst

Re: Help understanding OSGi class loading

2011-08-16 Thread niiba...@gmail.com
Was the application context refreshed when you refreshed the xml bundle? Is there any logs after refresh? On 16.08.2011 14:56, Jim Talbut wrote: The xml-bundle does not contain code - but it does contain instructions that tell Spring to instantiate objects (and thus to load classes). "it" is

Re: Help understanding OSGi class loading

2011-08-16 Thread niiba...@gmail.com
45 | 94 - org.springframework.osgi.extender - 1.2.1 | Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=mystuffUserdataLoad, config=osgibundle:/META-INF/spring/*.xml)) -Original Message- From: niiba...@gmail.com [mailto:niiba...@gmail.com] Sent: 16 Augus

Re: How to configure Apache Felix File Install with Netbeans?

2012-06-07 Thread niiba...@gmail.com
It's impossible to configure File Install or any other Felix projects in Netbeans. Almost all projects are configured due felix configuration file. When Netbeans starts felix, it uses default configuration file, which is located into felix.jar. You have to wait while Netigso module will be rewri