Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread David Jencks
Stack trace for felix scr command NPE?

in my experience the gogo annotations have to be loaded before scr in order for 
the “help” on the command to work, but I don’t recall an NPE.  AFAICT to fix 
this (missing help) the scr gogo command would have to be in a separate bundle. 
 

thanks
david jencks

> On Sep 5, 2016, at 10:16 AM, Benson Margulies  wrote:
> 
> Hmm. At one point, the Felix scr command NPE'd without shell-compat. I
> guess I'll try it again in 4.0.6.
> 
> On the other hand, I'm probably stuck with blueprint sooner or later
> due to some other dependencies, so perhaps I should let this go.
> 
> Thanks.
> benson
> 
> 
> On Mon, Sep 5, 2016 at 1:14 PM, Jean-Baptiste Onofré  
> wrote:
>> Yes shell-compat is the feature to use to support gogo commands and "old
>> style" Karaf commands (which were using blueprint). Afair gogo commands also
>> work directly in shell console without compat.
>> 
>> Regards
>> JB
>> 
>> Regards
>> JB
>> 
>> On Sep 5, 2016, at 19:02, Benson Margulies  wrote:
>>> 
>>> shell-compat, via the shell 'console', depends on blueprint. Proof
>>> below. shell does not. Minimal includes shell, not shell-compat. This
>>> is sad, as shell-compat is required to make gogo commands work right.
>>> But it explains my confusion, as I thought that shell-compat was in
>>> 'minimal' and I was wrong.
>>> 
>>> The details are as follows:
>>> 
>>> [caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
>>> missing requirement [org.apache.karaf.shell.console/4.0.6]
>>> osgi.wiring.package;
>>> 
>>> filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
>>> 
>>> The MANIFEST.MF for the 4.0.6 version of
>>> org.apache.karaf.shell.console. It has a Bundle-Blueprint and here is
>>> a fragment.
>>> 
>>> org.apache.k
>>> araf.shell.console;version="4.0.6";uses:="org.apache.felix.service.comm
>>> and,org.apache.karaf.shell.commands,org.osgi.framework,org.osgi.service
>>> .blueprint.container,org.slf4j"
>>> 
>>> 
>>> On
>>> Mon, Sep 5, 2016 at 11:49 AM, Jean-Baptiste Onofré 
>>> wrote:
 
 It's maybe because your bundles require blueprint (or a feature
 dependency),
 no ?
 
 If you use the karaf-service-maven-plugin with the Karaf shell
 annotations,
 it doesn't use blueprint.
 
 Regards
 JB
 
 On 09/05/2016 05:46 PM, Benson Margulies wrote:
> 
> 
> That error I sent is from karaf 4.0.6. it seems to me to be saying that
> the shell requires blueprint. Am I misreading it?
> 
> 
> On Sep 5, 2016 11:21 AM, "Jean-Baptiste Onofré"  > wrote:
> 
> Hi Benson,
> 
> on Karaf 4, shell doesn't depend to blueprint anymore.
> 
> Regards
> JB
> 
> 
> On 09/05/2016 05:07 PM, Benson Margulies wrote:
> 
> Achim, Yes, I understand the principle. What I don't understand
> is how
> anyone uses 'minimal'. Minimal includes shell, and shell
> requires
> blueprint, and blueprint isn't 'minimal'. Or is the idea that
> no
> one
> should try to use minimal, it's just a building block for
> standard and
> others?
> 
> 
> On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck
> >
> wrote:
> 
> yep it's minimal so only the minimal required bundles are
> there.
> Blueprint is part of standard, as that isn't minimal
> anymore
> ...
> 
> regards, Achiim
> 
> 
> 2016-09-05 16:45 GMT+02:00 Benson Margulies
> >:
> 
> 
> 
> Folks,
> 
> 
>When I try to run an assembly that lists 'minimal' as a
> boot feature,
> I get this error, indicating that (If I read it
> correctly) the shell
> requires blueprint. Is this intended? I can switch to
> 'standard'
> easily enough.
> 
> 
> 2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
> BootFeaturesInstaller| 6 -
> org.apache.karaf.features.core
> - 4.0.6 | Error installing boot features
> org.osgi.service.resolver.ResolutionException: Unable
> to
> resolve root:
> missing requirement [root] osgi.identity;
> osgi.identity=rosapi-front-end-service;
> type=karaf.feature;
> version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";
> 
> 
> 
> 
> 

Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Benson Margulies
Hmm. At one point, the Felix scr command NPE'd without shell-compat. I
guess I'll try it again in 4.0.6.

