[
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11321#comment-11321
]
Ivo Ladage - van Doorn commented on AMDATUOPENSOCIAL-28:
--------------------------------------------------------
The javax.swing dependency is caused by the fact that Shindig depends on
EHCache. The default EHCache store is the net.sf.ehcache.store.AbstractStore,
which imports the Swing package. It does so to register Swing event listeners.
There is no way to disable EHCache in Shindig. You could disable it by setting
the System property "net.sf.ehcache.disabled" to true, but that doesn't prevent
the Swing classes to be loaded.
So the Swing import is necessary using Shindig and has nothing to do with the
Guice injector, it is because it uses EHCache which contains the Swing
dependency. Therefore I close this issue as won't fix.
> Shindig bundle seems to depend on javax.swing
> ---------------------------------------------
>
> Key: AMDATUOPENSOCIAL-28
> URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-28
> Project: Amdatu OpenSocial
> Issue Type: Bug
> Reporter: Angelo van der Sijpt
> Fix For: 0.2.0
>
>
> While fixing AMDATU-215, I noticed that the Shindig bundle can only start
> properly when an import for javax.swing is generated. If we don't have that,
> we get an error telling us that the Guice injector cannot be found. This
> strikes me as something that has nothing to do with Swing at all, but rather
> e.g. a timing issue.
> In this respect, it might be useful to reconsider the way we 'bridge' between
> the OSGi world and the Guice universe. We could very well use Peaberry [1]
> for this, which is intended for exactly this purpose.
> [1] http://code.google.com/p/peaberry/
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers