New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include OSGi bundle entries in jar manifests #5822
Comments
Imported From: https://issues.scala-lang.org/browse/SI-5822?orig=1 |
@hseeberger said: |
@jsuereth said: |
Michael Pilquist (mpilquist) said: |
Martin Ellis (mart) said: That would be a huge help to folk who want to use Scala and OSGi (most of which won't need the compiler as a bundle). Of course, Scala IDE could continue to wrap jars until all of its dependencies are available as bundles. I spent some time checking the bnd script and generated manifest for scala-library. But it's rather harder to check it for the compiler. |
@jsuereth said: |
Michael Pilquist (mpilquist) said: |
@jsuereth said: In the meantime, refactoring reflect.jar so OSGi works is a blocked for 2.10.x |
Raman Gupta (rocketraman) said: https://github.com/apache/servicemix4-bundles/tree/trunk/scala-compiler-2.9.2 These servicemix artifacts are all available in maven public repos: http://search.maven.org/#browse%7C-1557765333 |
@jsuereth said: |
Martin Ellis (mart) said: $ curl -sO http://uk.maven.org/maven2/org/scala-lang/scala-library/2.10.0-RC3/scala-library-2.10.0-RC3.jar I haven't checked the other jars. |
Raman Gupta (rocketraman) said (edited on Nov 29, 2012 7:14:34 PM UTC): |
Michael Pilquist (mpilquist) said: |
@jsuereth said: |
Martin Ellis (mart) said: I just looked at the commit log for the 2.10.x branch, and don't see a fix... |
@jsuereth said: |
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.
The text was updated successfully, but these errors were encountered: