{"action":"opened","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4782","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4782/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4782/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/4782/events","html_url":"https://github.com/hazelcast/hazelcast/issues/4782","id":60566504,"number":4782,"title":"HazelcastClient (3.4.1) not importing in OSGi environment","user":{"login":"cogtinuum","id":1218880,"avatar_url":"https://avatars.githubusercontent.com/u/1218880?v=3","gravatar_id":"","url":"https://api.github.com/users/cogtinuum","html_url":"https://github.com/cogtinuum","followers_url":"https://api.github.com/users/cogtinuum/followers","following_url":"https://api.github.com/users/cogtinuum/following{/other_user}","gists_url":"https://api.github.com/users/cogtinuum/gists{/gist_id}","starred_url":"https://api.github.com/users/cogtinuum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cogtinuum/subscriptions","organizations_url":"https://api.github.com/users/cogtinuum/orgs","repos_url":"https://api.github.com/users/cogtinuum/repos","events_url":"https://api.github.com/users/cogtinuum/events{/privacy}","received_events_url":"https://api.github.com/users/cogtinuum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-10T20:45:51Z","updated_at":"2015-03-10T20:45:51Z","closed_at":null,"body":"I'm using Hazelcast 3.4.1 on an equinox OSGi runtime. My target environment (PDE) contains the hazelcast-3.4.1.jar bundle and its concomitant fragment hazelcast-client-3.4.1.jar. My personal bundle manifest looks as follows:\r\n\r\nImport-Package: com.hazelcast.client;version=\"3.4.1\",\r\n com.hazelcast.client.config;version=\"3.4.1\",\r\n com.hazelcast.config;version=\"3.4.1\",\r\n com.hazelcast.core;version=\"3.4.1\",\r\n ...\r\nWithin a class inside my personal bundle I'm importing as follows:\r\n\r\nimport com.hazelcast.client.HazelcastClient;\r\nimport com.hazelcast.client.config.ClientConfig;\r\n\r\nThe PDE will not recognize the classes HazelcastClient or ClientConfig within the com.hazelcast.client or com.hazlecast.client.config packages, respectively. The hazelcast jar MANIFEST's make extensive use of the \"uses\" directive so I'm wondering if there's collisions occurring during resolution.\r\n\r\nWhen I launch the OSGi runtime, the Hazelcast bundle and the client fragment will load:\r\n\r\n9   ACTIVE      com.hazelcast_3.4.1\r\n            Fragments=10\r\n10  RESOLVED    com.hazelcast.client_3.4.1\r\n            Master=9\r\nIf I run the headers command on bundle 9 I get:\r\n\r\nosgi> headers 9\r\n  ...  \r\n  Export-Package = com.hazelcast.client;uses:=\"c...\r\n  ... \r\nIf I run the packages command on bundle 9 I get:\r\n\r\nosgi> packages 9\r\nNo exported packages\r\n\r\nSo it is clearly exported but not recognized as an export.  I'm using Eclipse Luna SR2.\r\nAny suggestions that might help me resolve this would be greatly appreciated."}}