You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Romain Gilles <ro...@gmail.com> on 2012/06/06 16:01:43 UTC

Console progress monitor

Hi all,
I would like to know if it's possible to have a progress monitor in the
console for long running task?

Romain

Re: Console progress monitor

Posted by Guillaume Nodet <gn...@gmail.com>.
Well, it should be easy for you to write to System.out, that's all
what is required.  System.out is redirected to the console or ssh
depending on the context.
If you want more low level stuff, you can look at the more command
implements, grep does some coloring too.

On Wed, Jun 6, 2012 at 4:23 PM, Romain Gilles <ro...@gmail.com> wrote:
> My personal commands
> Like create connection pool...
>
> Romain
>
> Le mercredi 6 juin 2012, Guillaume Nodet a écrit :
>
>> Which commands are you thinking about ?
>>
>> On Wed, Jun 6, 2012 at 4:10 PM, Romain Gilles <romain.gilles@gmail.com<javascript:;>>
>> wrote:
>> > Hi JB,
>> > I mean the command line console.
>> >
>> > Regards,
>> >
>> > Romain
>> >
>> > Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :
>> >
>> >> Hi Romain,
>> >>
>> >> you mean in the webconsole included by default in Karaf (feature:install
>> >> webconsole) or the "new" Karaf WebConsole project ?
>> >>
>> >> The embedded Karaf console is powered by Felix WebConsole. It's mainly
>> >> javascript.
>> >>
>> >> Which kind of long running tasks are you executing in the WebConsole ?
>> >>
>> >> Regards
>> >> JB
>> >>
>> >> On 06/06/2012 04:01 PM, Romain Gilles wrote:
>> >>
>> >>> Hi all,
>> >>> I would like to know if it's possible to have a progress monitor in the
>> >>> console for long running task?
>> >>>
>> >>> Romain
>> >>>
>> >>>
>> >> --
>> >> Jean-Baptiste Onofré
>> >> jbonofre@apache.org <javascript:;>
>> >> http://blog.nanthrax.net
>> >> Talend - http://www.talend.com
>> >>
>>
>>
>>
>> --
>> ------------------------
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> FuseSource, Integration everywhere
>> http://fusesource.com
>>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

Re: Console progress monitor

Posted by Romain Gilles <ro...@gmail.com>.
I would like to inform the user on the progress.

Le mercredi 6 juin 2012, Romain Gilles a écrit :

> My personal commands
> Like create connection pool...
>
> Romain
>
> Le mercredi 6 juin 2012, Guillaume Nodet a écrit :
>
>> Which commands are you thinking about ?
>>
>> On Wed, Jun 6, 2012 at 4:10 PM, Romain Gilles <ro...@gmail.com>
>> wrote:
>> > Hi JB,
>> > I mean the command line console.
>> >
>> > Regards,
>> >
>> > Romain
>> >
>> > Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :
>> >
>> >> Hi Romain,
>> >>
>> >> you mean in the webconsole included by default in Karaf
>> (feature:install
>> >> webconsole) or the "new" Karaf WebConsole project ?
>> >>
>> >> The embedded Karaf console is powered by Felix WebConsole. It's mainly
>> >> javascript.
>> >>
>> >> Which kind of long running tasks are you executing in the WebConsole ?
>> >>
>> >> Regards
>> >> JB
>> >>
>> >> On 06/06/2012 04:01 PM, Romain Gilles wrote:
>> >>
>> >>> Hi all,
>> >>> I would like to know if it's possible to have a progress monitor in
>> the
>> >>> console for long running task?
>> >>>
>> >>> Romain
>> >>>
>> >>>
>> >> --
>> >> Jean-Baptiste Onofré
>> >> jbonofre@apache.org
>> >> http://blog.nanthrax.net
>> >> Talend - http://www.talend.com
>> >>
>>
>>
>>
>> --
>> ------------------------
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> FuseSource, Integration everywhere
>> http://fusesource.com
>>
>

Re: Console progress monitor

Posted by Romain Gilles <ro...@gmail.com>.
My personal commands
Like create connection pool...

Romain

Le mercredi 6 juin 2012, Guillaume Nodet a écrit :

> Which commands are you thinking about ?
>
> On Wed, Jun 6, 2012 at 4:10 PM, Romain Gilles <romain.gilles@gmail.com<javascript:;>>
> wrote:
> > Hi JB,
> > I mean the command line console.
> >
> > Regards,
> >
> > Romain
> >
> > Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :
> >
> >> Hi Romain,
> >>
> >> you mean in the webconsole included by default in Karaf (feature:install
> >> webconsole) or the "new" Karaf WebConsole project ?
> >>
> >> The embedded Karaf console is powered by Felix WebConsole. It's mainly
> >> javascript.
> >>
> >> Which kind of long running tasks are you executing in the WebConsole ?
> >>
> >> Regards
> >> JB
> >>
> >> On 06/06/2012 04:01 PM, Romain Gilles wrote:
> >>
> >>> Hi all,
> >>> I would like to know if it's possible to have a progress monitor in the
> >>> console for long running task?
> >>>
> >>> Romain
> >>>
> >>>
> >> --
> >> Jean-Baptiste Onofré
> >> jbonofre@apache.org <javascript:;>
> >> http://blog.nanthrax.net
> >> Talend - http://www.talend.com
> >>
>
>
>
> --
> ------------------------
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> FuseSource, Integration everywhere
> http://fusesource.com
>

Re: Console progress monitor

Posted by Guillaume Nodet <gn...@gmail.com>.
Which commands are you thinking about ?

On Wed, Jun 6, 2012 at 4:10 PM, Romain Gilles <ro...@gmail.com> wrote:
> Hi JB,
> I mean the command line console.
>
> Regards,
>
> Romain
>
> Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :
>
>> Hi Romain,
>>
>> you mean in the webconsole included by default in Karaf (feature:install
>> webconsole) or the "new" Karaf WebConsole project ?
>>
>> The embedded Karaf console is powered by Felix WebConsole. It's mainly
>> javascript.
>>
>> Which kind of long running tasks are you executing in the WebConsole ?
>>
>> Regards
>> JB
>>
>> On 06/06/2012 04:01 PM, Romain Gilles wrote:
>>
>>> Hi all,
>>> I would like to know if it's possible to have a progress monitor in the
>>> console for long running task?
>>>
>>> Romain
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

Re: Console progress monitor

Posted by Romain Gilles <ro...@gmail.com>.
Sorry Jean-Baptiste, I miss your message. That sound good. Think the both
are interesting.

Regards,

Romain

2012/6/8 Romain Gilles <ro...@gmail.com>

> Hi Guillaume and Christian,
> Thank you for those information. I will try to do it with many other
> thinks ;)
>
> Romain.
>
> 2012/6/6 Jean-Baptiste Onofré <jb...@nanthrax.net>
>
>> We can also imagine to mimic bash:
>>
>> - a "flag" to execute a command in "background" (like &)
>> - jobs to display the commands in background
>> - fg to get back a command in foreground
>>
>> Regards
>> JB
>>
>>
>> On 06/06/2012 07:05 PM, Christian Schneider wrote:
>>
>>> I think we could implement some reusable component for that. It could be
>>> a spinner if the progress is not known or a progress bar thaat fills up
>>> if we know it.
>>>
>>> Perhaps you can write this initially and contribute it?
>>>
>>> Christian
>>>
>>> Am 06.06.2012 16:10, schrieb Romain Gilles:
>>>
>>>> Hi JB,
>>>> I mean the command line console.
>>>>
>>>> Regards,
>>>>
>>>> Romain
>>>>
>>>> Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :
>>>>
>>>>  Hi Romain,
>>>>>
>>>>> you mean in the webconsole included by default in Karaf
>>>>> (feature:install
>>>>> webconsole) or the "new" Karaf WebConsole project ?
>>>>>
>>>>> The embedded Karaf console is powered by Felix WebConsole. It's mainly
>>>>> javascript.
>>>>>
>>>>> Which kind of long running tasks are you executing in the WebConsole ?
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> On 06/06/2012 04:01 PM, Romain Gilles wrote:
>>>>>
>>>>>  Hi all,
>>>>>> I would like to know if it's possible to have a progress monitor in
>>>>>> the
>>>>>> console for long running task?
>>>>>>
>>>>>> Romain
>>>>>>
>>>>>>
>>>>>>  --
>>>>> Jean-Baptiste Onofré
>>>>> jbonofre@apache.org
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com
>>>>>
>>>>>
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
>

Re: Console progress monitor

Posted by Romain Gilles <ro...@gmail.com>.
Hi Guillaume and Christian,
Thank you for those information. I will try to do it with many other thinks
;)

Romain.

2012/6/6 Jean-Baptiste Onofré <jb...@nanthrax.net>

