Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-04 Thread Tribon Cheng
Exactly, Eclipse does not support building against bundles containing nested JARs. On Wed, Apr 3, 2013 at 4:16 PM, Robert Gruendler wrote: > On Apr 2, 2013, at 3:11 PM, Ferry Huberts wrote: > > 1- put the generated 'wrap' bundle in a repository and use it from there > > for anyone interested: T

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-03 Thread Robert Gruendler
On Apr 2, 2013, at 3:11 PM, Ferry Huberts wrote: > 1- put the generated 'wrap' bundle in a repository and use it from there for anyone interested: The workaround mentioned above works fine with eclipse. So basically you have 2 build steps: 1.maven-bundle build which generates the bundle artefac

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Robert Gruendler
On Apr 2, 2013, at 3:11 PM, Ferry Huberts wrote: > The workaround for us so far has been 1 of these 2 solutions: > 1- put the generated 'wrap' bundle in a repository and use it from there > So i guess that's why the eclipse based project "orbit" works just fine, as the libraries they provide

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Ferry Huberts
On 02/04/13 15:18, Neil Bartlett wrote: > I assume the error is seen at build-time rather than runtime? Eclipse does yes build time only > not support building against bundles containing nested JARs. Even with non-nested JARs we have this issue because of 'missing' sources (not in the src fold

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Neil Bartlett
I assume the error is seen at build-time rather than runtime? Eclipse does not support building against bundles containing nested JARs. If you think about this, it's fair enough... other Java compilers such as javac also do not support it. So even if you got this to work in Eclipse PDE, you would

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Ferry Huberts
On 02/04/13 14:56, Robert Gründler wrote: > isn't maven-bundle-plugin just a maven plugin wrapping bnd? > yes it is. We have a similar issue with bndtools: When we create a wrap project, we can build the bundle just fine. but we can't convince Eclipse to import from that bundle. We're thinki

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Robert Gründler
isn't maven-bundle-plugin just a maven plugin wrapping bnd? -robert On Tue, Apr 2, 2013 at 2:52 PM, Tribon Cheng wrote: > why not to use bnd? > > On Tue, Apr 2, 2013 at 8:37 PM, Robert Gruendler >wrote: > > > Hi all, > > > > I'm working on a couple of eclipse plugins which have dependencie

Re: Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Tribon Cheng
why not to use bnd? On Tue, Apr 2, 2013 at 8:37 PM, Robert Gruendler wrote: > Hi all, > > I'm working on a couple of eclipse plugins which have dependencies to 3rd > party libraries. Some of those libraries > are not available as OSGI bundles, so i need to wrap them in OSGI bundles > manually. >

Creating OSGI bundles to provide dependency resolution in eclipse p2 repositories

2013-04-02 Thread Robert Gruendler
Hi all, I'm working on a couple of eclipse plugins which have dependencies to 3rd party libraries. Some of those libraries are not available as OSGI bundles, so i need to wrap them in OSGI bundles manually. I've created a maven project [1] which uses the maven-bundle-plugin to embed the maven