groovy

Groovy Bundle Manifest should use Import-Package instead of hardcode Require-Bundle (bundle names)

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.6-beta-1
  • Fix Version/s: 1.5.7, 1.6-beta-2
  • Component/s: None
  • Labels:
    None
  • Environment:
    JDK 6
  • Number of attachments :
    0

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"

Issue Links

Activity

Hide
Hendy Irawan added a comment -

related to bug GROOVY-2502

Show
Hendy Irawan added a comment - related to bug GROOVY-2502
Hide
Hendy Irawan added a comment -

Also applies to Groovy 1.6 beta 1.

Show
Hendy Irawan added a comment - Also applies to Groovy 1.6 beta 1.
Hide
Paul King added a comment -
Show
Paul King added a comment - Can you try the current snaphot artifacts, e.g.: http://snapshots.repository.codehaus.org/org/codehaus/groovy/groovy-all/1.5.7-SNAPSHOT/
Hide
Hendy Irawan added a comment -

The snapshot is not loadable using OSGi due to:

Specification-Version: 1.5.7-SNAPSHOT
Specification-Vendor: The Codehaus
Implementation-Title: Groovy: a powerful, dynamic language for the JVM
Implementation-Version: 1.5.7-SNAPSHOT
Implementation-Vendor: The Codehaus
Bundle-ManifestVersion: 2
Bundle-Name: Groovy Runtime
Bundle-SymbolicName: org.codehaus.groovy
Bundle-Version: 1.5.7-SNAPSHOT

The culprit this time is version naming for snapshot version INSIDE THE MANIFEST. i.e. the naming of the JAR file itself does not cause problems, only the Version strings inside the manifest.mf.

OSGi spec says:

Version
Version specifications are used in several places. A version token has the fol-
lowing grammar:
version ::=
major( '.' minor ( '.' micro ( '.' qualifier )? )? )?
major ::= number // See 1.3.2
minor ::= number
micro ::= number
qualifier ::= ( alphanum | '_' | '-' )+
A version token must not contain any white space. The default value for a
version is 0.0.0.

1.5.7-SNAPSHOT is invalid because "7-SNAPHOT" is micro number and according to OSGi it needs to be just number.

Replacing the numbering for snapshots to this:

1.5.7.SNAPSHOT

will work.

Bears repeating that this only applies to version numbers inside manifest, not the jar name itself.

If you use Maven with maven-bundle-plugin it should be handled automatically.

Show
Hendy Irawan added a comment - The snapshot is not loadable using OSGi due to: Specification-Version: 1.5.7-SNAPSHOT Specification-Vendor: The Codehaus Implementation-Title: Groovy: a powerful, dynamic language for the JVM Implementation-Version: 1.5.7-SNAPSHOT Implementation-Vendor: The Codehaus Bundle-ManifestVersion: 2 Bundle-Name: Groovy Runtime Bundle-SymbolicName: org.codehaus.groovy Bundle-Version: 1.5.7-SNAPSHOT The culprit this time is version naming for snapshot version INSIDE THE MANIFEST. i.e. the naming of the JAR file itself does not cause problems, only the Version strings inside the manifest.mf. OSGi spec says: Version Version specifications are used in several places. A version token has the fol- lowing grammar: version ::= major( '.' minor ( '.' micro ( '.' qualifier )? )? )? major ::= number // See 1.3.2 minor ::= number micro ::= number qualifier ::= ( alphanum | '_' | '-' )+ A version token must not contain any white space. The default value for a version is 0.0.0. 1.5.7-SNAPSHOT is invalid because "7-SNAPHOT" is micro number and according to OSGi it needs to be just number. Replacing the numbering for snapshots to this: 1.5.7.SNAPSHOT will work. Bears repeating that this only applies to version numbers inside manifest, not the jar name itself. If you use Maven with maven-bundle-plugin it should be handled automatically.
Hide
Hendy Irawan added a comment -

The error I get from equinox is:

!MESSAGE Error installing bundle: reference:file:org.codehaus.groovy_1.5.7-SNAPSHOT.jar/
!STACK 0
org.osgi.framework.BundleException: For input string: "7-SNAPSHOT"
at org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:78)

