You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Jean-Philippe Clement <je...@sogeti.com> on 2010/07/07 13:53:17 UTC
Karaf blueprint-ext / blueprint-cm
Hello, I'm using Karaf and I would like some help.
I would like to simplify the configuration of my bundles blueprint XML
files. I wish I could write something in those files such as
"${mydefaultvalue}" which would be automatically resolved when the
bundle is loaded.
Karaf manual gives an example which mentions the "blueprint-ext"
xmlns:ext namespace. Looking into that direction I found things about
"blueprint-cm" (xmlns:cm).
However, using either ext or cm leads my bundle to be stuck to the
"GracePeriod" state.
Could you please help me resolving this problem?
Thanks.
Jean-Philippe Clément
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Karaf blueprint-ext / blueprint-cm
Posted by Guillaume Nodet <gn...@gmail.com>.
Unfortunately no, but those are very similar to the ones from spring.
The property placeholder behaves the same, and the cm stuff should
have the exact same syntax as the one from spring-dm ...
On Wed, Jul 7, 2010 at 19:06, Jean-Philippe Clement
<je...@sogeti.com> wrote:
> Perfect :)
>
> If I could make a last wish: is there any documentation for ext and cm
> functionalities?
>
> Jean-Philippe Clément
>
> Quoting Guillaume Nodet <gn...@gmail.com>:
>
>> See the following schemas:
>>
>> https://svn.apache.org/repos/asf/incubator/aries/tags/blueprint-0.1-incubating/blueprint-core/src/main/resources/org/apache/aries/blueprint/ext/blueprint-ext.xsd
>>
>> https://svn.apache.org/repos/asf/incubator/aries/tags/blueprint-0.1-incubating/blueprint-cm/src/main/resources/org/apache/aries/blueprint/compendium/cm/blueprint-cm.xsd
>>
>> They are also included inside the blueprint jar, so you can point your
>> IDE into it also.
>>
>> On Wed, Jul 7, 2010 at 14:35, Jean-Philippe Clement
>> <je...@sogeti.com> wrote:
>>>
>>> Great, changing the namespace fixed the problem!
>>>
>>> Would it be possible to have the xsd url of each namespace (so the xml
>>> could
>>> be checked)?
>>>
>>> PS: any related documentation link is welcome
>>>
>>> Thanks again,
>>> Jean-Philippe Clément
>>>
>>> Quoting Guillaume Nodet <gn...@gmail.com>:
>>>
>>>> So depending on which karaf version you use, the ext namespace has
>>>> changed.
>>>> In karaf <= 1.4.0, the namespace is
>>>>
>>>>
>>>> xmlns:ext="http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
>>>> as shown in
>>>>
>>>> http://svn.apache.org/repos/asf/felix/releases/karaf-1.4.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
>>>>
>>>> While in karaf >= 1.6.0, the namespace is
>>>>
>>>> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
>>>>
>>>>
>>>> http://svn.apache.org/repos/asf/felix/releases/karaf-1.6.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
>>>>
>>>> This is because the blueprint implementation has been moved from
>>>> Geronimo to Aries project ...
>>>> If you use the right one, you should not have the grace period problem
>>>> anymore.
>>>>
>>>> On Wed, Jul 7, 2010 at 13:53, Jean-Philippe Clement
>>>> <je...@sogeti.com> wrote:
>>>>>
>>>>> Hello, I'm using Karaf and I would like some help.
>>>>>
>>>>> I would like to simplify the configuration of my bundles blueprint XML
>>>>> files. I wish I could write something in those files such as
>>>>> "${mydefaultvalue}" which would be automatically resolved when the
>>>>> bundle
>>>>> is
>>>>> loaded.
>>>>>
>>>>> Karaf manual gives an example which mentions the "blueprint-ext"
>>>>> xmlns:ext
>>>>> namespace. Looking into that direction I found things about
>>>>> "blueprint-cm"
>>>>> (xmlns:cm).
>>>>>
>>>>> However, using either ext or cm leads my bundle to be stuck to the
>>>>> "GracePeriod" state.
>>>>>
>>>>> Could you please help me resolving this problem?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Jean-Philippe Clément
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Cheers,
>>>> Guillaume Nodet
>>>> ------------------------
>>>> Blog: http://gnodet.blogspot.com/
>>>> ------------------------
>>>> Open Source SOA
>>>> http://fusesource.com
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Karaf blueprint-ext / blueprint-cm
Posted by Jean-Philippe Clement <je...@sogeti.com>.
Perfect :)
If I could make a last wish: is there any documentation for ext and cm
functionalities?
Jean-Philippe Clément
Quoting Guillaume Nodet <gn...@gmail.com>:
> See the following schemas:
>
> https://svn.apache.org/repos/asf/incubator/aries/tags/blueprint-0.1-incubating/blueprint-core/src/main/resources/org/apache/aries/blueprint/ext/blueprint-ext.xsd
>
> https://svn.apache.org/repos/asf/incubator/aries/tags/blueprint-0.1-incubating/blueprint-cm/src/main/resources/org/apache/aries/blueprint/compendium/cm/blueprint-cm.xsd
>
> They are also included inside the blueprint jar, so you can point your
> IDE into it also.
>
> On Wed, Jul 7, 2010 at 14:35, Jean-Philippe Clement
> <je...@sogeti.com> wrote:
>> Great, changing the namespace fixed the problem!
>>
>> Would it be possible to have the xsd url of each namespace (so the xml could
>> be checked)?
>>
>> PS: any related documentation link is welcome
>>
>> Thanks again,
>> Jean-Philippe Clément
>>
>> Quoting Guillaume Nodet <gn...@gmail.com>:
>>
>>> So depending on which karaf version you use, the ext namespace has
>>> changed.
>>> In karaf <= 1.4.0, the namespace is
>>>
>>> xmlns:ext="http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
>>> as shown in
>>> http://svn.apache.org/repos/asf/felix/releases/karaf-1.4.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
>>>
>>> While in karaf >= 1.6.0, the namespace is
>>>
>>> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
>>>
>>> http://svn.apache.org/repos/asf/felix/releases/karaf-1.6.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
>>>
>>> This is because the blueprint implementation has been moved from
>>> Geronimo to Aries project ...
>>> If you use the right one, you should not have the grace period problem
>>> anymore.
>>>
>>> On Wed, Jul 7, 2010 at 13:53, Jean-Philippe Clement
>>> <je...@sogeti.com> wrote:
>>>>
>>>> Hello, I'm using Karaf and I would like some help.
>>>>
>>>> I would like to simplify the configuration of my bundles blueprint XML
>>>> files. I wish I could write something in those files such as
>>>> "${mydefaultvalue}" which would be automatically resolved when the bundle
>>>> is
>>>> loaded.
>>>>
>>>> Karaf manual gives an example which mentions the "blueprint-ext"
>>>> xmlns:ext
>>>> namespace. Looking into that direction I found things about
>>>> "blueprint-cm"
>>>> (xmlns:cm).
>>>>
>>>> However, using either ext or cm leads my bundle to be stuck to the
>>>> "GracePeriod" state.
>>>>
>>>> Could you please help me resolving this problem?
>>>>
>>>> Thanks.
>>>>
>>>> Jean-Philippe Clément
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Blog: http://gnodet.blogspot.com/
>>> ------------------------
>>> Open Source SOA
>>> http://fusesource.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Karaf blueprint-ext / blueprint-cm
Posted by Guillaume Nodet <gn...@gmail.com>.
See the following schemas:
https://svn.apache.org/repos/asf/incubator/aries/tags/blueprint-0.1-incubating/blueprint-core/src/main/resources/org/apache/aries/blueprint/ext/blueprint-ext.xsd
https://svn.apache.org/repos/asf/incubator/aries/tags/blueprint-0.1-incubating/blueprint-cm/src/main/resources/org/apache/aries/blueprint/compendium/cm/blueprint-cm.xsd
They are also included inside the blueprint jar, so you can point your
IDE into it also.
On Wed, Jul 7, 2010 at 14:35, Jean-Philippe Clement
<je...@sogeti.com> wrote:
> Great, changing the namespace fixed the problem!
>
> Would it be possible to have the xsd url of each namespace (so the xml could
> be checked)?
>
> PS: any related documentation link is welcome
>
> Thanks again,
> Jean-Philippe Clément
>
> Quoting Guillaume Nodet <gn...@gmail.com>:
>
>> So depending on which karaf version you use, the ext namespace has
>> changed.
>> In karaf <= 1.4.0, the namespace is
>>
>> xmlns:ext="http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
>> as shown in
>> http://svn.apache.org/repos/asf/felix/releases/karaf-1.4.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
>>
>> While in karaf >= 1.6.0, the namespace is
>>
>> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
>>
>> http://svn.apache.org/repos/asf/felix/releases/karaf-1.6.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
>>
>> This is because the blueprint implementation has been moved from
>> Geronimo to Aries project ...
>> If you use the right one, you should not have the grace period problem
>> anymore.
>>
>> On Wed, Jul 7, 2010 at 13:53, Jean-Philippe Clement
>> <je...@sogeti.com> wrote:
>>>
>>> Hello, I'm using Karaf and I would like some help.
>>>
>>> I would like to simplify the configuration of my bundles blueprint XML
>>> files. I wish I could write something in those files such as
>>> "${mydefaultvalue}" which would be automatically resolved when the bundle
>>> is
>>> loaded.
>>>
>>> Karaf manual gives an example which mentions the "blueprint-ext"
>>> xmlns:ext
>>> namespace. Looking into that direction I found things about
>>> "blueprint-cm"
>>> (xmlns:cm).
>>>
>>> However, using either ext or cm leads my bundle to be stuck to the
>>> "GracePeriod" state.
>>>
>>> Could you please help me resolving this problem?
>>>
>>> Thanks.
>>>
>>> Jean-Philippe Clément
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Karaf blueprint-ext / blueprint-cm
Posted by Jean-Philippe Clement <je...@sogeti.com>.
Great, changing the namespace fixed the problem!
Would it be possible to have the xsd url of each namespace (so the xml could
be checked)?
PS: any related documentation link is welcome
Thanks again,
Jean-Philippe Clément
Quoting Guillaume Nodet <gn...@gmail.com>:
> So depending on which karaf version you use, the ext namespace has changed.
> In karaf <= 1.4.0, the namespace is
>
> xmlns:ext="http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
> as shown in
> http://svn.apache.org/repos/asf/felix/releases/karaf-1.4.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
>
> While in karaf >= 1.6.0, the namespace is
> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
> http://svn.apache.org/repos/asf/felix/releases/karaf-1.6.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
>
> This is because the blueprint implementation has been moved from
> Geronimo to Aries project ...
> If you use the right one, you should not have the grace period
> problem anymore.
>
> On Wed, Jul 7, 2010 at 13:53, Jean-Philippe Clement
> <je...@sogeti.com> wrote:
>> Hello, I'm using Karaf and I would like some help.
>>
>> I would like to simplify the configuration of my bundles blueprint XML
>> files. I wish I could write something in those files such as
>> "${mydefaultvalue}" which would be automatically resolved when the bundle is
>> loaded.
>>
>> Karaf manual gives an example which mentions the "blueprint-ext" xmlns:ext
>> namespace. Looking into that direction I found things about "blueprint-cm"
>> (xmlns:cm).
>>
>> However, using either ext or cm leads my bundle to be stuck to the
>> "GracePeriod" state.
>>
>> Could you please help me resolving this problem?
>>
>> Thanks.
>>
>> Jean-Philippe Clément
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Karaf blueprint-ext / blueprint-cm
Posted by Guillaume Nodet <gn...@gmail.com>.
So depending on which karaf version you use, the ext namespace has changed.
In karaf <= 1.4.0, the namespace is
xmlns:ext="http://geronimo.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
as shown in http://svn.apache.org/repos/asf/felix/releases/karaf-1.4.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
While in karaf >= 1.6.0, the namespace is
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
http://svn.apache.org/repos/asf/felix/releases/karaf-1.6.0/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml
This is because the blueprint implementation has been moved from
Geronimo to Aries project ...
If you use the right one, you should not have the grace period problem anymore.
On Wed, Jul 7, 2010 at 13:53, Jean-Philippe Clement
<je...@sogeti.com> wrote:
> Hello, I'm using Karaf and I would like some help.
>
> I would like to simplify the configuration of my bundles blueprint XML
> files. I wish I could write something in those files such as
> "${mydefaultvalue}" which would be automatically resolved when the bundle is
> loaded.
>
> Karaf manual gives an example which mentions the "blueprint-ext" xmlns:ext
> namespace. Looking into that direction I found things about "blueprint-cm"
> (xmlns:cm).
>
> However, using either ext or cm leads my bundle to be stuck to the
> "GracePeriod" state.
>
> Could you please help me resolving this problem?
>
> Thanks.
>
> Jean-Philippe Clément
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org