Open GoogleCodeExporter opened 9 years ago
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>
The task can be downloaded here: http://www.knopflerfish.org/
Original comment by limpbizkit
on 15 Feb 2007 at 12:09
Original comment by kevin...@gmail.com
on 28 Feb 2007 at 7:06
Original comment by kevin...@gmail.com
on 31 May 2007 at 8:35
[deleted comment]
[deleted comment]
Final iteration of the patch that makes it work flawlessly for asm, cglib &
internal.util, regardless of the number of subpackages within each.
The patch adds rules such that all jarjar'd classes get their classname
prefixed with $, so that IDEs do not suggest the classes as possible import
completions.
Original comment by sberlin
on 26 Oct 2010 at 2:35
Attachments:
Fantastic.
Original comment by limpbizkit
on 26 Oct 2010 at 4:41
fixed (or framework for hiding other things, atleast) in r1322.
Original comment by sberlin
on 27 Oct 2010 at 1:49
Original issue reported on code.google.com by
crazybob...@gmail.com
on 14 Feb 2007 at 11:36