Scala Programming Language
  1. Scala Programming Language
  2. SI-5822

Include OSGi bundle entries in jar manifests

    Details

      Description

      OSGi manifest entries should be added to the jars (such as scala-library) so they may be used as OSGi bundles.

      The ScalaIDE project distributes an OSGi bundle, but it isn't ideal for all use cases. For example, it only appears to be available from p2 repositories, which makes it difficult to use in projects unrelated to Eclipse. It also contains all the scala jars, which adds significant footprint.

      Assigning to Josh at his request.

        Activity

        Hide
        Raman Gupta added a comment - - edited

        Martin, Josh can add more details if he wants, but FYI: I believe the OSGi headers are not part of the distributed build yet since the Scala team didn't feel comfortable including them, as they are relatively untested. You have to download the source and build the osgi jars yourself using "ant osgi.bundles".

        Show
        Raman Gupta added a comment - - edited Martin, Josh can add more details if he wants, but FYI: I believe the OSGi headers are not part of the distributed build yet since the Scala team didn't feel comfortable including them, as they are relatively untested. You have to download the source and build the osgi jars yourself using "ant osgi.bundles".
        Hide
        Michael Pilquist added a comment -

        2.10.0-RC2 JARs on Maven Central have OSGi metadata. The RC3 JARs on Maven Central do not. I've been successfully using scala-library and scala-reflect in Equinox 3.7.

        Show
        Michael Pilquist added a comment - 2.10.0-RC2 JARs on Maven Central have OSGi metadata. The RC3 JARs on Maven Central do not. I've been successfully using scala-library and scala-reflect in Equinox 3.7.
        Hide
        Josh Suereth added a comment -

        This is a regression in the distribution process!

        Show
        Josh Suereth added a comment - This is a regression in the distribution process!
        Hide
        Martin Ellis added a comment -

        Hi, Josh: should this be re-opened then?

        I just looked at the commit log for the 2.10.x branch, and don't see a fix...

        Show
        Martin Ellis added a comment - Hi, Josh: should this be re-opened then? I just looked at the commit log for the 2.10.x branch, and don't see a fix...
        Hide
        Josh Suereth added a comment -

        No. It's fixed in the 2.10.0-whip bramch

        Show
        Josh Suereth added a comment - No. It's fixed in the 2.10.0-whip bramch

          People

          • Assignee:
            Josh Suereth
            Reporter:
            Martin Ellis
          • Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development