Re: Embedding Hibernate in an OSGi bundle using maven-bundle-plugin is hard

2010-04-06 Thread Dan H
Original Message Subject: Re: Embedding Hibernate in an OSGi bundle using maven-bundle-plugin is hard From: Guillaume Nodet To: users@felix.apache.org Date: 06.04.2010 16:47 > Is there any reason why you want to embed hibernate instead of using it as a > real bundl

Re: Embedding Hibernate in an OSGi bundle using maven-bundle-plugin is hard

2010-04-06 Thread Guillaume Nodet
Is there any reason why you want to embed hibernate instead of using it as a real bundle ? Also the problem isn't really maven i think, as whichever tool you use, you'll have to write the manifest somehow. Instead of going that way, I would do the following: * mark all imports as optional * d

Re: Embedding Hibernate in an OSGi bundle using maven-bundle-plugin is hard

2010-04-06 Thread Dan H
Just found out that a similar issue has already been addressed here: http://issues.apache.org/jira/browse/FELIX-954 I checked out the current trunk, only to find out that the problem remains. Looking at the code was very helpful, I now suspect that the problem is actually caused by a cyclic depend

Re: Embedding Hibernate in an OSGi bundle using maven-bundle-plugin is hard

2010-04-05 Thread Justin Edelson
On 4/5/10 11:10 AM, Dan H wrote: > >> >> >> On 4/4/10 8:01 PM, Dan H wrote: >>> Has anyone managed to embed Hibernate within their bundle using Maven >>> and maven-bundle-plugin? I'm getting errors that seem to be the result >>> of bad manifest "Import-Package" sections: >>> >>> >>> ERROR: Er

Re: Embedding Hibernate in an OSGi bundle using maven-bundle-plugin is hard

2010-04-05 Thread Dan H
> > > On 4/4/10 8:01 PM, Dan H wrote: >> Has anyone managed to embed Hibernate within their bundle using Maven >> and maven-bundle-plugin? I'm getting errors that seem to be the result >> of bad manifest "Import-Package" sections: >> >> >> ERROR: Error starting file:/C:/dev/felix/bundle/kur

Re: Embedding Hibernate in an OSGi bundle using maven-bundle-plugin is hard

2010-04-04 Thread Richard S. Hall
On 4/4/10 8:01 PM, Dan H wrote: Has anyone managed to embed Hibernate within their bundle using Maven and maven-bundle-plugin? I'm getting errors that seem to be the result of bad manifest "Import-Package" sections: ERROR: Error starting file:/C:/dev/felix/bundle/kurt-handler-a-1.0.0.jar

Embedding Hibernate in an OSGi bundle using maven-bundle-plugin is hard

2010-04-04 Thread Dan H
Has anyone managed to embed Hibernate within their bundle using Maven and maven-bundle-plugin? I'm getting errors that seem to be the result of bad manifest "Import-Package" sections: ERROR: Error starting file:/C:/dev/felix/bundle/kurt-handler-a-1.0.0.jar (org.osgi.framework.BundleException: