Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.6-beta-1
-
None
-
None
-
JDK 6
Description
Groovy bundle cannot be used directly in a flexible OSGi environment due to:
osgi> diag 24
initial@reference:file:org.codehaus.groovy_1.5.6.jar/ [24]
Missing required bundle antlr_0.0.0.
Missing required bundle org.objectweb.asm_0.0.0.
Missing optionally required bundle org.apache.ant_0.0.0.
Missing optionally required bundle org.apache.commons.cli_0.0.0.
Missing optionally required bundle org.junit_0.0.0.
Groovy Require-Bundle manifest lines should be replaced with (simplification)
Import-Package: antlr, org.objectweb.asm, org.apache.ant;resolution:="optional", org.apache.commons.cli;resolution:="optional", org.junit;resolution:="optional"
Currently it's impossible to use other bundles that export the same packages (i.e. from SpringSource Enterprise Bundle repository) or wrapped packages.
Using Import-Package will make Groovy one-step further of "OSGification"
Attachments
Issue Links
- supercedes
-
GROOVY-2502 Add OSGi headers to manifest
- Closed