[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3201) Provide osgi informations in hibernate MANIFEST.MF to be recognized as osgi-bundle

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Mon Mar 31 03:29:33 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29905 ] 

Max Rydahl Andersen commented on HHH-3201:
------------------------------------------

Yes, I know all this but did you actually try and *run* this inside eclipse ?

Just because we stick some declarations into hibernate.jar does not make it actually *work* inside eclipse.

How did you test this ? Did you osgify all the other dependencies ?

Did classloading of user classes work correctly for you ?





> Provide osgi informations in hibernate MANIFEST.MF to be recognized as osgi-bundle
> ----------------------------------------------------------------------------------
>
>                 Key: HHH-3201
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3201
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.2.5
>            Reporter: Baptiste MATHUS
>         Attachments: hibernate-pom-to-osgi.patch
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> Hi all,
> It would be great if the packaging of Hibernate could be done as osgi compatible jar. With little configuration, some plugins already exist to do it in simply. 
> For informaiton, a jar can become osgi-compatible only by adding some properties inside the META-INF/MANIFEST.MF file. It lets the jar totally usable in a non-osgi environment, but let the jar be recognized as a "bundle" in an osgi-container (Eclipse, Apache Felix...).
> A good entrypoint for this, using maven2 to package, could be http://felix.apache.org/site/maven-bundle-plugin-bnd.html#MavenBundlePlugin(BND)-AddingOSGimetadatatoexistingprojectswithoutchangingthepackagingtype.
> For example, Spring already did and their available jars on repo1.maven.org can be put directly in a eclipse/plugins directory and be recognized as a bundle/plugin.
> Cheers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list