Re: Jar libraries as wrap in the Karaf console

2023-07-05 Thread jose.garnica.lomeli
u have basically two options: 1. You > create a "real" OSGi bundle for the dependencies (or you ask ServiceMix to do > so) 2. You embed the dependency as private package in your bundle Regards JB > On Tue, Jul 4, 2023 at 6:20 PM jose.garnica.lomeli wrote: > > Hi everyone,

Re: Jar libraries as wrap in the Karaf console

2023-07-05 Thread Jean-Baptiste Onofré
ge in your bundle Regards JB On Tue, Jul 4, 2023 at 6:20 PM jose.garnica.lomeli wrote: > > Hi everyone, > > The karaf console in my application is displaying many libraries as wrap > I know it is a way to make compatible karaf to non-osgi java libraries > > is there any way to r

Re: Jar libraries as wrap in the Karaf console

2023-07-04 Thread Kevin Schmidt
everyone, > > The karaf console in my application is displaying many libraries as > *wrap * > I know it is a way to make compatible karaf to non-osgi java libraries > > is there any way to remove those wrap of the console? > [image: image.png] > > > Sent with Proton Mail <https://proton.me/> secure email. >

Jar libraries as wrap in the Karaf console

2023-07-04 Thread jose.garnica.lomeli
Hi everyone, The karaf console in my application is displaying many libraries as wrap I know it is a way to make compatible karaf to non-osgi java libraries is there any way to remove those wrap of the console? [image.png] Sent with [Proton Mail](https://proton.me/) secure email.

Ansi colors for Karaf console in Felix

2021-06-22 Thread Jackson, Douglas
Hi! I have pulled part of the karaf console into Felix. One thing that is not functioning right is the ansi colors in the branding and command output. I read somewhere that you might have to put something in the windows registry. If someone could point me at some java code or whatever is needed

Re: Karaf console commands in Felix

2021-05-25 Thread Jean-Baptiste Onofre
I say that I don’t understand what you want to do ? ;) > Karaf is running Felix Framework, so, why not just using Karaf directly ? > Regards > JB > > > > From: Jackson, Douglas (DI SW LCS CF CLP DEX) > Sent: Tuesday, May 25, 2021 8:09 AM > To: 'user@karaf.apache.

RE: Karaf console commands in Felix

2021-05-25 Thread Jackson, Douglas
: Karaf console commands in Felix Hi! I am trying to drop the karaf console into Apache Felix. I have some of the commands working, but not the "bundles:*" and "diag" commands. What karaf bundles do I need to add in order to use those commands? Thanks! -Doug

Re: Karaf console commands in Felix

2021-05-25 Thread Jean-Baptiste Onofre
gt; > Hi! > I am trying to drop the karaf console into Apache Felix. > I have some of the commands working, but not the “bundles:*” and “diag” > commands. > What karaf bundles do I need to add in order to use those commands? > Thanks! > -Doug

Karaf console commands in Felix

2021-05-25 Thread Jackson, Douglas
Hi! I am trying to drop the karaf console into Apache Felix. I have some of the commands working, but not the "bundles:*" and "diag" commands. What karaf bundles do I need to add in order to use those commands? Thanks! -Doug

Re: visibility of Karaf console commands / addtional console?

2020-08-15 Thread Jean-Baptiste Onofre
gt;> More context: >> I already have an additional sshd service in my container handling the more >> interactive exchange of binaries (think of something similar to rsync over >> ssh). >> My initial impulse was to add more ssh commands to this service, but quickly >>

Re: visibility of Karaf console commands / addtional console?

2020-08-15 Thread Max Spring
an additional sshd service in my container handling the more interactive exchange of binaries (think of something similar to rsync over ssh). My initial impulse was to add more ssh commands to this service, but quickly realized that the "regular" Karaf console would be a better starting poin

Re: visibility of Karaf console commands / addtional console?

2020-08-12 Thread Max Spring
More context: I already have an additional sshd service in my container handling the more interactive exchange of binaries (think of something similar to rsync over ssh). My initial impulse was to add more ssh commands to this service, but quickly realized that the "regular" Kar

visibility of Karaf console commands / addtional console?

2020-08-10 Thread Max Spring
I want to expose a specific set of Karaf console commands (via ssh) to a particular group of users. They should not see (or be able to run) any other Karaf console command. These Karaf commands already exist on the "regular" Karaf console (on port 8101). Can I (a) restrict the

Re: overwriting shell:logout and ^D for Karaf console?

2019-06-06 Thread Jean-Baptiste Onofré
FYI, I created https://issues.apache.org/jira/browse/KARAF-6321 about that. Regards JB On 07/06/2019 07:46, Jean-Baptiste Onofré wrote: > Hi Max, > > Understood, I see the points, I will add some options to allows you to > deal with CTRL-D and logout (probably via

Re: overwriting shell:logout and ^D for Karaf console?

2019-06-06 Thread Jean-Baptiste Onofré
Hi Max, Understood, I see the points, I will add some options to allows you to deal with CTRL-D and logout (probably via etc/org.apache.karaf.shell.cfg configuration). Regards JB On 06/06/2019 21:16, Max Spring wrote: > To give more context: In my Karaf I have potentially very long running >

Re: overwriting shell:logout and ^D for Karaf console?

2019-06-06 Thread Max Spring
To give more context: In my Karaf I have potentially very long running "background jobs". I want to avoid that the user (which is a developer) terminates a foreground Karaf and indirectly aborts these jobs by accident. If I had the option of programmatically intercepting ctrl-d, I could ask the

Re: Re: overwriting shell:logout and ^D for Karaf console?

2019-06-06 Thread Martin Lichtin
Yes, an option for disabling Ctrl-D would be great. Perhaps when running Karaf in the foreground this could be the default (as a 'logout' is equal to 'shutdown'). On 03.06.2019 11:57, Jean-Baptiste Onofr?? wrote: Hi, You want to fully disable CTRL-D ? (and force "logout" usage instead) I

Re: overwriting shell:logout and ^D for Karaf console?

2019-06-03 Thread Jean-Baptiste Onofré
Hi, You want to fully disable CTRL-D ? (and force "logout" usage instead) I can add an option to ssh for that. Regards JB On 03/06/2019 11:46, lichtin wrote: > I'm also interested to know how one can disable the Ctrl-D logout behaviour? > > > > -- > Sent from:

Re: overwriting shell:logout and ^D for Karaf console?

2019-06-03 Thread lichtin
I'm also interested to know how one can disable the Ctrl-D logout behaviour? -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: overwriting shell:logout and ^D for Karaf console?

2019-05-15 Thread Max Spring
Let me simplify my question: Is there a way to disable a command like "shell:logout"? -Max On 5/13/19 5:17 PM, Max Spring wrote: For running Karaf in the foreground, is there a way I can "overwrite" the shell:logout Karaf command so I can insert additional logic guarding the actual logout?

overwriting shell:logout and ^D for Karaf console?

2019-05-13 Thread Max Spring
For running Karaf in the foreground, is there a way I can "overwrite" the shell:logout Karaf command so I can insert additional logic guarding the actual logout? Can I disable shell:logout completely? (I already have my own quit command which could do all I want.) How could I do the same for

Re: FeaturesServiceMBean call causing karaf console unresponsive

2019-03-26 Thread Jean-Baptiste Onofré
tures.cfg with file path to the xml file, > and on featuresBoot. > On karaf boot this does not get installed. > I have to manually use feature:repo-add to install the feature. > At this stage it is still uninstalled only. > When start karaf, the bundle activator makes karaf console and we

Re: FeaturesServiceMBean call causing karaf console unresponsive

2019-03-26 Thread saravanaprasad
feature:repo-add to install the feature. At this stage it is still uninstalled only. When start karaf, the bundle activator makes karaf console and web console unresponsive. When I restart karaf I find spring-3.0.4 as started. Thanks -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749

Re: FeaturesServiceMBean call causing karaf console unresponsive

2019-03-26 Thread Jean-Baptiste Onofré
ean.class, true); > context.registerService( JMXKarafFeature.class, > new > JMXKarafFeatureImpl(), null ); > > featuresServiceMBeanProxy.installFeature("spring-3.0.4/3.0.4.RELEASE");// > here karaf console goes unresponsive > } > > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: FeaturesServiceMBean call causing karaf console unresponsive

2019-03-26 Thread saravanaprasad
rafFeature.class, new JMXKarafFeatureImpl(), null ); featuresServiceMBeanProxy.installFeature("spring-3.0.4/3.0.4.RELEASE");// here karaf console goes unresponsive } -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: FeaturesServiceMBean call causing karaf console unresponsive

2019-03-26 Thread Jean-Baptiste Onofré
Can you quickly explain how to reproduce ? Are you using a MBeanProxy in your code to use the features service ? Regards JB On 26/03/2019 15:58, saravanaprasad wrote: > Karaf version: 4.2.3 > > Java version: OpenJDK11 > > Thanks > > > > -- > Sent from:

Re: FeaturesServiceMBean call causing karaf console unresponsive

2019-03-26 Thread saravanaprasad
Karaf version: 4.2.3 Java version: OpenJDK11 Thanks -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: FeaturesServiceMBean call causing karaf console unresponsive

2019-03-26 Thread Jean-Baptiste Onofré
Hi, Which Karaf version do you use ? Regards JB On 26/03/2019 15:17, saravanaprasad wrote: > Hi,Following line causes karaf console > unresponsive./featuresServiceMBeanProxy.installFeature("spring-3.0.4/3.0.4.RELEASE");/Above > line of code also causes web console not a

FeaturesServiceMBean call causing karaf console unresponsive

2019-03-26 Thread saravanaprasad
Hi,Following line causes karaf console unresponsive./featuresServiceMBeanProxy.installFeature("spring-3.0.4/3.0.4.RELEASE");/Above line of code also causes web console not available.What could be the fix?ThanksSaravana Prasad -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-Us

Re: Karaf console session: Determine foreground vs. ssh?

2019-02-18 Thread Max Spring
tClassName().contains(".ssh.")) return true; } return false; } -Max On 2/8/19 3:36 PM, Max Spring wrote: In a Karaf console command is it possible to determine whether the console session is (a) in Karaf in the foreground (where a Ctrl-D shuts down Karaf), or (b) an

Karaf console session: Determine foreground vs. ssh?

2019-02-08 Thread Max Spring
In a Karaf console command is it possible to determine whether the console session is (a) in Karaf in the foreground (where a Ctrl-D shuts down Karaf), or (b) an ssh session attached to a Karaf process (where a Ctrl-D merely exits the ssh session)? Context: I'm having my own quit command

Re: Karaf console and Embed Mongo...

2018-01-23 Thread Ryan Moquin
le to track down which bundle is triggering the > >> refresh. Also, what version of Karaf are you using? > >> > >> Seth Leger > >> The OpenNMS Group > >> > >> > >> On 1/21/18 12:23 PM, Ryan Moquin wrote: > &g

Re: Karaf console and Embed Mongo...

2018-01-22 Thread Seth Leger
d Mongo running > > inside Karaf, which I've gotten to work successfully with one caveat > > that is driving me crazy trying to troubleshoot (I think I understand > > what's happening, but not exactly what makes it happen).  If I have a > > feature which inst

Re: Karaf console and Embed Mongo...

2018-01-22 Thread Ryan Moquin
> This might be better to ask of the Embed Mongo team, but I am not > > > entirely sure. I've been experimenting with an Embedded Mongo > running > > > inside Karaf, which I've gotten to work successfully with one > caveat > > > that is driving me cr

Re: Karaf console and Embed Mongo...

2018-01-22 Thread Jean-Baptiste Onofré
Embed Mongo team, but I am not > > entirely sure.  I've been experimenting with an Embedded Mongo running > > inside Karaf, which I've gotten to work successfully with one caveat > > that is driving me crazy trying to troubleshoot (I think I understand > > wha

Re: Karaf console and Embed Mongo...

2018-01-22 Thread Ryan Moquin
t not exactly what makes it happen). If I have a > > feature which installs a bundle that created and starts a Flapdoodle > > Embed Mongo instance, then the Karaf console will "hang" since I think > > the Embed Mongo code, kind of "hijacking" the Karaf JLine inp

Re: Karaf console and Embed Mongo...

2018-01-22 Thread Ryan Moquin
been experimenting with an Embedded Mongo running > > inside Karaf, which I've gotten to work successfully with one caveat > > that is driving me crazy trying to troubleshoot (I think I understand > > what's happening, but not exactly what makes it happen). If I have a > >

Re: Karaf console and Embed Mongo...

2018-01-21 Thread Jean-Baptiste Onofré
not exactly > what makes it happen).  If I have a feature which installs a bundle that > created > and starts a Flapdoodle Embed Mongo instance, then the Karaf console will > "hang" > since I think the Embed Mongo code, kind of "hijacking" the Karaf JLine input > st

Re: Karaf console and Embed Mongo...