On the other hand, I'm probably stuck with blueprint sooner or later
due to some other dependencies, so perhaps I should let this go.

Thanks.
benson


On Mon, Sep 5, 2016 at 1:14 PM, Jean-Baptiste Onofré  wrote:
> Yes shell-compat is the feature to use to support gogo commands and "old
> style" Karaf commands (which were using blueprint). Afair gogo commands also
> work directly in shell console without compat.
>
> Regards
> JB
>
> Regards
> JB
>
> On Sep 5, 2016, at 19:02, Benson Margulies  wrote:
>>
>> shell-compat, via the shell 'console', depends on blueprint. Proof
>> below. shell does not. Minimal includes shell, not shell-compat. This
>> is sad, as shell-compat is required to make gogo commands work right.
>> But it explains my confusion, as I thought that shell-compat was in
>> 'minimal' and I was wrong.
>>
>> The details are as follows:
>>
>> [caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
>> missing requirement [org.apache.karaf.shell.console/4.0.6]
>> osgi.wiring.package;
>>
>> filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
>>
>> The MANIFEST.MF for the 4.0.6 version of
>> org.apache.karaf.shell.console. It has a Bundle-Blueprint and here is
>> a fragment.
>>
>> org.apache.k
>>  araf.shell.console;version="4.0.6";uses:="org.apache.felix.service.comm
>>  and,org.apache.karaf.shell.commands,org.osgi.framework,org.osgi.service
>>  .blueprint.container,org.slf4j"
>>
>>
>> On
>> Mon, Sep 5, 2016 at 11:49 AM, Jean-Baptiste Onofré 
>> wrote:
>>>
>>>  It's maybe because your bundles require blueprint (or a feature
>>> dependency),
>>>  no ?
>>>
>>>  If you use the karaf-service-maven-plugin with the Karaf shell
>>> annotations,
>>>  it doesn't use blueprint.
>>>
>>>  Regards
>>>  JB
>>>
>>>  On 09/05/2016 05:46 PM, Benson Margulies wrote:


  That error I sent is from karaf 4.0.6. it seems to me to be saying that
  the shell requires blueprint. Am I misreading it?


  On Sep 5, 2016 11:21 AM, "Jean-Baptiste Onofré" > wrote:

  Hi Benson,

  on Karaf 4, shell doesn't depend to blueprint anymore.

  Regards
  JB


 On 09/05/2016 05:07 PM, Benson Margulies wrote:

  Achim, Yes, I understand the principle. What I don't understand
  is how
  anyone uses 'minimal'. Minimal includes shell, and shell
 requires
  blueprint, and blueprint isn't 'minimal'. Or is the idea that
 no
  one
  should try to use minimal, it's just a building block for
  standard and
  others?


  On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck
  >
 wrote:

  yep it's minimal so only the minimal required bundles are
  there.
  Blueprint is part of standard, as that isn't minimal
 anymore
  ...

  regards, Achiim


  2016-09-05 16:45 GMT+02:00 Benson Margulies
  >:



  Folks,


 When I try to run an assembly that lists 'minimal' as a
  boot feature,
  I get this error, indicating that (If I read it
  correctly) the shell
  requires blueprint. Is this intended? I can switch to
  'standard'
  easily enough.


  2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
  BootFeaturesInstaller| 6 -
  org.apache.karaf.features.core
  - 4.0.6 | Error installing boot features
  org.osgi.service.resolver.ResolutionException: Unable
 to
  resolve root:
  missing requirement [root] osgi.identity;
  osgi.identity=rosapi-front-end-service;
  type=karaf.feature;
  version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";




 filter:="(&(osgi.identity=rosapi-front-end-service)(type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
  [caused by: Unable to resolve
  rosapi-front-end-service/1.2.6.SNAPSHOT:
  missing requirement
  [rosapi-front-end-service/1.2.6.SNAPSHOT]
  osgi.identity;
  osgi.identity=org.apache.karaf.shell.console;
  type=osgi.fragment; version="[4.0.6,4.0.6]";
  resolution:=mandatory
  

Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Benson Margulies
shell-compat, via the shell 'console', depends on blueprint. Proof
below. shell does not. Minimal includes shell, not shell-compat. This
is sad, as shell-compat is required to make gogo commands work right.
But it explains my confusion, as I thought that shell-compat was in
'minimal' and I was wrong.

The details are as follows:

[caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
missing requirement [org.apache.karaf.shell.console/4.0.6]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]

The MANIFEST.MF for the 4.0.6 version of
org.apache.karaf.shell.console. It has a Bundle-Blueprint and here is
a fragment.

org.apache.k
 araf.shell.console;version="4.0.6";uses:="org.apache.felix.service.comm
 and,org.apache.karaf.shell.commands,org.osgi.framework,org.osgi.service
 .blueprint.container,org.slf4j"


On Mon, Sep 5, 2016 at 11:49 AM, Jean-Baptiste Onofré  wrote:
> It's maybe because your bundles require blueprint (or a feature dependency),
> no ?
>
> If you use the karaf-service-maven-plugin with the Karaf shell annotations,
> it doesn't use blueprint.
>
> Regards
> JB
>
> On 09/05/2016 05:46 PM, Benson Margulies wrote:
>>
>> That error I sent is from karaf 4.0.6. it seems to me to be saying that
>> the shell requires blueprint. Am I misreading it?
>>
>>
>> On Sep 5, 2016 11:21 AM, "Jean-Baptiste Onofré" > > wrote:
>>
>> Hi Benson,
>>
>> on Karaf 4, shell doesn't depend to blueprint anymore.
>>
>> Regards
>> JB
>>
>> On 09/05/2016 05:07 PM, Benson Margulies wrote:
>>
>> Achim, Yes, I understand the principle. What I don't understand
>> is how
>> anyone uses 'minimal'. Minimal includes shell, and shell requires
>> blueprint, and blueprint isn't 'minimal'. Or is the idea that no
>> one
>> should try to use minimal, it's just a building block for
>> standard and
>> others?
>>
>>
>> On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck
>> > wrote:
>>
>> yep it's minimal so only the minimal required bundles are
>> there.
>> Blueprint is part of standard, as that isn't minimal anymore
>> ...
>>
>> regards, Achiim
>>
>>
>> 2016-09-05 16:45 GMT+02:00 Benson Margulies
>> >:
>>
>>
>>
>> Folks,
>>
>> When I try to run an assembly that lists 'minimal' as a
>> boot feature,
>> I get this error, indicating that (If I read it
>> correctly) the shell
>> requires blueprint. Is this intended? I can switch to
>> 'standard'
>> easily enough.
>>
>>
>> 2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
>> BootFeaturesInstaller| 6 -
>> org.apache.karaf.features.core
>> - 4.0.6 | Error installing boot features
>> org.osgi.service.resolver.ResolutionException: Unable to
>> resolve root:
>> missing requirement [root] osgi.identity;
>> osgi.identity=rosapi-front-end-service;
>> type=karaf.feature;
>> version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";
>>
>>
>> filter:="(&(osgi.identity=rosapi-front-end-service)(type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
>> [caused by: Unable to resolve
>> rosapi-front-end-service/1.2.6.SNAPSHOT:
>> missing requirement
>> [rosapi-front-end-service/1.2.6.SNAPSHOT]
>> osgi.identity;
>> osgi.identity=org.apache.karaf.shell.console;
>> type=osgi.fragment; version="[4.0.6,4.0.6]";
>> resolution:=mandatory
>> [caused by: Unable to resolve
>> org.apache.karaf.shell.console/4.0.6:
>> missing requirement [org.apache.karaf.shell.console/4.0.6]
>> osgi.wiring.package;
>>
>>
>> filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
>> at
>>
>> org.apache.felix.resolver.ResolutionError.toException(Resolutio
>>
>>
>>
>>
>>
>> --
>>
>> Apache Member
>> Apache Karaf  Committer & PMC
>> OPS4J Pax Web > > Committer &
>> Project Lead
>> blog 
>> Co-Author of Apache Karaf Cookbook 
>>
>> Software Architect / Project Manager / Scrum Master
>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbono...@apache.org 

Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Jean-Baptiste Onofré
It's maybe because your bundles require blueprint (or a feature 
dependency), no ?


If you use the karaf-service-maven-plugin with the Karaf shell 
annotations, it doesn't use blueprint.


Regards
JB

On 09/05/2016 05:46 PM, Benson Margulies wrote:

That error I sent is from karaf 4.0.6. it seems to me to be saying that
the shell requires blueprint. Am I misreading it?


On Sep 5, 2016 11:21 AM, "Jean-Baptiste Onofré" > wrote:

Hi Benson,

on Karaf 4, shell doesn't depend to blueprint anymore.

Regards
JB

On 09/05/2016 05:07 PM, Benson Margulies wrote:

Achim, Yes, I understand the principle. What I don't understand
is how
anyone uses 'minimal'. Minimal includes shell, and shell requires
blueprint, and blueprint isn't 'minimal'. Or is the idea that no one
should try to use minimal, it's just a building block for
standard and
others?


On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck
> wrote:

yep it's minimal so only the minimal required bundles are there.
Blueprint is part of standard, as that isn't minimal anymore ...

regards, Achiim


2016-09-05 16:45 GMT+02:00 Benson Margulies
>:


Folks,

When I try to run an assembly that lists 'minimal' as a
boot feature,
I get this error, indicating that (If I read it
correctly) the shell
requires blueprint. Is this intended? I can switch to
'standard'
easily enough.


2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
BootFeaturesInstaller| 6 -
org.apache.karaf.features.core
- 4.0.6 | Error installing boot features
org.osgi.service.resolver.ResolutionException: Unable to
resolve root:
missing requirement [root] osgi.identity;
osgi.identity=rosapi-front-end-service; type=karaf.feature;
version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";


filter:="(&(osgi.identity=rosapi-front-end-service)(type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
[caused by: Unable to resolve
rosapi-front-end-service/1.2.6.SNAPSHOT:
missing requirement
[rosapi-front-end-service/1.2.6.SNAPSHOT]
osgi.identity; osgi.identity=org.apache.karaf.shell.console;
type=osgi.fragment; version="[4.0.6,4.0.6]";
resolution:=mandatory
[caused by: Unable to resolve
org.apache.karaf.shell.console/4.0.6:
missing requirement [org.apache.karaf.shell.console/4.0.6]
osgi.wiring.package;


filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
at
org.apache.felix.resolver.ResolutionError.toException(Resolutio





--

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web > Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


--
Jean-Baptiste Onofré
jbono...@apache.org 
http://blog.nanthrax.net
Talend - http://www.talend.com



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Benson Margulies
That error I sent is from karaf 4.0.6. it seems to me to be saying that the
shell requires blueprint. Am I misreading it?

On Sep 5, 2016 11:21 AM, "Jean-Baptiste Onofré"  wrote:

> Hi Benson,
>
> on Karaf 4, shell doesn't depend to blueprint anymore.
>
> Regards
> JB
>
> On 09/05/2016 05:07 PM, Benson Margulies wrote:
>
>> Achim, Yes, I understand the principle. What I don't understand is how
>> anyone uses 'minimal'. Minimal includes shell, and shell requires
>> blueprint, and blueprint isn't 'minimal'. Or is the idea that no one
>> should try to use minimal, it's just a building block for standard and
>> others?
>>
>>
>> On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck 
>> wrote:
>>
>>> yep it's minimal so only the minimal required bundles are there.
>>> Blueprint is part of standard, as that isn't minimal anymore ...
>>>
>>> regards, Achiim
>>>
>>>
>>> 2016-09-05 16:45 GMT+02:00 Benson Margulies :
>>>

 Folks,

 When I try to run an assembly that lists 'minimal' as a boot feature,
 I get this error, indicating that (If I read it correctly) the shell
 requires blueprint. Is this intended? I can switch to 'standard'
 easily enough.


 2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
 BootFeaturesInstaller| 6 - org.apache.karaf.features.core
 - 4.0.6 | Error installing boot features
 org.osgi.service.resolver.ResolutionException: Unable to resolve root:
 missing requirement [root] osgi.identity;
 osgi.identity=rosapi-front-end-service; type=karaf.feature;
 version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";

 filter:="(&(osgi.identity=rosapi-front-end-service)(type=
 karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
 [caused by: Unable to resolve rosapi-front-end-service/1.2.6.SNAPSHOT:
 missing requirement [rosapi-front-end-service/1.2.6.SNAPSHOT]
 osgi.identity; osgi.identity=org.apache.karaf.shell.console;
 type=osgi.fragment; version="[4.0.6,4.0.6]"; resolution:=mandatory
 [caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
 missing requirement [org.apache.karaf.shell.console/4.0.6]
 osgi.wiring.package;

 filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(
 version>=1.5.0)(!(version>=2.0.0)))"]]
 at org.apache.felix.resolver.ResolutionError.toException(Resolutio

>>>
>>>
>>>
>>>
>>> --
>>>
>>> Apache Member
>>> Apache Karaf  Committer & PMC
>>> OPS4J Pax Web  Committer
>>> &
>>> Project Lead
>>> blog 
>>> Co-Author of Apache Karaf Cookbook 
>>>
>>> Software Architect / Project Manager / Scrum Master
>>>
>>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Jean-Baptiste Onofré

Hi Benson,

on Karaf 4, shell doesn't depend to blueprint anymore.

Regards
JB

On 09/05/2016 05:07 PM, Benson Margulies wrote:

Achim, Yes, I understand the principle. What I don't understand is how
anyone uses 'minimal'. Minimal includes shell, and shell requires
blueprint, and blueprint isn't 'minimal'. Or is the idea that no one
should try to use minimal, it's just a building block for standard and
others?


On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck  wrote:

yep it's minimal so only the minimal required bundles are there.
Blueprint is part of standard, as that isn't minimal anymore ...

regards, Achiim


2016-09-05 16:45 GMT+02:00 Benson Margulies :


Folks,

When I try to run an assembly that lists 'minimal' as a boot feature,
I get this error, indicating that (If I read it correctly) the shell
requires blueprint. Is this intended? I can switch to 'standard'
easily enough.


2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
BootFeaturesInstaller| 6 - org.apache.karaf.features.core
- 4.0.6 | Error installing boot features
org.osgi.service.resolver.ResolutionException: Unable to resolve root:
missing requirement [root] osgi.identity;
osgi.identity=rosapi-front-end-service; type=karaf.feature;
version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";

filter:="(&(osgi.identity=rosapi-front-end-service)(type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
[caused by: Unable to resolve rosapi-front-end-service/1.2.6.SNAPSHOT:
missing requirement [rosapi-front-end-service/1.2.6.SNAPSHOT]
osgi.identity; osgi.identity=org.apache.karaf.shell.console;
type=osgi.fragment; version="[4.0.6,4.0.6]"; resolution:=mandatory
[caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
missing requirement [org.apache.karaf.shell.console/4.0.6]
osgi.wiring.package;

filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
at org.apache.felix.resolver.ResolutionError.toException(Resolutio





--

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Achim Nierbeck
for Karaf 4, blueprint isn't required to be used for shell, therefore it's
no requirement and works right away.
Take a look here:
https://github.com/ANierbeck/Karaf-Vertx/blob/master/Vertx-Karaf/pom.xml#L177-L178
This project also has custom shell commands, and doesn't need blueprint.

regards, Achim

2016-09-05 17:07 GMT+02:00 Benson Margulies :

> Achim, Yes, I understand the principle. What I don't understand is how
> anyone uses 'minimal'. Minimal includes shell, and shell requires
> blueprint, and blueprint isn't 'minimal'. Or is the idea that no one
> should try to use minimal, it's just a building block for standard and
> others?
>
>
> On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck 
> wrote:
> > yep it's minimal so only the minimal required bundles are there.
> > Blueprint is part of standard, as that isn't minimal anymore ...
> >
> > regards, Achiim
> >
> >
> > 2016-09-05 16:45 GMT+02:00 Benson Margulies :
> >>
> >> Folks,
> >>
> >> When I try to run an assembly that lists 'minimal' as a boot feature,
> >> I get this error, indicating that (If I read it correctly) the shell
> >> requires blueprint. Is this intended? I can switch to 'standard'
> >> easily enough.
> >>
> >>
> >> 2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
> >> BootFeaturesInstaller| 6 - org.apache.karaf.features.core
> >> - 4.0.6 | Error installing boot features
> >> org.osgi.service.resolver.ResolutionException: Unable to resolve root:
> >> missing requirement [root] osgi.identity;
> >> osgi.identity=rosapi-front-end-service; type=karaf.feature;
> >> version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";
> >>
> >> filter:="(&(osgi.identity=rosapi-front-end-service)(
> type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
> >> [caused by: Unable to resolve rosapi-front-end-service/1.2.6.SNAPSHOT:
> >> missing requirement [rosapi-front-end-service/1.2.6.SNAPSHOT]
> >> osgi.identity; osgi.identity=org.apache.karaf.shell.console;
> >> type=osgi.fragment; version="[4.0.6,4.0.6]"; resolution:=mandatory
> >> [caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
> >> missing requirement [org.apache.karaf.shell.console/4.0.6]
> >> osgi.wiring.package;
> >>
> >> filter:="(&(osgi.wiring.package=org.apache.aries.
> blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
> >> at org.apache.felix.resolver.ResolutionError.toException(Resolutio
> >
> >
> >
> >
> > --
> >
> > Apache Member
> > Apache Karaf  Committer & PMC
> > OPS4J Pax Web  Committer
> &
> > Project Lead
> > blog 
> > Co-Author of Apache Karaf Cookbook 
> >
> > Software Architect / Project Manager / Scrum Master
> >
>



-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Benson Margulies
Achim, Yes, I understand the principle. What I don't understand is how
anyone uses 'minimal'. Minimal includes shell, and shell requires
blueprint, and blueprint isn't 'minimal'. Or is the idea that no one
should try to use minimal, it's just a building block for standard and
others?


On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck  wrote:
> yep it's minimal so only the minimal required bundles are there.
> Blueprint is part of standard, as that isn't minimal anymore ...
>
> regards, Achiim
>
>
> 2016-09-05 16:45 GMT+02:00 Benson Margulies :
>>
>> Folks,
>>
>> When I try to run an assembly that lists 'minimal' as a boot feature,
>> I get this error, indicating that (If I read it correctly) the shell
>> requires blueprint. Is this intended? I can switch to 'standard'
>> easily enough.
>>
>>
>> 2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
>> BootFeaturesInstaller| 6 - org.apache.karaf.features.core
>> - 4.0.6 | Error installing boot features
>> org.osgi.service.resolver.ResolutionException: Unable to resolve root:
>> missing requirement [root] osgi.identity;
>> osgi.identity=rosapi-front-end-service; type=karaf.feature;
>> version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";
>>
>> filter:="(&(osgi.identity=rosapi-front-end-service)(type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
>> [caused by: Unable to resolve rosapi-front-end-service/1.2.6.SNAPSHOT:
>> missing requirement [rosapi-front-end-service/1.2.6.SNAPSHOT]
>> osgi.identity; osgi.identity=org.apache.karaf.shell.console;
>> type=osgi.fragment; version="[4.0.6,4.0.6]"; resolution:=mandatory
>> [caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
>> missing requirement [org.apache.karaf.shell.console/4.0.6]
>> osgi.wiring.package;
>>
>> filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
>> at org.apache.felix.resolver.ResolutionError.toException(Resolutio
>
>
>
>
> --
>
> Apache Member
> Apache Karaf  Committer & PMC
> OPS4J Pax Web  Committer &
> Project Lead
> blog 
> Co-Author of Apache Karaf Cookbook 
>
> Software Architect / Project Manager / Scrum Master
>


Re: Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Achim Nierbeck
yep it's minimal so only the minimal required bundles are there.
Blueprint is part of standard, as that isn't minimal anymore ...

regards, Achiim


2016-09-05 16:45 GMT+02:00 Benson Margulies :

> Folks,
>
> When I try to run an assembly that lists 'minimal' as a boot feature,
> I get this error, indicating that (If I read it correctly) the shell
> requires blueprint. Is this intended? I can switch to 'standard'
> easily enough.
>
>
> 2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
> BootFeaturesInstaller| 6 - org.apache.karaf.features.core
> - 4.0.6 | Error installing boot features
> org.osgi.service.resolver.ResolutionException: Unable to resolve root:
> missing requirement [root] osgi.identity;
> osgi.identity=rosapi-front-end-service; type=karaf.feature;
> version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";
> filter:="(&(osgi.identity=rosapi-front-end-service)(
> type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
> [caused by: Unable to resolve rosapi-front-end-service/1.2.6.SNAPSHOT:
> missing requirement [rosapi-front-end-service/1.2.6.SNAPSHOT]
> osgi.identity; osgi.identity=org.apache.karaf.shell.console;
> type=osgi.fragment; version="[4.0.6,4.0.6]"; resolution:=mandatory
> [caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
> missing requirement [org.apache.karaf.shell.console/4.0.6]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.apache.aries.
> blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
> at org.apache.felix.resolver.ResolutionError.toException(Resolutio
>



-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


Is blueprint missing from the 'minimal' feature?

2016-09-05 Thread Benson Margulies
Folks,

When I try to run an assembly that lists 'minimal' as a boot feature,
I get this error, indicating that (If I read it correctly) the shell
requires blueprint. Is this intended? I can switch to 'standard'
easily enough.


2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
BootFeaturesInstaller| 6 - org.apache.karaf.features.core
- 4.0.6 | Error installing boot features
org.osgi.service.resolver.ResolutionException: Unable to resolve root:
missing requirement [root] osgi.identity;
osgi.identity=rosapi-front-end-service; type=karaf.feature;
version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";
filter:="(&(osgi.identity=rosapi-front-end-service)(type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
[caused by: Unable to resolve rosapi-front-end-service/1.2.6.SNAPSHOT:
missing requirement [rosapi-front-end-service/1.2.6.SNAPSHOT]
osgi.identity; osgi.identity=org.apache.karaf.shell.console;
type=osgi.fragment; version="[4.0.6,4.0.6]"; resolution:=mandatory
[caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
missing requirement [org.apache.karaf.shell.console/4.0.6]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
at org.apache.felix.resolver.ResolutionError.toException(Resolutio