{"action":"created","issue":{"url":"https://api.github.com/repos/domino-osgi/domino/issues/12","repository_url":"https://api.github.com/repos/domino-osgi/domino","labels_url":"https://api.github.com/repos/domino-osgi/domino/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/domino-osgi/domino/issues/12/comments","events_url":"https://api.github.com/repos/domino-osgi/domino/issues/12/events","html_url":"https://github.com/domino-osgi/domino/issues/12","id":96439180,"number":12,"title":"Bundle Activator does not implement BundleActivator (Sample App with SBT)","user":{"login":"frgomes","id":1257822,"avatar_url":"https://avatars.githubusercontent.com/u/1257822?v=3","gravatar_id":"","url":"https://api.github.com/users/frgomes","html_url":"https://github.com/frgomes","followers_url":"https://api.github.com/users/frgomes/followers","following_url":"https://api.github.com/users/frgomes/following{/other_user}","gists_url":"https://api.github.com/users/frgomes/gists{/gist_id}","starred_url":"https://api.github.com/users/frgomes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frgomes/subscriptions","organizations_url":"https://api.github.com/users/frgomes/orgs","repos_url":"https://api.github.com/users/frgomes/repos","events_url":"https://api.github.com/users/frgomes/events{/privacy}","received_events_url":"https://api.github.com/users/frgomes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/domino-osgi/domino/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"lefou","id":1321393,"avatar_url":"https://avatars.githubusercontent.com/u/1321393?v=3","gravatar_id":"","url":"https://api.github.com/users/lefou","html_url":"https://github.com/lefou","followers_url":"https://api.github.com/users/lefou/followers","following_url":"https://api.github.com/users/lefou/following{/other_user}","gists_url":"https://api.github.com/users/lefou/gists{/gist_id}","starred_url":"https://api.github.com/users/lefou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lefou/subscriptions","organizations_url":"https://api.github.com/users/lefou/orgs","repos_url":"https://api.github.com/users/lefou/repos","events_url":"https://api.github.com/users/lefou/events{/privacy}","received_events_url":"https://api.github.com/users/lefou/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-07-21T23:31:43Z","updated_at":"2016-02-08T10:57:08Z","closed_at":"2015-07-23T11:23:25Z","body":"I suppose I'm missing something or missing everything... but I do not see how an end user application should be built. In particular, I miss a sample application which shows how things are wired together.\r\n\r\nI'm doing a small proof of concept involving SBT, sbt-osgi and Domino.\r\nNeedless to say that I have a build.sbt, not a pom.xml.\r\n\r\nMy Activator cannot be processed properly by BND (which is wired in the build by sbt-osgi) with a message that my class does not extend BundleActivator, but I know it does.\r\n\r\n    MyDominoActivator (services.internal)\r\n    +-- DominoActivator (domino)\r\n        +-- OsgiContext (domino)\r\n            +-- EmptyBundleActivator (domino)\r\n                +-- BundleActivator (org.osgi.framework)\r\n\r\nThis is a snippet showing how BND complains:\r\n\r\n    > services/osgiBundle\r\n    [info] Updating {file:/home/rgomes/workspace/alpha1/}services...\r\n    [info] Resolving jline#jline;2.12.1 ...\r\n    [info] Done updating.\r\n    [info] Compiling 1 Scala source to /home/rgomes/workspace/alpha1/services/target/scala-2.11/classes...\r\n    [error] bnd: The Bundle Activator services.internal.MyDominoActivator does not implement BundleActivator.\r\n\r\nIf I create a bundle in the usual way, extending BundleActivator, it works just fine: BND likes it and Karaf can activate the bundle as it should be.\r\n\r\nI suppose I'm missing something... or doing something really stupid. Or both.\r\nCould you please give some help during these baby steps?\r\n\r\nThanks a lot."},"comment":{"url":"https://api.github.com/repos/domino-osgi/domino/issues/comments/181306389","html_url":"https://github.com/domino-osgi/domino/issues/12#issuecomment-181306389","issue_url":"https://api.github.com/repos/domino-osgi/domino/issues/12","id":181306389,"user":{"login":"lefou","id":1321393,"avatar_url":"https://avatars.githubusercontent.com/u/1321393?v=3","gravatar_id":"","url":"https://api.github.com/users/lefou","html_url":"https://github.com/lefou","followers_url":"https://api.github.com/users/lefou/followers","following_url":"https://api.github.com/users/lefou/following{/other_user}","gists_url":"https://api.github.com/users/lefou/gists{/gist_id}","starred_url":"https://api.github.com/users/lefou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lefou/subscriptions","organizations_url":"https://api.github.com/users/lefou/orgs","repos_url":"https://api.github.com/users/lefou/repos","events_url":"https://api.github.com/users/lefou/events{/privacy}","received_events_url":"https://api.github.com/users/lefou/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T10:57:08Z","updated_at":"2016-02-08T10:57:08Z","body":"I added a section to the FAQ: https://github.com/domino-osgi/domino/blob/master/FAQ.adoc#i-m-seeing-this-eror-message-the-bundle-activator-does-not-implement-bundleactivator\r\n"}}