2018-01-21 Thread Seth Leger
lly with one caveat > that is driving me crazy trying to troubleshoot (I think I understand > what's happening, but not exactly what makes it happen).  If I have a > feature which installs a bundle that created and starts a Flapdoodle > Embed Mongo instance, then the Karaf console will "hang&q

Karaf console and Embed Mongo...

2018-01-21 Thread Ryan Moquin
, but not exactly what makes it happen). If I have a feature which installs a bundle that created and starts a Flapdoodle Embed Mongo instance, then the Karaf console will "hang" since I think the Embed Mongo code, kind of "hijacking" the Karaf JLine input stream (it attache

Re: Potential security issue with default karaf console access control lists?

2017-08-31 Thread Jean-Baptiste Onofré
31 August 2017 at 13:04 Jean-Baptiste Onofré <j...@nanthrax.net> wrote: I agree: as we did for vi/edit command, we should limit cat to admin role. Can you create a Jira about that ? Thanks ! Regards JB On 08/31/2017 01:01 PM, t...@quarendon.net wrote: Any user that can log on to t

Re: Potential security issue with default karaf console access control lists?

2017-08-31 Thread tom
t; I agree: as we did for vi/edit command, we should limit cat to admin role. > > Can you create a Jira about that ? > > Thanks ! > Regards > JB > > On 08/31/2017 01:01 PM, t...@quarendon.net wrote: > > Any user that can log on to the karaf console appears to

Re: Potential security issue with default karaf console access control lists?

2017-08-31 Thread Jean-Baptiste Onofré
I agree: as we did for vi/edit command, we should limit cat to admin role. Can you create a Jira about that ? Thanks ! Regards JB On 08/31/2017 01:01 PM, t...@quarendon.net wrote: Any user that can log on to the karaf console appears to be able to run the "shell:cat" command (am

Potential security issue with default karaf console access control lists?

2017-08-31 Thread tom
Any user that can log on to the karaf console appears to be able to run the "shell:cat" command (among others), and hence view any file that the operating system user that's running the karaf process can see. Whilst there is access control on a few of the shell scope commands

Re: Karaf console becoming unresponsve

2016-07-02 Thread Jean-Baptiste Onofré
.922171.n3.nabble.com/Karaf-console-becoming-unresponsve-tp4047064p4047066.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com

Re: Karaf console becoming unresponsve

2016-07-02 Thread kgoderis
gt; What's your Karaf version ? 4.0.4 > Do you use auth by key ? > yes KR Karel. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-becoming-unresponsve-tp4047064p4047066.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf console becoming unresponsve

2016-07-02 Thread Jean-Baptiste Onofré
Hi, Don't you have a refresh triggered by a feature you install ? What's your Karaf version ? Do you use auth by key ? Regards JB On 07/02/2016 09:41 AM, kgoderis wrote: Hi, I use Karaf as part of the openHAB project. Very often the Karaf console becomes very unresponsive, or halts

Karaf console becoming unresponsve

2016-07-02 Thread kgoderis
Hi, I use Karaf as part of the openHAB project. Very often the Karaf console becomes very unresponsive, or halts completely. This happens often already after the initial start-up of the runtime on the console session that is starting the runtime, but then I can still log into karaf by means

Using OS users to login to karaf console

2015-09-08 Thread Mohammad Shamsi
Hi All, Is it possible to configure karaf in such a way that only a particular OS user (or OS group) can access its shell remotely? Best Regards, Mohammad Shamsi

Creating Apache Karaf console commands

2015-03-14 Thread Herr-Herner
in context: http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Creating Apache Karaf console commands

2015-03-14 Thread Jean-Baptiste Onofré
environment? Do I have to create a Karaf-specific console artifact that makes the shell command available to Karaf or is there another approach? -- View this message in context: http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023.html Sent from the Karaf - User mailing

Re: Creating Apache Karaf console commands

2015-03-14 Thread Herr-Herner
Yes... Directly in Equinox or Apache Felix. -- View this message in context: http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023p4039031.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Creating Apache Karaf console commands

2015-03-14 Thread Jean-Baptiste Onofré
or Apache Felix. -- View this message in context: http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023p4039031.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http

Re: Creating Apache Karaf console commands

2015-03-14 Thread Herr-Herner
in context: http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023p4039035.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Creating Apache Karaf console commands

2015-03-14 Thread Jean-Baptiste Onofré
and not gogo for custom extensions, right? -- View this message in context: http://karaf.922171.n3.nabble.com/Creating-Apache-Karaf-console-commands-tp4039023p4039035.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Jean-Baptiste Onofré jbono...@apache.org http

karaf console command using wildcard in bundle name

2014-11-27 Thread bocamel
! -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-console-command-using-wildcard-in-bundle-name-tp4036746.html Sent from the Karaf - User mailing list archive at Nabble.com.

Problem logging into the karaf console using 'client' in Karaf 3.0.2

2014-10-29 Thread Frank Lyaruu
Hi all, The following scenario works in 3.0.1 but not 3.0.2: (On MacOs, Java 1.7.0_51) - I extract a fresh Karaf. - cd apache-karaf-3.0.2/bin - ./start - wait for a bit - ./client In 3.0.1 I'm now in the console: 934 [pool-2-thread-2] WARN

Re: Problem logging into the karaf console using 'client' in Karaf 3.0.2

2014-10-29 Thread Achim Nierbeck
Hi Frank, I just recently stumbled over this kind of issue too. You'll need to add the user to the command. client -u karaf this way it's working as expected. regards, Achim 2014-10-29 7:56 GMT+01:00 Frank Lyaruu fr...@dexels.com: Hi all, The following scenario works in 3.0.1 but not

RE: Problem logging into the karaf console using 'client' in Karaf 3.0.2

2014-10-29 Thread Jean-Baptiste Onofré
From: Frank Lyaruu fr...@dexels.com Date:29/10/2014 07:56 (GMT+01:00) To: user@karaf.apache.org Cc: Subject: Problem logging into the karaf console using 'client' in Karaf 3.0.2 Hi all, The following scenario works in 3.0.1 but not 3.0.2: (On MacOs, Java 1.7.0_51) - I extract

RE: Problem logging into the karaf console using 'client' in Karaf 3.0.2

2014-10-29 Thread Jean-Baptiste Onofré
@karaf.apache.org Cc: Subject: Problem logging into the karaf console using 'client' in Karaf 3.0.2 Hi all, The following scenario works in 3.0.1 but not 3.0.2: (On MacOs, Java 1.7.0_51) - I extract a fresh Karaf. - cd apache-karaf-3.0.2/bin - ./start - wait for a bit - ./client In 3.0.1 I'm now

Problem logging into the karaf console using 'client' in Karaf 3.0.2

2014-10-24 Thread Frank Lyaruu
Hi all, The following scenario works in 3.0.1 but not 3.0.2: (On MacOs, Java 1.7.0_51) - I extract a fresh Karaf. - cd apache-karaf-3.0.2/bin - ./start - wait for a bit - ./client In 3.0.1 I'm now in the console: 934 [pool-2-thread-2] WARN

Re: Karaf console command enhancements for osgi

2014-04-17 Thread Jon Anstey
.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Cheers, Jon --- Red Hat, Inc. Email: jans...@redhat.com Web: http://redhat.com Twitter: jon_anstey Blog: http://janstey.blogspot.com

Re: Karaf console command enhancements for osgi

2014-04-17 Thread rich.peters
Jon, thanks for looking at this. It will make our scripting very easy. Rich -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774p4032840.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf console command enhancements for osgi

2014-04-17 Thread rich.peters
Jamie, thanks for add the feature request. The export doesn't really work for what I need, but the new feature proposed will be just great. Thanks Rich -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774p4032841.html

Re: Karaf console command enhancements for osgi

2014-04-16 Thread Jon Anstey
in context: http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Cheers, Jon --- Red Hat, Inc. Email: jans...@redhat.com Web: http://redhat.com Twitter: jon_anstey Blog: http

Re: Karaf console command enhancements for osgi

2014-04-16 Thread Jamie G.
Rich -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Cheers, Jon --- Red Hat, Inc. Email: jans...@redhat.com Web: http

Karaf console command enhancements for osgi

2014-04-15 Thread rich.peters
parameter (as in the osgi:bundle-level command) if you do 1. you dont absolutely need this, but it would be convenient These two features would make scripting upgrades easier thanks Rich -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-command

Re: Karaf console command enhancements for osgi

2014-04-15 Thread Jamie G.
absolutely need this, but it would be convenient These two features would make scripting upgrades easier thanks Rich -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774.html Sent from the Karaf - User mailing list archive

Re: Karaf console command enhancements for osgi

2014-04-15 Thread rich.peters
Thanks for the response, I will try that Rich -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-console-command-enhancements-for-osgi-tp4032774p4032782.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf console

2013-12-03 Thread Patryk Kucharz
, Patryk Kucharz wrote: Hello, I am trying to add some new commands to karaf console. I have read that tutorial: http://karaf.apache.org/__manual/latest-2.2.x/__ developers-guide/extending-__console.html http://karaf.apache.org/manual/latest

Re: Karaf console

2013-12-03 Thread Guillaume Nodet
/shell.init.script that perform these actions ? You script can be called with shell:source command too. Regards JB On 12/02/2013 12:50 PM, Patryk Kucharz wrote: Hello, I am trying to add some new commands to karaf console. I have read that tutorial

Re: Karaf console

2013-12-03 Thread Patryk Kucharz
. Regards JB On 12/02/2013 12:50 PM, Patryk Kucharz wrote: Hello, I am trying to add some new commands to karaf console. I have read that tutorial: http://karaf.apache.org/__manual/latest-2.2.x/__ developers-guide/extending

Karaf console

2013-12-02 Thread Patryk Kucharz
Hello, I am trying to add some new commands to karaf console. I have read that tutorial: http://karaf.apache.org/manual/latest-2.2.x/developers-guide/extending-console.html I am wondering if there is any possibility to call from my new command the one of those already implemented commands

Re: Karaf console

2013-12-02 Thread Jean-Baptiste Onofré
Hi Patryk, Why not directly creating an alias in etc/shell.init.script that perform these actions ? You script can be called with shell:source command too. Regards JB On 12/02/2013 12:50 PM, Patryk Kucharz wrote: Hello, I am trying to add some new commands to karaf console. I have read

Re: Karaf console

2013-12-02 Thread Patryk Kucharz
? You script can be called with shell:source command too. Regards JB On 12/02/2013 12:50 PM, Patryk Kucharz wrote: Hello, I am trying to add some new commands to karaf console. I have read that tutorial: http://karaf.apache.org/manual/latest-2.2.x/developers-guide/extending

Re: Karaf console

2013-12-02 Thread Jean-Baptiste Onofré
creating an alias in etc/shell.init.script that perform these actions ? You script can be called with shell:source command too. Regards JB On 12/02/2013 12:50 PM, Patryk Kucharz wrote: Hello, I am trying to add some new commands to karaf console. I have

Re: Karaf console

2013-12-02 Thread Ryan Moquin
creating an alias in etc/shell.init.script that perform these actions ? You script can be called with shell:source command too. Regards JB On 12/02/2013 12:50 PM, Patryk Kucharz wrote: Hello, I am trying to add some new commands to karaf console. I have read that tutorial: http

Creating extensions to Karaf console - loading Maven extensions

2013-03-13 Thread Martin Stiborský
Hello guys, I just started to creating own extension to Karaf console, to handle some things to a project I'm running under Karaf. I went through few tutorial and documentation, how to make a extension, then I started with own examples, but first of all I had a problem with bundle packacking

Re: Creating extensions to Karaf console - loading Maven extensions

2013-03-13 Thread Achim Nierbeck
for improvement on this :-) regards, Achim [1] - http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html 2013/3/13 Martin Stiborský martin.stibor...@gmail.com Hello guys, I just started to creating own extension to Karaf console, to handle some things to a project I'm running under

Re: Extending Karaf Console with a Completer - but without Blueprint

2012-06-27 Thread Scott England-Sullivan
Hi Oliver, You may be able to find a hint in the SCR code that is part of the 3.0.0-SNAPSHOT in trunk. This component is written sans blueprint. It is a bit different than the 2.2.x branch though. For that you can look here: https://github.com/sully6768/karaf-sandbox. Best Regards, Scott ES

Re: Cellar Commands Not Appearing In Karaf Console When Equinox Used

2011-09-12 Thread Gareth
) and do the following: features:install webconsole features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features features:install cellar I see all the cellar commands appear in the karaf console (e.g. cluster:config-list, cluster:config-proplist etc). If I do the same

Re: Cellar Commands Not Appearing In Karaf Console When Equinox Used

2011-09-11 Thread Achim Nierbeck
) and do the following: features:install webconsole features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features features:install cellar I see all the cellar commands appear in the karaf console (e.g. cluster:config-list, cluster:config-proplist etc). If I do the same

Re: Cellar Commands Not Appearing In Karaf Console When Equinox Used

2011-09-11 Thread Jean-Baptiste Onofré
2.2.3 fresh (felix) and do the following: features:install webconsole features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features features:install cellar I see all the cellar commands appear in the karaf console (e.g. cluster:config-list, cluster:config-proplist etc). If I do

Re: Cellar Commands Not Appearing In Karaf Console When Equinox Used

2011-09-11 Thread Jean-Baptiste Onofré
a small problem running cellar with equinox. If I start karaf 2.2.3 fresh (felix) and do the following: features:install webconsole features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.2/xml/features features:install cellar I see all the cellar commands appear in the karaf console