Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351307

Summary: Namespace-Handler confusion
Product: [RT] Gemini.Blueprint Reporter: Stefan Meißner (davengo GmbH) <s.meissner>
Component: CoreAssignee: Project Inbox <gemini.blueprint-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cleau
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
The first patch
none
The cleaned first patch (not reformatted the source) none

Description Stefan Meißner (davengo GmbH) CLA 2011-07-06 07:20:07 EDT
Build Identifier: 

When using Gemini Blueprint without "-Dorg.eclipse.gemini.blueprint.ns.bundles.started=true" the NamespaceBundleLister is created for monitor RESOLVED bundles, but the loaded Bundles still get only added to the NamespaceManager when they are ACTIVE (started). 

This way some Bundles never get scanned by the NamespaceManager for the schema files (spring.handlers, spring.schemas).

Reproducible: Didn't try

Steps to Reproduce:
1. use a schema like http://www.springframework.org/schema/osgi       http://www.springframework.org/schema/osgi/spring-osg in your bundles context
2. start the framework without setting "-Dorg.eclipse.gemini.blueprint.ns.bundles.started=true"
3. see resolution of the namespace failing because org.eclipse.gemini.blueprint.core was not started when the extender is activated and never will get resolved again.
Comment 1 Stefan Meißner (davengo GmbH) CLA 2011-07-06 07:21:00 EDT
Created attachment 199176 [details]
The first patch
Comment 2 Stefan Meißner (davengo GmbH) CLA 2011-07-06 07:21:40 EDT
Created attachment 199177 [details]
The cleaned first patch (not reformatted the source)
Comment 3 Costin Leau CLA 2011-08-22 14:51:33 EDT
Thanks - however by setting the properties you are requesting that only bundles in started state are used (instead of just resolved).
Since you want the opposite you should not define it or define it as false.

However your point out a problem with the already installed bundles which I fixed in trunk.
Comment 4 Olaf Otto CLA 2017-05-09 09:41:34 EDT
Released - closing.