which pinpoints the version naming problem inside the manifest.

Show
Hendy Irawan added a comment - The error I get from equinox is: !MESSAGE Error installing bundle: reference:file:org.codehaus.groovy_1.5.7-SNAPSHOT.jar/ !STACK 0 org.osgi.framework.BundleException: For input string: "7-SNAPSHOT" at org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:78) which pinpoints the version naming problem inside the manifest.
Hide
Hendy Irawan added a comment -

I'm trying 1.5.7 (not snapshot) now. Seems not available yet?

Show
Hendy Irawan added a comment - I'm trying 1.5.7 (not snapshot) now. Seems not available yet?
Hide
Paul King added a comment -

No, we have not scheduled the release of 1.5.7. Obviously we would want to iron out any bugs in the snapshot before releasing the final.

I'll repackage up the artifacts to have a dot as this is what we did for 1.6.0.beta-1 ... hold on ...

Show
Paul King added a comment - No, we have not scheduled the release of 1.5.7. Obviously we would want to iron out any bugs in the snapshot before releasing the final. I'll repackage up the artifacts to have a dot as this is what we did for 1.6.0.beta-1 ... hold on ...
Hide
Paul King added a comment -

Can you try again. An updated snapshot with hopefully a better bundle version number should be in the repo.

Show
Paul King added a comment - Can you try again. An updated snapshot with hopefully a better bundle version number should be in the repo.
Hide
Hendy Irawan added a comment -

Thanks, Groovy 1.5.7-SNAPSHOT works out of the box with OSGi. Tested with Equinox and third party dependencies (asm, antlr, etc.).

The dependencies are not from Groovy's repo but from SpringSource Enterprise Repository

id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.2.R33x_v20080105
1 ACTIVE org.eclipse.osgi.util_3.1.200.v20070605
2 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605
3 ACTIVE org.eclipse.equinox.cm_1.0.0.v20080509-1800
4 ACTIVE com.springsource.org.aopalliance_1.0.0
5 ACTIVE com.springsource.net.sf.cglib_2.1.3
6 ACTIVE org.springframework.bundle.spring.beans_2.5.2
7 ACTIVE org.springframework.bundle.spring.aop_2.5.2
8 ACTIVE org.springframework.bundle.spring.core_2.5.2
9 ACTIVE org.springframework.bundle.spring.context_2.5.2
10 ACTIVE org.springframework.bundle.spring.context.support_2.5.2
11 ACTIVE org.springframework.bundle.osgi.core_1.0.2
12 ACTIVE org.springframework.bundle.osgi.io_1.0.2
13 ACTIVE org.springframework.bundle.osgi.extender_1.0.2
14 ACTIVE org.springframework.bundle.osgi.extensions.annotations_1.0.2
15 ACTIVE org.ops4j.pax.logging.pax-logging-api_1.0.0
16 ACTIVE org.ops4j.pax.logging.pax-logging-service_1.0.0
17 ACTIVE com.springsource.antlr_2.7.7
18 ACTIVE com.springsource.org.objectweb.asm.util_2.2.0
19 ACTIVE com.springsource.org.objectweb.asm.tree.attrs_2.2.0
20 ACTIVE com.springsource.org.objectweb.asm.tree.analysis_2.2.0
21 ACTIVE com.springsource.org.objectweb.asm.tree_2.2.0
22 ACTIVE com.springsource.org.objectweb.asm_2.2.0
23 ACTIVE org.codehaus.groovy_1.5.7.SNAPSHOT
24 ACTIVE saxpath_0.0.0
25 ACTIVE jdom_0.0.0
26 ACTIVE jaxen-core_0.0.0
27 ACTIVE jaxen-jdom_0.0.0

osgi> diag 23
initial@reference:file:org.codehaus.groovy_1.5.7.SNAPSHOT.jar/ [23]
Missing imported package org.apache.ant_0.0.0.
Missing imported package org.apache.commons.cli_0.0.0.
Missing imported package org.junit_0.0.0.

osgi> b 23
initial@reference:file:org.codehaus.groovy_1.5.7.SNAPSHOT.jar/ [23]
Id=23, Status=ACTIVE Data Root=/x/extras/vendor/runner/equinox/org.eclipse.osgi/bundles/23/data
No registered services.
No services in use.
Exported packages
groovy.inspect; version="0.0.0"[exported]
groovy.inspect.swingui; version="0.0.0"[exported]
groovy.io; version="0.0.0"[exported]
groovy.lang; version="0.0.0"[exported]
groovy.mock; version="0.0.0"[exported]
groovy.mock.interceptor; version="0.0.0"[exported]
groovy.model; version="0.0.0"[exported]
groovy.security; version="0.0.0"[exported]
groovy.servlet; version="0.0.0"[exported]
groovy.sql; version="0.0.0"[exported]
groovy.swing; version="0.0.0"[exported]
groovy.swing.binding; version="0.0.0"[exported]
groovy.swing.factory; version="0.0.0"[exported]
groovy.swing.impl; version="0.0.0"[exported]
groovy.text; version="0.0.0"[exported]
groovy.time; version="0.0.0"[exported]
groovy.ui; version="0.0.0"[exported]
groovy.ui.icons; version="0.0.0"[exported]
groovy.ui.text; version="0.0.0"[exported]
groovy.ui.view; version="0.0.0"[exported]
groovy.util; version="0.0.0"[exported]
groovy.util.slurpersupport; version="0.0.0"[exported]
groovy.xml; version="0.0.0"[exported]
groovy.xml.dom; version="0.0.0"[exported]
groovy.xml.streamingmarkupsupport; version="0.0.0"[exported]
org.codehaus.groovy; version="0.0.0"[exported]
org.codehaus.groovy.ant; version="0.0.0"[exported]
org.codehaus.groovy.antlr; version="0.0.0"[exported]
org.codehaus.groovy.antlr.java; version="0.0.0"[exported]
org.codehaus.groovy.antlr.parser; version="0.0.0"[exported]
org.codehaus.groovy.antlr.treewalker; version="0.0.0"[exported]
org.codehaus.groovy.ast; version="0.0.0"[exported]
org.codehaus.groovy.ast.expr; version="0.0.0"[exported]
org.codehaus.groovy.ast.stmt; version="0.0.0"[exported]
org.codehaus.groovy.binding; version="0.0.0"[exported]
org.codehaus.groovy.bsf; version="0.0.0"[exported]
org.codehaus.groovy.classgen; version="0.0.0"[exported]
org.codehaus.groovy.control; version="0.0.0"[exported]
org.codehaus.groovy.control.io; version="0.0.0"[exported]
org.codehaus.groovy.control.messages; version="0.0.0"[exported]
org.codehaus.groovy.groovydoc; version="0.0.0"[exported]
org.codehaus.groovy.reflection; version="0.0.0"[exported]
org.codehaus.groovy.runtime; version="0.0.0"[exported]
org.codehaus.groovy.runtime.metaclass; version="0.0.0"[exported]
org.codehaus.groovy.runtime.typehandling; version="0.0.0"[exported]
org.codehaus.groovy.runtime.wrappers; version="0.0.0"[exported]
org.codehaus.groovy.syntax; version="0.0.0"[exported]
org.codehaus.groovy.tools; version="0.0.0"[exported]
org.codehaus.groovy.tools.groovydoc; version="0.0.0"[exported]
org.codehaus.groovy.tools.javac; version="0.0.0"[exported]
org.codehaus.groovy.tools.shell; version="0.0.0"[exported]
org.codehaus.groovy.tools.shell.commands; version="0.0.0"[exported]
org.codehaus.groovy.tools.shell.util; version="0.0.0"[exported]
org.codehaus.groovy.tools.xml; version="0.0.0"[exported]
org.codehaus.groovy.vmplugin; version="0.0.0"[exported]
org.codehaus.groovy.vmplugin.v4; version="0.0.0"[exported]
org.codehaus.groovy.vmplugin.v5; version="0.0.0"[exported]
Imported packages
antlr; version="2.7.7"<initial@reference:file:com.springsource.antlr_2.7.7.jar/ [17]>
org.objectweb.asm; version="2.2.0"<initial@reference:file:com.springsource.org.objectweb.asm_2.2.0.jar/ [22]>
No fragment bundles
Named class space
org.codehaus.groovy; bundle-version="1.5.7.SNAPSHOT"[provided]
No required bundles

