-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/10/2010 09:08 PM, Dhanji R. Prasanna wrote: > We should just obfuscate Immutable* so it doesn't bother IDE importers. > Wonder if Jarjar can do that.
IDE code completion problems are just one symptom. The problem (potentially a lot of duplicate code) isn't solved through obfuscation/renamings/whatever... Johannes > > Dhanji. > > On Thu, Jun 10, 2010 at 11:37 AM, Johannes Schneider > <maili...@cedarsoft.com <mailto:maili...@cedarsoft.com>> wrote: > > On 06/10/2010 08:20 PM, Eric Burke wrote: >> -1 to new external dependencies. I'd rather Guice be free to innovate >> rather than tie itself to a particular version of an external library. >> Not to mention the added headaches when my app already uses one > version >> of an external library but now Guice thinks I should have a different >> version of the library, and they have conflicts. > > Yeah, I see that point. > But if everybody uses the solution you propose, we will end up with > several **.internal.ImmutableList classes for larger projects. This > doesn't scale either... > So adding every lib as internal will lead into the wrong direction. > And that just because it *might* be possible for some projects that > there is an incompatible version clash. > > So what can we do to about that? > Maybe two different versions? Adds a lot of complexity to the build > process... > In Maven land that could be useful: > http://mojo.codehaus.org/minijar-maven-plugin > Never tried it myself... > > --> Default case for "normal" projects: External dependency to Guava > --> Special case for Android/avoiding-dep-problems users > > > > Regards, > > Johannes > >> Furthermore, Guice works well on Android now. Adding external library >> dependencies may make this more complicated. > > >> On Thu, Jun 10, 2010 at 11:11 AM, Christian Edward Gruber >> <cgru...@google.com <mailto:cgru...@google.com> > <mailto:cgru...@google.com <mailto:cgru...@google.com>>> wrote: > >> +1. > >> On Jun 10, 2010, at 7:04 AM, Johannes Schneider wrote: > >>> On 06/03/2010 04:31 PM, je...@swank.ca > <mailto:je...@swank.ca> <mailto:je...@swank.ca > <mailto:je...@swank.ca>> wrote: >>>> Moving these classes is a fine idea, but it will cause pain > for any >>>> developer who has mistakenly imported Guice's ImmutableSet > (etc.) >>>> rather than that from Guava. >>> >>> Maybe it is a good idea to remove that "interal" classes > completly and >>> instead create a dependency to Guava? >>> >>> In nearly every project, I have many duplicates... > >> -- >> You received this message because you are subscribed to the Google >> Groups "google-guice-dev" group. >> To post to this group, send email to >> google-guice-dev@googlegroups.com > <mailto:google-guice-dev@googlegroups.com> >> <mailto:google-guice-dev@googlegroups.com > <mailto:google-guice-dev@googlegroups.com>>. >> To unsubscribe from this group, send email to >> google-guice-dev+unsubscr...@googlegroups.com > <mailto:google-guice-dev%2bunsubscr...@googlegroups.com> >> <mailto:google-guice-dev%2bunsubscr...@googlegroups.com > <mailto:google-guice-dev%252bunsubscr...@googlegroups.com>>. >> For more options, visit this group at >> http://groups.google.com/group/google-guice-dev?hl=en. > > > > >> -- >> Eric M. Burke >> http://www.linkedin.com/in/ericburke >> 314-494-3185 (mobile) >> 636-294-0191 (home) > >> -- >> You received this message because you are subscribed to the Google >> Groups "google-guice-dev" group. >> To post to this group, send email to > google-guice-dev@googlegroups.com > <mailto:google-guice-dev@googlegroups.com>. >> To unsubscribe from this group, send email to >> google-guice-dev+unsubscr...@googlegroups.com > <mailto:google-guice-dev%2bunsubscr...@googlegroups.com>. >> For more options, visit this group at >> http://groups.google.com/group/google-guice-dev?hl=en. > - -- You received this message because you are subscribed to the Google Groups "google-guice-dev" group. To post to this group, send email to google-guice-dev@googlegroups.com <mailto:google-guice-dev@googlegroups.com>. To unsubscribe from this group, send email to google-guice-dev+unsubscr...@googlegroups.com <mailto:google-guice-dev%2bunsubscr...@googlegroups.com>. For more options, visit this group at http://groups.google.com/group/google-guice-dev?hl=en. > -- > You received this message because you are subscribed to the Google > Groups "google-guice-dev" group. > To post to this group, send email to google-guice-...@googlegroups.com. > To unsubscribe from this group, send email to > google-guice-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-guice-dev?hl=en. - -- Johannes Schneider - blog.cedarsoft.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJMEiw2AAoJEAytD9R7Qv6dQjEH+wdk1EUg29aMuDrpEGbw3JfR BcbhGMXG3VaU68ddLieVYbahsP1lLqclrcDMh02ppg8axbwvJ8coc64Pl/cmbXnH CYIzSIJeql5zZjlBYJ23/b1tadyxaR5qF3JyVDz7AG2KWU9V1q1BEimPJ5uBSb11 SXmmvz5S/2vz7jImWXWxJNludbIjqlmeT5ZK8GSLHQU/3Cl1CmCsZnFkYfPBAjQ8 1XFcJpcm+KTWMC08Q/kF27tARDsvLFQmeFl0zIhafaqwZ+mERWFnbQe36oyq+WGs bDLYk3+8KGMLU3h9hYhDrPq5gN3girj4WCa5KVZERhdMAPvzs8Dop4i+VtZtpRw= =ujxw -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "google-guice-dev" group. To post to this group, send email to google-guice-...@googlegroups.com. To unsubscribe from this group, send email to google-guice-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-guice-dev?hl=en.