> We can also imagine to mimic bash:
>
> - a "flag" to execute a command in "background" (like &)
> - jobs to display the commands in background
> - fg to get back a command in foreground
>
> Regards
> JB
>
>
> On 06/06/2012 07:05 PM, Christian Schneider wrote:
>
>> I think we could implement some reusable component for that. It could be
>> a spinner if the progress is not known or a progress bar thaat fills up
>> if we know it.
>>
>> Perhaps you can write this initially and contribute it?
>>
>> Christian
>>
>> Am 06.06.2012 16:10, schrieb Romain Gilles:
>>
>>> Hi JB,
>>> I mean the command line console.
>>>
>>> Regards,
>>>
>>> Romain
>>>
>>> Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :
>>>
>>>  Hi Romain,
>>>>
>>>> you mean in the webconsole included by default in Karaf (feature:install
>>>> webconsole) or the "new" Karaf WebConsole project ?
>>>>
>>>> The embedded Karaf console is powered by Felix WebConsole. It's mainly
>>>> javascript.
>>>>
>>>> Which kind of long running tasks are you executing in the WebConsole ?
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 06/06/2012 04:01 PM, Romain Gilles wrote:
>>>>
>>>>  Hi all,
>>>>> I would like to know if it's possible to have a progress monitor in the
>>>>> console for long running task?
>>>>>
>>>>> Romain
>>>>>
>>>>>
>>>>>  --
>>>> Jean-Baptiste Onofré
>>>> jbonofre@apache.org
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>>
>>>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Console progress monitor

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
We can also imagine to mimic bash:

- a "flag" to execute a command in "background" (like &)
- jobs to display the commands in background
- fg to get back a command in foreground

Regards
JB

On 06/06/2012 07:05 PM, Christian Schneider wrote:
> I think we could implement some reusable component for that. It could be
> a spinner if the progress is not known or a progress bar thaat fills up
> if we know it.
>
> Perhaps you can write this initially and contribute it?
>
> Christian
>
> Am 06.06.2012 16:10, schrieb Romain Gilles:
>> Hi JB,
>> I mean the command line console.
>>
>> Regards,
>>
>> Romain
>>
>> Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :
>>
>>> Hi Romain,
>>>
>>> you mean in the webconsole included by default in Karaf (feature:install
>>> webconsole) or the "new" Karaf WebConsole project ?
>>>
>>> The embedded Karaf console is powered by Felix WebConsole. It's mainly
>>> javascript.
>>>
>>> Which kind of long running tasks are you executing in the WebConsole ?
>>>
>>> Regards
>>> JB
>>>
>>> On 06/06/2012 04:01 PM, Romain Gilles wrote:
>>>
>>>> Hi all,
>>>> I would like to know if it's possible to have a progress monitor in the
>>>> console for long running task?
>>>>
>>>> Romain
>>>>
>>>>
>>> --
>>> Jean-Baptiste Onofré
>>> jbonofre@apache.org
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>
>

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

Re: Console progress monitor

Posted by Christian Schneider <ch...@die-schneider.net>.
I think we could implement some reusable component for that.  It could 
be a spinner if the progress is not known or a progress bar thaat fills 
up if we know it.

Perhaps you can write this initially and contribute it?

Christian

Am 06.06.2012 16:10, schrieb Romain Gilles:
> Hi JB,
> I mean the command line console.
>
> Regards,
>
> Romain
>
> Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :
>
>> Hi Romain,
>>
>> you mean in the webconsole included by default in Karaf (feature:install
>> webconsole) or the "new" Karaf WebConsole project ?
>>
>> The embedded Karaf console is powered by Felix WebConsole. It's mainly
>> javascript.
>>
>> Which kind of long running tasks are you executing in the WebConsole ?
>>
>> Regards
>> JB
>>
>> On 06/06/2012 04:01 PM, Romain Gilles wrote:
>>
>>> Hi all,
>>> I would like to know if it's possible to have a progress monitor in the
>>> console for long running task?
>>>
>>> Romain
>>>
>>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>


-- 

Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Re: Console progress monitor

Posted by Romain Gilles <ro...@gmail.com>.
Hi JB,
I mean the command line console.

Regards,

Romain

Le mercredi 6 juin 2012, Jean-Baptiste Onofré a écrit :

> Hi Romain,
>
> you mean in the webconsole included by default in Karaf (feature:install
> webconsole) or the "new" Karaf WebConsole project ?
>
> The embedded Karaf console is powered by Felix WebConsole. It's mainly
> javascript.
>
> Which kind of long running tasks are you executing in the WebConsole ?
>
> Regards
> JB
>
> On 06/06/2012 04:01 PM, Romain Gilles wrote:
>
>> Hi all,
>> I would like to know if it's possible to have a progress monitor in the
>> console for long running task?
>>
>> Romain
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Re: Console progress monitor

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Romain,

you mean in the webconsole included by default in Karaf (feature:install 
webconsole) or the "new" Karaf WebConsole project ?

The embedded Karaf console is powered by Felix WebConsole. It's mainly 
javascript.

Which kind of long running tasks are you executing in the WebConsole ?

Regards
JB

On 06/06/2012 04:01 PM, Romain Gilles wrote:
> Hi all,
> I would like to know if it's possible to have a progress monitor in the
> console for long running task?
>
> Romain
>

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