problem encountred

2010-08-19 Thread gharbi jjjj
Good morning, I have tried to follow the second example given in the URL : http://felix.apache.org/site/apache-felix-tutorial-example-2.html I have created the arborescence like this - tutorial - example 2 - service DictionaryService.java activator.java

Re: fragment bundle support in maven-bundle-plugin

2010-08-19 Thread Justin Edelson
This works already. On Aug 19, 2010, at 8:59 AM, niiba...@gmail.com niiba...@gmail.com wrote: Greetings! I wonder, when maven-bundle-plugin will support Fragment-Host attribute ininstructions? Is there any roadmap for this plugin?

Re: fragment bundle support in maven-bundle-plugin

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

Re: fragment bundle support in maven-bundle-plugin

2010-08-19 Thread Justin Edelson
No. Using Fragment-Host. Maybe I'm misunderstanding your question. On Aug 19, 2010, at 9:15 AM, niiba...@gmail.com niiba...@gmail.com wrote: Using _include/_include ? On 19.08.2010 17:06, Justin Edelson wrote: This works already. On Aug 19, 2010, at 8:59 AM,

Re : problem encountred

2010-08-19 Thread gharbi jjjj
Thanks a lot, it works ! Yours sincerly, Atef. De : Richard S. Hall he...@ungoverned.org À : users@felix.apache.org Envoyé le : Jeu 19 août 2010, 13h 53min 28s Objet : Re: problem encountred I would guess you have put your .java files in separate

mutliple version with IPOJO

2010-08-19 Thread Leos Kunc
Hi. I'm new in OSGI and IPOJO and last days I've spent looking for solution of the following problem. I need to implement two versions of same class running in simultaneously. I've created same class in two bundles and exported interface as service by annotations: @Provides @Component

Re: Karaf support for Java 7

2010-08-19 Thread Charles Moulliard
Hi Can you raise a jira ticket with errors reported ? Regards, Charles Moulliard Senior Enterprise Architect (J2EE, .NET, SOA) Apache Camel - Karaf - ServiceMix Committer ~~~ Blog : http://cmoulliard.blogspot.com | Twitter :

Re: mutliple version with IPOJO

2010-08-19 Thread Richard S. Hall
Are you saying you have two bundles containing two component classes with the same name and iPOJO ends up using the same component class to create both instances? - richard On 8/19/10 10:46, Leos Kunc wrote: Hi. I'm new in OSGI and IPOJO and last days I've spent looking for solution of the

Re: mutliple version with IPOJO

2010-08-19 Thread Clement Escoffier
On 19.08.2010, at 17:43, Richard S. Hall wrote: Are you saying you have two bundles containing two component classes with the same name and iPOJO ends up using the same component class to create both instances? Yes, that's normal in this case. Indeed, no factory name, so iPOJO use the

Re: mutliple version with IPOJO

2010-08-19 Thread Richard S. Hall
On 8/19/10 12:57, Clement Escoffier wrote: On 19.08.2010, at 17:43, Richard S. Hall wrote: Are you saying you have two bundles containing two component classes with the same name and iPOJO ends up using the same component class to create both instances? Yes, that's normal in this case.

Bundle with a JNI dependency works, then doesn't...

2010-08-19 Thread Kit Plummer
Hey guys. I'm trying to get a simple bundle working with a JNI dependency. All is good if I start Karaf, with the bundle previously installed. But, if I uninstall that bundle, and reinstall from a file...it won't start. I'm guessing there's some underlying classloading issue. Or is it me, and

Re: Bundle with a JNI dependency works, then doesn't...

2010-08-19 Thread Kit Plummer
Yeh, reading my post again, sorry for the ambiguity. So, if I install my bundle, which refers to a Bundle-NativeCode/ JNI library, and start it from the console - I would just get an activator error, and it wouldn't start. But if I kill Karaf, restart it, my bundle would start no problem