Suppose I have a package that depends on two other packages that are like 
target packages. This is how my dependency tree looks

X->Y->A
X->Z->A

Now Both Y and Z are like target packages already and they install A's 
module as a part of their Guice module. So when I am trying to install the 
module of Y and Z from my package X am facing with errors that the binding 
for certain types has already been configured. I somehow feel that to force 
bind A's module as a part of the installation of Y and Z is wrong (it beats 
the idea of plugging in different implementations that I want - assert me 
on this) and the modules have to be scanned at an environment (that has the 
whole list of package version set instances deployed) scope. But given that 
I do not have a control over the package Y and Z (its third party) is there 
a way I can solve this problem ? I read through the Guice deduplication and 
it does not work. I am currently using Guice 3.0. 




-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/d/optout.

Reply via email to