Excellent job, Paul! Thanks a lot for your help!

Show
Hendy Irawan added a comment - Thanks, Groovy 1.5.7-SNAPSHOT works out of the box with OSGi. Tested with Equinox and third party dependencies (asm, antlr, etc.). The dependencies are not from Groovy's repo but from SpringSource Enterprise Repository id State Bundle 0 ACTIVE org.eclipse.osgi_3.3.2.R33x_v20080105 1 ACTIVE org.eclipse.osgi.util_3.1.200.v20070605 2 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605 3 ACTIVE org.eclipse.equinox.cm_1.0.0.v20080509-1800 4 ACTIVE com.springsource.org.aopalliance_1.0.0 5 ACTIVE com.springsource.net.sf.cglib_2.1.3 6 ACTIVE org.springframework.bundle.spring.beans_2.5.2 7 ACTIVE org.springframework.bundle.spring.aop_2.5.2 8 ACTIVE org.springframework.bundle.spring.core_2.5.2 9 ACTIVE org.springframework.bundle.spring.context_2.5.2 10 ACTIVE org.springframework.bundle.spring.context.support_2.5.2 11 ACTIVE org.springframework.bundle.osgi.core_1.0.2 12 ACTIVE org.springframework.bundle.osgi.io_1.0.2 13 ACTIVE org.springframework.bundle.osgi.extender_1.0.2 14 ACTIVE org.springframework.bundle.osgi.extensions.annotations_1.0.2 15 ACTIVE org.ops4j.pax.logging.pax-logging-api_1.0.0 16 ACTIVE org.ops4j.pax.logging.pax-logging-service_1.0.0 17 ACTIVE com.springsource.antlr_2.7.7 18 ACTIVE com.springsource.org.objectweb.asm.util_2.2.0 19 ACTIVE com.springsource.org.objectweb.asm.tree.attrs_2.2.0 20 ACTIVE com.springsource.org.objectweb.asm.tree.analysis_2.2.0 21 ACTIVE com.springsource.org.objectweb.asm.tree_2.2.0 22 ACTIVE com.springsource.org.objectweb.asm_2.2.0 23 ACTIVE org.codehaus.groovy_1.5.7.SNAPSHOT 24 ACTIVE saxpath_0.0.0 25 ACTIVE jdom_0.0.0 26 ACTIVE jaxen-core_0.0.0 27 ACTIVE jaxen-jdom_0.0.0 osgi> diag 23 initial@reference:file:org.codehaus.groovy_1.5.7.SNAPSHOT.jar/ [23] Missing imported package org.apache.ant_0.0.0. Missing imported package org.apache.commons.cli_0.0.0. Missing imported package org.junit_0.0.0. osgi> b 23 initial@reference:file:org.codehaus.groovy_1.5.7.SNAPSHOT.jar/ [23] Id=23, Status=ACTIVE Data Root=/x/extras/vendor/runner/equinox/org.eclipse.osgi/bundles/23/data No registered services. No services in use. Exported packages groovy.inspect; version="0.0.0"[exported] groovy.inspect.swingui; version="0.0.0"[exported] groovy.io; version="0.0.0"[exported] groovy.lang; version="0.0.0"[exported] groovy.mock; version="0.0.0"[exported] groovy.mock.interceptor; version="0.0.0"[exported] groovy.model; version="0.0.0"[exported] groovy.security; version="0.0.0"[exported] groovy.servlet; version="0.0.0"[exported] groovy.sql; version="0.0.0"[exported] groovy.swing; version="0.0.0"[exported] groovy.swing.binding; version="0.0.0"[exported] groovy.swing.factory; version="0.0.0"[exported] groovy.swing.impl; version="0.0.0"[exported] groovy.text; version="0.0.0"[exported] groovy.time; version="0.0.0"[exported] groovy.ui; version="0.0.0"[exported] groovy.ui.icons; version="0.0.0"[exported] groovy.ui.text; version="0.0.0"[exported] groovy.ui.view; version="0.0.0"[exported] groovy.util; version="0.0.0"[exported] groovy.util.slurpersupport; version="0.0.0"[exported] groovy.xml; version="0.0.0"[exported] groovy.xml.dom; version="0.0.0"[exported] groovy.xml.streamingmarkupsupport; version="0.0.0"[exported] org.codehaus.groovy; version="0.0.0"[exported] org.codehaus.groovy.ant; version="0.0.0"[exported] org.codehaus.groovy.antlr; version="0.0.0"[exported] org.codehaus.groovy.antlr.java; version="0.0.0"[exported] org.codehaus.groovy.antlr.parser; version="0.0.0"[exported] org.codehaus.groovy.antlr.treewalker; version="0.0.0"[exported] org.codehaus.groovy.ast; version="0.0.0"[exported] org.codehaus.groovy.ast.expr; version="0.0.0"[exported] org.codehaus.groovy.ast.stmt; version="0.0.0"[exported] org.codehaus.groovy.binding; version="0.0.0"[exported] org.codehaus.groovy.bsf; version="0.0.0"[exported] org.codehaus.groovy.classgen; version="0.0.0"[exported] org.codehaus.groovy.control; version="0.0.0"[exported] org.codehaus.groovy.control.io; version="0.0.0"[exported] org.codehaus.groovy.control.messages; version="0.0.0"[exported] org.codehaus.groovy.groovydoc; version="0.0.0"[exported] org.codehaus.groovy.reflection; version="0.0.0"[exported] org.codehaus.groovy.runtime; version="0.0.0"[exported] org.codehaus.groovy.runtime.metaclass; version="0.0.0"[exported] org.codehaus.groovy.runtime.typehandling; version="0.0.0"[exported] org.codehaus.groovy.runtime.wrappers; version="0.0.0"[exported] org.codehaus.groovy.syntax; version="0.0.0"[exported] org.codehaus.groovy.tools; version="0.0.0"[exported] org.codehaus.groovy.tools.groovydoc; version="0.0.0"[exported] org.codehaus.groovy.tools.javac; version="0.0.0"[exported] org.codehaus.groovy.tools.shell; version="0.0.0"[exported] org.codehaus.groovy.tools.shell.commands; version="0.0.0"[exported] org.codehaus.groovy.tools.shell.util; version="0.0.0"[exported] org.codehaus.groovy.tools.xml; version="0.0.0"[exported] org.codehaus.groovy.vmplugin; version="0.0.0"[exported] org.codehaus.groovy.vmplugin.v4; version="0.0.0"[exported] org.codehaus.groovy.vmplugin.v5; version="0.0.0"[exported] Imported packages antlr; version="2.7.7"<initial@reference:file:com.springsource.antlr_2.7.7.jar/ [17]> org.objectweb.asm; version="2.2.0"<initial@reference:file:com.springsource.org.objectweb.asm_2.2.0.jar/ [22]> No fragment bundles Named class space org.codehaus.groovy; bundle-version="1.5.7.SNAPSHOT"[provided] No required bundles Excellent job, Paul! Thanks a lot for your help!
Hide
Paul King added a comment -
Show
Paul King added a comment - Any chance you could try the 1.6 snapshot: http://snapshots.repository.codehaus.org/org/codehaus/groovy/groovy-all/1.6-beta-2-SNAPSHOT/
Hide
Hendy Irawan added a comment -

Thanks Paul. 1.6.beta2.snapshot is working with third-party bundles:

You may close this issue. Thank you.

ss

Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.2.R33x_v20080105
1 ACTIVE org.eclipse.osgi.util_3.1.200.v20070605
2 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605
3 ACTIVE org.eclipse.equinox.cm_1.0.0.v20080509-1800
4 ACTIVE com.springsource.org.aopalliance_1.0.0
5 ACTIVE com.springsource.net.sf.cglib_2.1.3
6 ACTIVE org.springframework.bundle.spring.beans_2.5.2
7 ACTIVE org.springframework.bundle.spring.aop_2.5.2
8 ACTIVE org.springframework.bundle.spring.core_2.5.2
9 ACTIVE org.springframework.bundle.spring.context_2.5.2
10 ACTIVE org.springframework.bundle.spring.context.support_2.5.2
11 ACTIVE org.springframework.bundle.osgi.core_1.0.2
12 ACTIVE org.springframework.bundle.osgi.io_1.0.2
13 ACTIVE org.springframework.bundle.osgi.extender_1.0.2
14 ACTIVE org.springframework.bundle.osgi.extensions.annotations_1.0.2
15 ACTIVE org.ops4j.pax.logging.pax-logging-api_1.0.0
16 ACTIVE org.ops4j.pax.logging.pax-logging-service_1.0.0
17 ACTIVE com.springsource.antlr_2.7.7
18 ACTIVE com.springsource.org.objectweb.asm.util_2.2.0
19 ACTIVE com.springsource.org.objectweb.asm.tree.attrs_2.2.0
20 ACTIVE com.springsource.org.objectweb.asm.tree.analysis_2.2.0
21 ACTIVE com.springsource.org.objectweb.asm.tree_2.2.0
22 ACTIVE com.springsource.org.objectweb.asm_2.2.0
23 ACTIVE org.codehaus.groovy_1.6.0.beta-2-SNAPSHOT

osgi> diag 23
initial@reference:file:org.codehaus.groovy_1.6.0.beta-2-SNAPSHOT.jar/ [23]
Missing imported package org.apache.ant_0.0.0.
Missing imported package org.apache.commons.cli_0.0.0.
Missing imported package org.junit_0.0.0.

osgi> b 23
initial@reference:file:org.codehaus.groovy_1.6.0.beta-2-SNAPSHOT.jar/ [23]
Id=23, Status=ACTIVE Data Root=x/runner/equinox/org.eclipse.osgi/bundles/23/data
No registered services.
No services in use.
Exported packages
groovy.inspect; version="0.0.0"[exported]
groovy.inspect.swingui; version="0.0.0"[exported]
groovy.io; version="0.0.0"[exported]
groovy.lang; version="0.0.0"[exported]
groovy.mock; version="0.0.0"[exported]
groovy.mock.interceptor; version="0.0.0"[exported]
groovy.model; version="0.0.0"[exported]
groovy.security; version="0.0.0"[exported]
groovy.servlet; version="0.0.0"[exported]
groovy.sql; version="0.0.0"[exported]
groovy.swing; version="0.0.0"[exported]
groovy.swing.binding; version="0.0.0"[exported]
groovy.swing.factory; version="0.0.0"[exported]
groovy.swing.impl; version="0.0.0"[exported]
groovy.text; version="0.0.0"[exported]
groovy.time; version="0.0.0"[exported]
groovy.ui; version="0.0.0"[exported]
groovy.ui.icons; version="0.0.0"[exported]
groovy.ui.text; version="0.0.0"[exported]
groovy.ui.view; version="0.0.0"[exported]
groovy.util; version="0.0.0"[exported]
groovy.util.slurpersupport; version="0.0.0"[exported]
groovy.xml; version="0.0.0"[exported]
groovy.xml.dom; version="0.0.0"[exported]
groovy.xml.streamingmarkupsupport; version="0.0.0"[exported]
org.codehaus.groovy; version="0.0.0"[exported]
org.codehaus.groovy.ant; version="0.0.0"[exported]
org.codehaus.groovy.antlr; version="0.0.0"[exported]
org.codehaus.groovy.antlr.java; version="0.0.0"[exported]
org.codehaus.groovy.antlr.parser; version="0.0.0"[exported]
org.codehaus.groovy.antlr.treewalker; version="0.0.0"[exported]
org.codehaus.groovy.ast; version="0.0.0"[exported]
org.codehaus.groovy.ast.expr; version="0.0.0"[exported]
org.codehaus.groovy.ast.stmt; version="0.0.0"[exported]
org.codehaus.groovy.binding; version="0.0.0"[exported]
org.codehaus.groovy.bsf; version="0.0.0"[exported]
org.codehaus.groovy.classgen; version="0.0.0"[exported]
org.codehaus.groovy.control; version="0.0.0"[exported]
org.codehaus.groovy.control.io; version="0.0.0"[exported]
org.codehaus.groovy.control.messages; version="0.0.0"[exported]
org.codehaus.groovy.groovydoc; version="0.0.0"[exported]
org.codehaus.groovy.reflection; version="0.0.0"[exported]
org.codehaus.groovy.runtime; version="0.0.0"[exported]
org.codehaus.groovy.runtime.metaclass; version="0.0.0"[exported]
org.codehaus.groovy.runtime.typehandling; version="0.0.0"[exported]
org.codehaus.groovy.runtime.wrappers; version="0.0.0"[exported]
org.codehaus.groovy.syntax; version="0.0.0"[exported]
org.codehaus.groovy.tools; version="0.0.0"[exported]
org.codehaus.groovy.tools.groovydoc; version="0.0.0"[exported]
org.codehaus.groovy.tools.javac; version="0.0.0"[exported]
org.codehaus.groovy.tools.shell; version="0.0.0"[exported]
org.codehaus.groovy.tools.shell.commands; version="0.0.0"[exported]
org.codehaus.groovy.tools.shell.util; version="0.0.0"[exported]
org.codehaus.groovy.tools.xml; version="0.0.0"[exported]
org.codehaus.groovy.vmplugin; version="0.0.0"[exported]
org.codehaus.groovy.vmplugin.v4; version="0.0.0"[exported]
org.codehaus.groovy.vmplugin.v5; version="0.0.0"[exported]
Imported packages
antlr; version="2.7.7"<initial@reference:file:com.springsource.antlr_2.7.7.jar/ [17]>
org.objectweb.asm; version="2.2.0"<initial@reference:file:com.springsource.org.objectweb.asm_2.2.0.jar/ [22]>
No fragment bundles
Named class space
org.codehaus.groovy; bundle-version="1.6.0.beta-2-SNAPSHOT"[provided]
No required bundles

