Re: how to deploy dependent jstl jars together with my bundle?

2012-02-06 Thread Felix Meschberger
Hi Sandro, When you install a bundle through the Web Console Bundles page it does just that, install the bundle and optionally start it. No dependency are retrieved at all. If you want to have dependencies resolved automatically you should go through the OBR (Repository page). So you deploy yo

how to deploy dependent jstl jars together with my bundle?

2012-02-06 Thread Sandro Boehme
Hi, I have a small Sling bundle that uses JSTL. Everything is fine when I upload the two files com.springsource.org.apache.taglibs.standard-1.1.2.jar and com.springsource.javax.servlet.jsp.jstl-1.1.2.jar manually at http://localhost:8080/system/console/bundles and then install my bundle with '

Re: How to handle same bundles from different locations?

2012-02-06 Thread Richard S. Hall
On 2/6/12 14:04, Nicolas Roduit wrote: Hi all, I've made an application with the latest release of Apache Felix framework and set the property "org.osgi.framework.storage.clean" to "none". Bundles are not loaded correctly when a bundle come from an different location of the one during the pre

Re: Felix DependencyManager with annotation/eclipse

2012-02-06 Thread Mohica Jasha
Hi Pierre, Yes, your proposal helps. I will open a jira issue. Thank you very much for your help. Best, Mohica On Sat, Feb 4, 2012 at 4:42 AM, Pierre De Rop wrote: > Hi Mohica, > > Are you still interested by the proposal I made in previous post ? > I would like to be sure you are still interes

How to handle same bundles from different locations?

2012-02-06 Thread Nicolas Roduit
Hi all, I've made an application with the latest release of Apache Felix framework and set the property "org.osgi.framework.storage.clean" to "none". Bundles are not loaded correctly when a bundle come from an different location of the one during the previous launch. Having different URLs for

Re: JNI warning when using Nimbus in OSGi/iPOJO context

2012-02-06 Thread jerome moliere
I'll just point you to the excellent Felix's blog... http://blog.meschberger.ch/2008/10/osgi-bundles-require-classes-from.html J.MOLIERE - Mentor/J auteur Eyrolles blog: http://romjethoughts.blogspot.com OSGi book available now!!! Le 6 février 2012 15:54, Benoît Thiébault a écrit : > Thank yo

Re: JNI warning when using Nimbus in OSGi/iPOJO context

2012-02-06 Thread Benoît Thiébault
Thank you Jérôme, Indeed, I was launching Felix from Eclipse and it did not use my system default JDK... I tried (with the wrong JDK): -Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel And it worked. I then changed the JDK to the correct version, removed the -D option...

Re: Felix OBR & P2 repository

2012-02-06 Thread jerome moliere
Hi Pierre Gildas, I won't help you mouch but I don't see many references to Eclipse P2 on the OBR bundle page ? It may be a very undergound feature or is it a documentation shift ? sorry I can't do much more I don't the involve code section... J.MOLIERE - Mentor/J auteur Eyrolles blog: http://rom

Re: JNI warning when using Nimbus in OSGi/iPOJO context

2012-02-06 Thread jerome moliere
Hi benoit I guess that you should try to set the variable : org.osgi.framework.system.packages may be to try to use the alternate Nimbus set up phase using -Dswing.defaultlaf=com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel on which platform are you running your tests ? are you really sure to use t

Felix OBR & P2 repository

2012-02-06 Thread Pierre-Gildas MILLON
Hi everyone, Has anybody ever tried to use a p2 (Equinox) repository with Felix bundlerepository ? If my understanding is correct, the bundlerepository looks for a OBR XML File but can it deal with an eclipse update site ? If anyone had some example source, it would be much appreciated. Regards,

JNI warning when using Nimbus in OSGi/iPOJO context

2012-02-06 Thread Benoît Thiébault
Hi everyone, In my application, I want to use the Nimbus look and feel. In the bundle instantiating my JFrame, I thus added the following code: try { for (final LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) { if ("Nimbus".equals(info.getName())) {