Adobe-Consulting-Services/acs-aem-commons — pull request #79 by justinedelson (2013-12-07 14:33:38+00:00)
Title: refactoring twitter into separate bundle

Here is a refactoring of the project to move the twitter support into a separate bundle. This still produces an exception on installation:

07.12.2013 09:28:55.293 *ERROR* [FelixDispatchQueue] com.adobe.acs.acs-aem-commons-bundle-twitter FrameworkEvent ERROR (org.osgi.framework.BundleException: Unresolved constraint in bundle com.adobe.acs.acs-aem-commons-bundle-twitter [322]: Unable to resolve 322.0: missing requirement [322.0] osgi.wiring.package; (osgi.wiring.package=twitter4j)) org.osgi.framework.BundleException: Unresolved constraint in bundle com.adobe.acs.acs-aem-commons-bundle-twitter [322]: Unable to resolve 322.0: missing requirement [322.0] osgi.wiring.package; (osgi.wiring.package=twitter4j)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3962)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2025)
at org.apache.felix.framework.Felix$RefreshHelper.restart(Felix.java:4823)
at org.apache.felix.framework.Felix.refreshPackages(Felix.java:4110)
at org.apache.felix.framework.FrameworkWiringImpl.run(FrameworkWiringImpl.java:178)
at java.lang.Thread.run(Thread.java:722)

But it is the semantically correct thing to do.