Re: Launch felix within eclipse

2011-05-19 Thread Christopher Armstrong
Hi Konstantinos You shouldn't have to On 19/05/2011, at 22:50 PM, Konstantinos Giannoutakis wrote: > It looks like that your plugin is suitable for me...But I have one question: > If I have a jar OSGi bundle file, how should I get programmatically its > activator in order to add it to the Felix

Re: Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-19 Thread Matt Madhavan
Hi Bartosz, Thank you very much for the attachments. I now get it! Also couple of quick questions! When I run bunch of *maven-import-bundle* it adds the bundle as a dependency inside the provision/pom.xml. When you run mvn pax:provision it provisions the bundles form provision/pom.xml dependencies

Re: Felix/pax runner cyclic dependency issue - whats the common way to solve this?

2011-05-19 Thread Bartosz Kowalewski
Hi Matt, There's no way to modify config.ini as it gets generated. You can only modify Pax Runner settings. Just copy the two files attached to this e-mail to the location from where you run: 'mvn pax:provision' and invoke: 'mvn pax:provision -Dargs=file:runner.args'. // I hope these mailing lis

Re: problem using JUnit4OSGi with Eclipse Virgo Web Server (eclipse equinox)

2011-05-19 Thread Saadat Dowlati
Hi Clement, Yes, the bundle is resolved and gets started without any error. As a sanity check, I have implemented the BundleActivator and log the start method. I would apprciate you could provide all the steps that you take in using junit4osgi on equinox. Here's what I have and do: I have a

Re: A better life: quick webapp deploy

2011-05-19 Thread Daniele Dellafiore
X_X @njbartlett pointed me out that bnd add a "." in the Import-Package when there are Eclipse classes that does not compile in the project. Indeed, it's true. If he would have told me "it's because you drank a cappuccino after 12 today" would have made more sense to me. On Thu, May 19, 2011

Re: DependencyManager vs iPOJO

2011-05-19 Thread Richard S. Hall
On 5/18/11 19:12, Marcel Offermans wrote: Hello Marian, On 18 May 2011, at 22:15 , marian grigoras wrote: I would like to understand the relation between DependencyManager and iPOJO. I see that both are apache projects, both under active development - is there any difference in the problem the

Re: Launch felix within eclipse

2011-05-19 Thread Konstantinos Giannoutakis
Hi Christopher, Thank you very much for your response. It looks like that your plugin is suitable for me...But I have one question: If I have a jar OSGi bundle file, how should I get programmatically its activator in order to add it to the Felix framework? Thank you, Kostas On 19/5/2011 9:

Re: A better life: quick webapp deploy

2011-05-19 Thread Daniele Dellafiore
On Thu, May 19, 2011 at 1:26 PM, Daniele Dellafiore wrote: > Sometimes happens that the resultant Manifest.mf contains a dot as the > first of the Import-Package. Like > Can't really understand why that happen. > I've debugged and it's bnd that put the dot as the first import package. I've hacked

Re: A better life: quick webapp deploy

2011-05-19 Thread Daniele Dellafiore
Sometimes happens that the resultant Manifest.mf contains a dot as the first of the Import-Package. Like Can't really understand why that happen. Follows the complete maven-bundle-plugin configuration: This is the exact same configuration that in other, say, 3/4 war bundles produce a Import-Package

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 exception, it a

Re: problem using JUnit4OSGi with Eclipse Virgo Web Server (eclipse equinox)

2011-05-19 Thread Clement Escoffier
Hi, Could you tell me if the all bundles are resolved correctly ? junit4osgi works on plain equinox, but I never tried on Virgo. Regards, Clement On 15.05.11 19:08, "Saadat Dowlati" wrote: >Hello, > I am not sure if this is the right list to ask this question, but >the >documentation sa