Re: Getting rid of Import-Package and Export-Package

2010-07-21 Thread Sudhir Dharmadhikari
Hi Richard, Thanks for reply. I understand system bundle is redundant. With following setup, I am getting Export-Package which are all my application code. I got rid of that because I was getting several errors. But may be that is not necessary (export should not have any issues whether its

Re: Getting rid of Import-Package and Export-Package

2010-07-21 Thread Richard S. Hall
On 7/21/10 13:02, Sudhir Dharmadhikari wrote: Hi Richard, Thanks for reply. I understand system bundle is redundant. It isn't redundant, it is actually bad practice. The OSGi spec doesn't dictate what the system bundle exports, so framework implementations can vary here. And even if the

Re: Getting rid of Import-Package and Export-Package

2010-07-20 Thread Richard S. Hall
On 7/20/10 1:20, Sudhir Dharmadhikari wrote: I am trying simple osgi bundle which has every dependency embedded inside my bundle. By default, bundle-plugin creates several entries in Import-Package and Export-Package . I want to get rid of them completely. I tried several ways . If I try

Re: Getting rid of Import-Package and Export-Package

2010-07-20 Thread Richard S. Hall
On 7/20/10 5:13 PM, Sudhir Dharmadhikari wrote: Hi Richard - Thanks for your inputs. It worked using !*. As per documentation, it should export all classes and it is. Right now, no other bundle will use any exported packages from my bundle , so I wanted to get rid of this header at all from