Issue Type: Improvement Improvement
Assignee: Brett Meyer
Created: 11/Jul/13 3:55 PM
Description:

BND is a library that can wrap non-OSGized jars, dynamically populating its manifest with best-guess export and import packages. The hibernate-osgi tests use it to wrap a few dependencies, prior to test.

Gradle has an OSGi plugin, but it essentially supports adding OSGi entries in the manifest – and that's it. Even though the plugin includes BND, it doesn't allow direct, simple use. I requested it, but don't hold your breath:

http://forums.gradle.org/gradle/topics/add_simple_bnd_task_to_osgi_plugin

For now, use the new area created in HHH-8306 for a new plugin. hibernate-osgi currently includes bnd.jar and uses a JavaExec task. A plugin would be cleaner.

Consider contributing the plugin back to Gradle as a basis for their (hopeful) fix.

Project: Hibernate ORM
Priority: Major Major
Reporter: Brett Meyer
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira