You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guice makes classes like util/Objects available in its public API, even
though they are implementation details.
If you think it's worthwhile, the .jar for Guice could hide these classes
from OSGi-compliant tools like Eclipse. Here's a sample Ant task that
creates the necessary meta information for the .jar file:
From limpbizkit on February 14, 2007 19:06:44
Guice makes classes like util/Objects available in its public API, even
though they are implementation details.
If you think it's worthwhile, the .jar for Guice could hide these classes
from OSGi-compliant tools like Eclipse. Here's a sample Ant task that
creates the necessary meta information for the .jar file:
<taskdef name="osgiBundleInfo"
classname="org.knopflerfish.ant.taskdefs.bundle.BundleInfoTask"
classpath="tools/OSGiBundleInfo.jar"/>
<osgiBundleInfo exports="packagelist">
<fileset dir="${basedir}">
<include name="/source//.java"/>
<exclude name="/util//.java"/>
</fileset>
</osgiBundleInfo>
Original issue: http://code.google.com/p/google-guice/issues/detail?id=17
The text was updated successfully, but these errors were encountered: