Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide implementation details from the public API using OSGi #17

Closed
gissuebot opened this issue Jul 7, 2014 · 2 comments
Closed

Hide implementation details from the public API using OSGi #17

gissuebot opened this issue Jul 7, 2014 · 2 comments

Comments

@gissuebot
Copy link

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

@gissuebot
Copy link
Author

From limpbizkit on February 14, 2007 16:07:01

(No comment was entered for this change.)

Labels: -Type-Defect Type-Enhancement

@gissuebot
Copy link
Author

From limpbizkit on February 14, 2007 16:07:57

Dupe of #16

Status: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant