Skip to content
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

OSGify wasync #123

Open
sakno opened this issue Mar 15, 2015 · 3 comments
Open

OSGify wasync #123

sakno opened this issue Mar 15, 2015 · 3 comments

Comments

@sakno
Copy link
Contributor

sakno commented Mar 15, 2015

Please, add maven-bundle-plugin to pom.xml of wasync library and allow to install this library as OSGi bundle.

There are two workarounds that enable to use wasync in OSGi envrionment:

  1. Embed wasync into the custom bundle via pom.xml, similar to workaround described here
  2. Apache Karaf specific workaround: Using wrap protocol in the KAR archive deployment descriptor (named as features.xml):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" name="wasync-feature">
    <feature name="wasync-feature" description="" version="1.0.0">
        <details>Atmosphere wAsync feature</details>
        <bundle>mvn:io.netty/netty/3.10.0.Final</bundle>
        <bundle>mvn:com.ning/async-http-client/1.9.5</bundle>
        <bundle>wrap:mvn:org.atmosphere/wasync/2.0.0$Export-Package=org.atmosphere.wasync.*;version="2.0.0"</bundle>
    </feature>
</features>
@jfarcand
Copy link
Member

@sakno Pull request welcomed. As soon as I get it, I will release a new version 2.0.1 you can use. Thanks!

@sakno
Copy link
Contributor Author

sakno commented Mar 16, 2015

#124

@sakno
Copy link
Contributor Author

sakno commented Mar 16, 2015

#121
I've got the same errors on my laptop (Ubuntu 14.10 x64 OpenJDK 7) when run tests of #124 pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants