Is this something we should document clearly in the bundle plugin documentation so that people can easily discover how to get it and Eclipse working together?

-> richard

On Oct 18, 2007, at 2:00 AM, Stuart McCulloch (JIRA) wrote:


[ https://issues.apache.org/jira/browse/FELIX-397? page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch resolved FELIX-397.
------------------------------------

    Resolution: Duplicate

This is effectively a duplicate of FELIX-376 which provides a way to write the manifest generated during the bundle phase to a custom location using the <manifestLocation> setting in the POM or the - DmanifestLocation property on the command line.

With this and the maven-dependency-plugin it is straightforward to generate the necessary files for Eclipse PDE.

Hence I am closing this issue as a duplicate of FELIX-376.

If you need a really simple way to produce Eclipse friendly OSGi bundles and wrappers, please look at Pax-Construct.

Interoperability with Eclipse Equinox and PDE
---------------------------------------------

                Key: FELIX-397
                URL: https://issues.apache.org/jira/browse/FELIX-397
            Project: Felix
         Issue Type: New Feature
         Components: Maven Bundle Plugin
           Reporter: Eugene Kuleshov
        Attachments: EMBED_EXAMPLE.zip, EMBED_EXAMPLE_2.zip


Maven bundle plugin can nicely collect all Maven dependencies, generate bundle manifest and create jar package. However it is not very useful if you need to run that bundle in self-hosted mode for debugging. Eclipse provides nice development and debugging environment for OSGi bundles, but bundles created by this plugin can't be easily used there. One possible option would be to provide a separate goal that would create folder structure compatible with Eclipse PDE. Basically place generated manifest file into the ${basedir}/META-INF/ MANIFEST.MF and copy jars according to the Bundle-ClassPath attribute. Then such project could be imported into Eclipse and used with PDE.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply via email to