You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Milen Dyankov <mi...@gmail.com> on 2015/02/02 12:15:05 UTC
Karaf 4 and cellar
Hi everyone,
can someone give me a hint about the best way to play with Karaf 4 and
Cellar please?
I triad installing Cellar 3.0.1 on Karaf 4.0.0.M1 and I got some weird
error:
>feature:install cellar
> Error executing command: Unable to resolve root: missing requirement
> [root] osgi.identity; osgi.identity=cellar-shell; type=karaf.feature;
> version=3.0.1 [caused by: Unable to resolve cellar-shell/3.0.1: missing
> requirement [cellar-shell/3.0.1] osgi.identity;
> osgi.identity=org.apache.karaf.cellar.shell; type=osgi.bundle;
> version="[3.0.1,3.0.1]"; resolution:=mandatory [caused by: Unable to
> resolve 101.0: missing requirement [101.0] osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.felix.service.command)(version>=0.12.0)(!(version>=1.0.0)))]]
The reason I'm saying it's weird is because the package it complains about
seems to exported
>package:exports | grep org.apache.felix.service.command
> org.apache.felix.service.command |
> 0.12.1 | 40 | org.apache.karaf.shell.console
Can someone throw some light on Karaf vs Cell versioning scheme please? Am
I right to assume that Cellar 3.x is not expected to work on Karaf 4.x ? If
so is my only option to experiment with it to build Cellar from source? Do
I also need to build Karaf form master (I see quite some changes
since 4.0.0.M1)?
Best,
Milen
Re: Karaf 4 and cellar
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Milen,
Cellar 3.0.x is designed to work on Karaf 4.0.x.
I updated the Cellar master (4.0.0-SNAPSHOT) to work on Karaf 4.
I will push today and release Cellar 4.0.0.M1.
Regards
JB
On 02/02/2015 12:15 PM, Milen Dyankov wrote:
> Hi everyone,
>
> can someone give me a hint about the best way to play with Karaf 4 and
> Cellar please?
> I triad installing Cellar 3.0.1 on Karaf 4.0.0.M1 and I got some weird
> error:
>
> >feature:install cellar
> Error executing command: Unable to resolve root: missing requirement
> [root] osgi.identity; osgi.identity=cellar-shell;
> type=karaf.feature; version=3.0.1 [caused by: Unable to resolve
> cellar-shell/3.0.1: missing requirement [cellar-shell/3.0.1]
> osgi.identity; osgi.identity=org.apache.karaf.cellar.shell;
> type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory
> [caused by: Unable to resolve 101.0: missing requirement [101.0]
> osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.felix.service.command)(version>=0.12.0)(!(version>=1.0.0)))]]
>
>
> The reason I'm saying it's weird is because the package it complains
> about seems to exported
>
> >package:exports | grep org.apache.felix.service.command
> org.apache.felix.service.command
> | 0.12.1 | 40 | org.apache.karaf.shell.console
>
>
> Can someone throw some light on Karaf vs Cell versioning scheme please?
> Am I right to assume that Cellar 3.x is not expected to work on Karaf
> 4.x ? If so is my only option to experiment with it to build Cellar from
> source? Do I also need to build Karaf form master (I see quite some
> changes since 4.0.0.M1)?
>
> Best,
> Milen
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf 4 and cellar
Posted by Achim Nierbeck <bc...@googlemail.com>.
hurray an early adopter \o/
2015-02-02 12:29 GMT+01:00 Milen Dyankov <mi...@gmail.com>:
> Thanks for your quick answers guys.
> I already got Karaf 3.0.1 with Cellar 3.0.1 running.
> I'm just trying to see how my app behaves on Karaf 4, thus the question.
> I'm looking forward for your push ;)
>
> Thanks again,
> Milen
>
>
>
> On Mon, Feb 2, 2015 at 12:23 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>
> wrote:
>
>> By the way, in the mean time, I would advise you to use Karaf 3.0.x with
>> Cellar 3.0.x (if you want to experiment Cellar), waiting my push.
>>
>> regards
>> JB
>>
>> On 02/02/2015 12:15 PM, Milen Dyankov wrote:
>>
>>> Hi everyone,
>>>
>>> can someone give me a hint about the best way to play with Karaf 4 and
>>> Cellar please?
>>> I triad installing Cellar 3.0.1 on Karaf 4.0.0.M1 and I got some weird
>>> error:
>>>
>>> >feature:install cellar
>>> Error executing command: Unable to resolve root: missing requirement
>>> [root] osgi.identity; osgi.identity=cellar-shell;
>>> type=karaf.feature; version=3.0.1 [caused by: Unable to resolve
>>> cellar-shell/3.0.1: missing requirement [cellar-shell/3.0.1]
>>> osgi.identity; osgi.identity=org.apache.karaf.cellar.shell;
>>> type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory
>>> [caused by: Unable to resolve 101.0: missing requirement [101.0]
>>> osgi.wiring.package;
>>> (&(osgi.wiring.package=org.apache.felix.service.command)(
>>> version>=0.12.0)(!(version>=1.0.0)))]]
>>>
>>>
>>> The reason I'm saying it's weird is because the package it complains
>>> about seems to exported
>>>
>>> >package:exports | grep org.apache.felix.service.command
>>> org.apache.felix.service.command
>>> | 0.12.1 | 40 | org.apache.karaf.shell.console
>>>
>>>
>>> Can someone throw some light on Karaf vs Cell versioning scheme please?
>>> Am I right to assume that Cellar 3.x is not expected to work on Karaf
>>> 4.x ? If so is my only option to experiment with it to build Cellar from
>>> source? Do I also need to build Karaf form master (I see quite some
>>> changes since 4.0.0.M1)?
>>>
>>> Best,
>>> Milen
>>>
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>
>
> --
> http://about.me/milen
>
--
Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
Software Architect / Project Manager / Scrum Master
Re: Karaf 4 and cellar
Posted by Milen Dyankov <mi...@gmail.com>.
Thanks for your quick answers guys.
I already got Karaf 3.0.1 with Cellar 3.0.1 running.
I'm just trying to see how my app behaves on Karaf 4, thus the question.
I'm looking forward for your push ;)
Thanks again,
Milen
On Mon, Feb 2, 2015 at 12:23 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:
> By the way, in the mean time, I would advise you to use Karaf 3.0.x with
> Cellar 3.0.x (if you want to experiment Cellar), waiting my push.
>
> regards
> JB
>
> On 02/02/2015 12:15 PM, Milen Dyankov wrote:
>
>> Hi everyone,
>>
>> can someone give me a hint about the best way to play with Karaf 4 and
>> Cellar please?
>> I triad installing Cellar 3.0.1 on Karaf 4.0.0.M1 and I got some weird
>> error:
>>
>> >feature:install cellar
>> Error executing command: Unable to resolve root: missing requirement
>> [root] osgi.identity; osgi.identity=cellar-shell;
>> type=karaf.feature; version=3.0.1 [caused by: Unable to resolve
>> cellar-shell/3.0.1: missing requirement [cellar-shell/3.0.1]
>> osgi.identity; osgi.identity=org.apache.karaf.cellar.shell;
>> type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory
>> [caused by: Unable to resolve 101.0: missing requirement [101.0]
>> osgi.wiring.package;
>> (&(osgi.wiring.package=org.apache.felix.service.command)(
>> version>=0.12.0)(!(version>=1.0.0)))]]
>>
>>
>> The reason I'm saying it's weird is because the package it complains
>> about seems to exported
>>
>> >package:exports | grep org.apache.felix.service.command
>> org.apache.felix.service.command
>> | 0.12.1 | 40 | org.apache.karaf.shell.console
>>
>>
>> Can someone throw some light on Karaf vs Cell versioning scheme please?
>> Am I right to assume that Cellar 3.x is not expected to work on Karaf
>> 4.x ? If so is my only option to experiment with it to build Cellar from
>> source? Do I also need to build Karaf form master (I see quite some
>> changes since 4.0.0.M1)?
>>
>> Best,
>> Milen
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
http://about.me/milen
Re: Karaf 4 and cellar
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
By the way, in the mean time, I would advise you to use Karaf 3.0.x with
Cellar 3.0.x (if you want to experiment Cellar), waiting my push.
regards
JB
On 02/02/2015 12:15 PM, Milen Dyankov wrote:
> Hi everyone,
>
> can someone give me a hint about the best way to play with Karaf 4 and
> Cellar please?
> I triad installing Cellar 3.0.1 on Karaf 4.0.0.M1 and I got some weird
> error:
>
> >feature:install cellar
> Error executing command: Unable to resolve root: missing requirement
> [root] osgi.identity; osgi.identity=cellar-shell;
> type=karaf.feature; version=3.0.1 [caused by: Unable to resolve
> cellar-shell/3.0.1: missing requirement [cellar-shell/3.0.1]
> osgi.identity; osgi.identity=org.apache.karaf.cellar.shell;
> type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory
> [caused by: Unable to resolve 101.0: missing requirement [101.0]
> osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.felix.service.command)(version>=0.12.0)(!(version>=1.0.0)))]]
>
>
> The reason I'm saying it's weird is because the package it complains
> about seems to exported
>
> >package:exports | grep org.apache.felix.service.command
> org.apache.felix.service.command
> | 0.12.1 | 40 | org.apache.karaf.shell.console
>
>
> Can someone throw some light on Karaf vs Cell versioning scheme please?
> Am I right to assume that Cellar 3.x is not expected to work on Karaf
> 4.x ? If so is my only option to experiment with it to build Cellar from
> source? Do I also need to build Karaf form master (I see quite some
> changes since 4.0.0.M1)?
>
> Best,
> Milen
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf 4 and cellar
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I already something "optimized" for Karaf master/4.0.0.M2 (refactoring
of the command, etc).
Let me push decanter and a couple of Karaf fixes, and I will push that ;)
Regards
JB
On 02/02/2015 12:19 PM, Achim Nierbeck wrote:
> Short answer, yes to both.
>
> Long answer, cellar master isn't optimized for Karaf Master right now.
> It's for Karaf 3, as this is the latest release version. For Karaf 4
> there will be a new milestone release available. But again don't expect
> cellar to run on it right away.
>
> Regards, Achim
>
> sent from mobile device
>
> Am 02.02.2015 12:15 schrieb "Milen Dyankov" <milendyankov@gmail.com
> <ma...@gmail.com>>:
>
> Hi everyone,
>
> can someone give me a hint about the best way to play with Karaf 4
> and Cellar please?
> I triad installing Cellar 3.0.1 on Karaf 4.0.0.M1 and I got some
> weird error:
>
> >feature:install cellar
> Error executing command: Unable to resolve root: missing
> requirement [root] osgi.identity; osgi.identity=cellar-shell;
> type=karaf.feature; version=3.0.1 [caused by: Unable to resolve
> cellar-shell/3.0.1: missing requirement [cellar-shell/3.0.1]
> osgi.identity; osgi.identity=org.apache.karaf.cellar.shell;
> type=osgi.bundle; version="[3.0.1,3.0.1]"; resolution:=mandatory
> [caused by: Unable to resolve 101.0: missing requirement [101.0]
> osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.felix.service.command)(version>=0.12.0)(!(version>=1.0.0)))]]
>
>
> The reason I'm saying it's weird is because the package it complains
> about seems to exported
>
> >package:exports | grep org.apache.felix.service.command
> org.apache.felix.service.command
> | 0.12.1 | 40 | org.apache.karaf.shell.console
>
>
> Can someone throw some light on Karaf vs Cell versioning scheme
> please? Am I right to assume that Cellar 3.x is not expected to work
> on Karaf 4.x ? If so is my only option to experiment with it to
> build Cellar from source? Do I also need to build Karaf form master
> (I see quite some changes since 4.0.0.M1)?
>
> Best,
> Milen
>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf 4 and cellar
Posted by Achim Nierbeck <bc...@googlemail.com>.
Short answer, yes to both.
Long answer, cellar master isn't optimized for Karaf Master right now. It's
for Karaf 3, as this is the latest release version. For Karaf 4 there will
be a new milestone release available. But again don't expect cellar to run
on it right away.
Regards, Achim
sent from mobile device
Am 02.02.2015 12:15 schrieb "Milen Dyankov" <mi...@gmail.com>:
> Hi everyone,
>
> can someone give me a hint about the best way to play with Karaf 4 and
> Cellar please?
> I triad installing Cellar 3.0.1 on Karaf 4.0.0.M1 and I got some weird
> error:
>
> >feature:install cellar
>> Error executing command: Unable to resolve root: missing requirement
>> [root] osgi.identity; osgi.identity=cellar-shell; type=karaf.feature;
>> version=3.0.1 [caused by: Unable to resolve cellar-shell/3.0.1: missing
>> requirement [cellar-shell/3.0.1] osgi.identity;
>> osgi.identity=org.apache.karaf.cellar.shell; type=osgi.bundle;
>> version="[3.0.1,3.0.1]"; resolution:=mandatory [caused by: Unable to
>> resolve 101.0: missing requirement [101.0] osgi.wiring.package;
>> (&(osgi.wiring.package=org.apache.felix.service.command)(version>=0.12.0)(!(version>=1.0.0)))]]
>
>
> The reason I'm saying it's weird is because the package it complains about
> seems to exported
>
> >package:exports | grep org.apache.felix.service.command
>> org.apache.felix.service.command |
>> 0.12.1 | 40 | org.apache.karaf.shell.console
>
>
>
> Can someone throw some light on Karaf vs Cell versioning scheme please? Am
> I right to assume that Cellar 3.x is not expected to work on Karaf 4.x ? If
> so is my only option to experiment with it to build Cellar from source? Do
> I also need to build Karaf form master (I see quite some changes
> since 4.0.0.M1)?
>
> Best,
> Milen
>
>
>