eligosource / eventsourced

A library for building reliable, scalable and distributed event-sourced applications in Scala
Apache License 2.0
828 stars 98 forks source link

Add OSGi meta-data to the jar #32

Closed rocketraman closed 11 years ago

rocketraman commented 11 years ago

I would like to use eventsourced in an OSGi environment. I was able to add the OSGi meta-data to both leveldbjni, and eventsourced, and make it work correctly. However, it would be great if this could be applied upstream.

Unfortunately, the sbt-osgi plugin seems to be very flaky -- see my post here on the sbt mailing list as I could not get sbt to add the OSGi meta-data:

https://groups.google.com/d/msg/simple-build-tool/LC0rLHK2jfc/du8os8wmxE0J

I will continue to follow up on this and submit a pull request once I have it working.

krasserm commented 11 years ago

Thanks a lot, Raman, highly appreciate your initiative. Please bear in mind that I'll make eventsourced a multi-module project in the near future (e.g. moving out journal impls into separate sub-projects). Maybe I then need to ask you for help again, getting the OSGi metadata right in the multi-module project.

Cheers, Martin

rocketraman commented 11 years ago

No problem, glad to help.

rocketraman commented 11 years ago

See https://github.com/eligosource/eventsourced/pull/34

rocketraman commented 11 years ago

GitHub opened a new issue #34 when I submitted the pull... please continue discussion there.