frjaeger220 / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

make guice annotations a separate build artifact #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
it would be nice we had:

guice-annotations.jar
guice-injector.jar

so that i only have to link to guice-annotations.jar to compile without the
injector

Original issue reported on code.google.com by rice...@gmail.com on 22 May 2007 at 10:35

GoogleCodeExporter commented 9 years ago
I believe the public interfaces should be in that jar as well.

Original comment by kevin...@gmail.com on 10 Jul 2007 at 11:08

GoogleCodeExporter commented 9 years ago
We really need this separation. Adding the annotations to libraries will be far 
more
acceptable.

But keep the jar as small as possible. If you want to publish the public 
interfaces
create a third jar instead.

Original comment by johan...@familieschneider.info on 11 Jul 2007 at 8:02

GoogleCodeExporter commented 9 years ago
Would you care to submit a patch (for our build.xml) ? The minimal .jar should 
contain these classes:
@BindingAnnotation 
@ImplementedBy 
@Inject 
@ProvidedBy 
@ScopeAnnotation 
@Singleton
@Named
Provider

Original comment by limpbizkit on 9 Feb 2009 at 9:13

GoogleCodeExporter commented 9 years ago
I can make this patch, but what about name?

Is guice-support.jar ok?

Original comment by aleksey....@gmail.com on 3 Sep 2009 at 2:37

GoogleCodeExporter commented 9 years ago
Guice 2.1 will support JSR330, which provides all necessary interfaces, 
annotations &
classes in the javax.inject namespace.

Original comment by sberlin on 2 May 2010 at 12:47