Show
Hendy Irawan added a comment - Thanks Paul. 1.6.beta2.snapshot is working with third-party bundles: You may close this issue. Thank you. ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.3.2.R33x_v20080105 1 ACTIVE org.eclipse.osgi.util_3.1.200.v20070605 2 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605 3 ACTIVE org.eclipse.equinox.cm_1.0.0.v20080509-1800 4 ACTIVE com.springsource.org.aopalliance_1.0.0 5 ACTIVE com.springsource.net.sf.cglib_2.1.3 6 ACTIVE org.springframework.bundle.spring.beans_2.5.2 7 ACTIVE org.springframework.bundle.spring.aop_2.5.2 8 ACTIVE org.springframework.bundle.spring.core_2.5.2 9 ACTIVE org.springframework.bundle.spring.context_2.5.2 10 ACTIVE org.springframework.bundle.spring.context.support_2.5.2 11 ACTIVE org.springframework.bundle.osgi.core_1.0.2 12 ACTIVE org.springframework.bundle.osgi.io_1.0.2 13 ACTIVE org.springframework.bundle.osgi.extender_1.0.2 14 ACTIVE org.springframework.bundle.osgi.extensions.annotations_1.0.2 15 ACTIVE org.ops4j.pax.logging.pax-logging-api_1.0.0 16 ACTIVE org.ops4j.pax.logging.pax-logging-service_1.0.0 17 ACTIVE com.springsource.antlr_2.7.7 18 ACTIVE com.springsource.org.objectweb.asm.util_2.2.0 19 ACTIVE com.springsource.org.objectweb.asm.tree.attrs_2.2.0 20 ACTIVE com.springsource.org.objectweb.asm.tree.analysis_2.2.0 21 ACTIVE com.springsource.org.objectweb.asm.tree_2.2.0 22 ACTIVE com.springsource.org.objectweb.asm_2.2.0 23 ACTIVE org.codehaus.groovy_1.6.0.beta-2-SNAPSHOT osgi> diag 23 initial@reference:file:org.codehaus.groovy_1.6.0.beta-2-SNAPSHOT.jar/ [23] Missing imported package org.apache.ant_0.0.0. Missing imported package org.apache.commons.cli_0.0.0. Missing imported package org.junit_0.0.0. osgi> b 23 initial@reference:file:org.codehaus.groovy_1.6.0.beta-2-SNAPSHOT.jar/ [23] Id=23, Status=ACTIVE Data Root=x/runner/equinox/org.eclipse.osgi/bundles/23/data No registered services. No services in use. Exported packages groovy.inspect; version="0.0.0"[exported] groovy.inspect.swingui; version="0.0.0"[exported] groovy.io; version="0.0.0"[exported] groovy.lang; version="0.0.0"[exported] groovy.mock; version="0.0.0"[exported] groovy.mock.interceptor; version="0.0.0"[exported] groovy.model; version="0.0.0"[exported] groovy.security; version="0.0.0"[exported] groovy.servlet; version="0.0.0"[exported] groovy.sql; version="0.0.0"[exported] groovy.swing; version="0.0.0"[exported] groovy.swing.binding; version="0.0.0"[exported] groovy.swing.factory; version="0.0.0"[exported] groovy.swing.impl; version="0.0.0"[exported] groovy.text; version="0.0.0"[exported] groovy.time; version="0.0.0"[exported] groovy.ui; version="0.0.0"[exported] groovy.ui.icons; version="0.0.0"[exported] groovy.ui.text; version="0.0.0"[exported] groovy.ui.view; version="0.0.0"[exported] groovy.util; version="0.0.0"[exported] groovy.util.slurpersupport; version="0.0.0"[exported] groovy.xml; version="0.0.0"[exported] groovy.xml.dom; version="0.0.0"[exported] groovy.xml.streamingmarkupsupport; version="0.0.0"[exported] org.codehaus.groovy; version="0.0.0"[exported] org.codehaus.groovy.ant; version="0.0.0"[exported] org.codehaus.groovy.antlr; version="0.0.0"[exported] org.codehaus.groovy.antlr.java; version="0.0.0"[exported] org.codehaus.groovy.antlr.parser; version="0.0.0"[exported] org.codehaus.groovy.antlr.treewalker; version="0.0.0"[exported] org.codehaus.groovy.ast; version="0.0.0"[exported] org.codehaus.groovy.ast.expr; version="0.0.0"[exported] org.codehaus.groovy.ast.stmt; version="0.0.0"[exported] org.codehaus.groovy.binding; version="0.0.0"[exported] org.codehaus.groovy.bsf; version="0.0.0"[exported] org.codehaus.groovy.classgen; version="0.0.0"[exported] org.codehaus.groovy.control; version="0.0.0"[exported] org.codehaus.groovy.control.io; version="0.0.0"[exported] org.codehaus.groovy.control.messages; version="0.0.0"[exported] org.codehaus.groovy.groovydoc; version="0.0.0"[exported] org.codehaus.groovy.reflection; version="0.0.0"[exported] org.codehaus.groovy.runtime; version="0.0.0"[exported] org.codehaus.groovy.runtime.metaclass; version="0.0.0"[exported] org.codehaus.groovy.runtime.typehandling; version="0.0.0"[exported] org.codehaus.groovy.runtime.wrappers; version="0.0.0"[exported] org.codehaus.groovy.syntax; version="0.0.0"[exported] org.codehaus.groovy.tools; version="0.0.0"[exported] org.codehaus.groovy.tools.groovydoc; version="0.0.0"[exported] org.codehaus.groovy.tools.javac; version="0.0.0"[exported] org.codehaus.groovy.tools.shell; version="0.0.0"[exported] org.codehaus.groovy.tools.shell.commands; version="0.0.0"[exported] org.codehaus.groovy.tools.shell.util; version="0.0.0"[exported] org.codehaus.groovy.tools.xml; version="0.0.0"[exported] org.codehaus.groovy.vmplugin; version="0.0.0"[exported] org.codehaus.groovy.vmplugin.v4; version="0.0.0"[exported] org.codehaus.groovy.vmplugin.v5; version="0.0.0"[exported] Imported packages antlr; version="2.7.7"<initial@reference:file:com.springsource.antlr_2.7.7.jar/ [17]> org.objectweb.asm; version="2.2.0"<initial@reference:file:com.springsource.org.objectweb.asm_2.2.0.jar/ [22]> No fragment bundles Named class space org.codehaus.groovy; bundle-version="1.6.0.beta-2-SNAPSHOT"[provided] No required bundles

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: