Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5168

source release of felix artifacts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Main, Maven Bundle Plugin
    • None

    Description

      Currently there is a "sources" artifact generated for every bundle, that is being released by the Felix community.

      Those sources however are not quite useful, if you do not develop a "maven" project.

      I'm using Eclipse - it is probably the main OSGi developers tool. The typical OSGi development model in Eclipse is to have a PDE project, which uses the so-called "Target Platforms". And target platform is usually a folder with bundles, and PDE resolves the dependencies manually.

      If the sources are generated with bnd, using the <_sources> tag, they are embedded in OSGI-OPT/src folder, inside the bundle. Those sources are automatically detected by Eclipse.

      However, if you generate a separate source bundle, Eclipse will be stupid enough not to consider that "XYZ-sources.jar" is the sources for "XYZ.jar".
      Instead it will expected that XYZ-sources.jar has a manifest entry "Eclipse-SourceBundle: XYZ".

      So, adding this header to the source releases will be great for all Eclipse PDE developers.


      Sorry, if I didn't set the correct component. I searched for Felix master POM, but didn't found any results. I've also added Maven Bundle Plugin component, because you guys probably also have an opinion on that matter.

      Attachments

        Activity

          People

            Unassigned Unassigned
            v_valchev Valentin Valchev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: