Skip to content

Commit

Permalink
exported the internal package to avoid fragment woes in GuiceyFruit i…
Browse files Browse the repository at this point in the history
…n OSGi
  • Loading branch information
jstrachan committed Apr 16, 2009
1 parent d3e361e commit 9153d40
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 141 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ added to support [GuiceyFruit](http://code.google.com/p/guiceyfruit/)
* [354](http://code.google.com/p/google-guice/issues/detail?id=354) provide a way to iterate through all objects in a scope
* [343](http://code.google.com/p/google-guice/issues/detail?id=343) OSGi fix: BytecodeGen uses system classloader when applying AOP to system types
* [337](http://code.google.com/p/google-guice/issues/detail?id=337) OSGi fix: AssistedInject needs class load bridging under OSGi
* OSGi patch to export com.google.inject.internal so that GuiceyFruit can access it without using Fragments (which can't use exports in Felix)
5 changes: 5 additions & 0 deletions common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@
<property name="api.range" value="&quot;[${api.version},${version;+;${api.version}})&quot;"/>
<property name="guice.imports" value="com.google.inject.*;version=${api.range}"/>
<property name="Import-Package" value="${exclude.imports},${guice.imports},*;resolution:=optional"/>
<!--
TODO Lets expose internal so that we don't have to use Fragments in GuiceyFruit
<property name="Export-Package" value="!${module}.internal.*,${module}.*;version=${api.version}"/>
-->
<property name="Export-Package" value="${module}.*;version=${api.version}"/>

<property name="-removeheaders" value="Bnd-LastModified,Ignore-Package,Include-Resource,Private-Package,Tool"/>

Expand Down
Loading

0 comments on commit 9153d40

Please sign in to comment.