You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Guillaume Nodet <gn...@gmail.com> on 2009/09/23 16:44:29 UTC

Name of shells to start nmr / servicemix

I wonder if we should rename the shell scripts to start the nmr /
features distribution to
   nmr.sh / nmr.bat
   servicemix.sh / servicemix.bat
instead of karaf / karaf.bat

Thoughts ?

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Name of shells to start nmr / servicemix

Posted by Guillaume Nodet <gn...@gmail.com>.
Sounds good.  The current plugin helps a bit but there's still much to
do to have a valid assembly.
Any improvement would be welcome.

On Wed, Sep 23, 2009 at 18:46, Chris Custine <ch...@gmail.com> wrote:
> +1 to rename to servicemix[.sh|.bat]
>
> Related to this, I have had the idea to write a karaf plugin for maven which
> would allow you to describe your application (branding, name, etc.) and do
> the assembly and string filtering based on this config.  Out of scope for
> now, but I'll start a discussion on felix mailing list soon to discuss if it
> is worthy of the effort.
>
> Chris
> --
> Chris Custine
> FUSESource :: http://fusesource.com
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Directory Server :: http://directory.apache.org
>
>
> On Wed, Sep 23, 2009 at 8:44 AM, Guillaume Nodet <gn...@gmail.com> wrote:
>
>> I wonder if we should rename the shell scripts to start the nmr /
>> features distribution to
>>   nmr.sh / nmr.bat
>>   servicemix.sh / servicemix.bat
>> instead of karaf / karaf.bat
>>
>> Thoughts ?
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Name of shells to start nmr / servicemix

Posted by Chris Custine <ch...@gmail.com>.
+1 to rename to servicemix[.sh|.bat]

Related to this, I have had the idea to write a karaf plugin for maven which
would allow you to describe your application (branding, name, etc.) and do
the assembly and string filtering based on this config.  Out of scope for
now, but I'll start a discussion on felix mailing list soon to discuss if it
is worthy of the effort.

Chris
--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Wed, Sep 23, 2009 at 8:44 AM, Guillaume Nodet <gn...@gmail.com> wrote:

> I wonder if we should rename the shell scripts to start the nmr /
> features distribution to
>   nmr.sh / nmr.bat
>   servicemix.sh / servicemix.bat
> instead of karaf / karaf.bat
>
> Thoughts ?
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: Name of shells to start nmr / servicemix

Posted by Aidan Hollinshead <ai...@progress.com>.
Guillaume,

Sorry, I meant the scripts it generated called start.sh|bat and 
stop.sh|bat, I was wondering if they could or should be consistent with 
the script in the bin directory or if the 'default' launch script should 
delegate to a default instance. Those generated scripts did launch the 
container in the background so you don't get a shell I think.

Aidan

Guillaume Nodet wrote:
> This one has already been renamed from karaf-admin to admin a few days
> ago afaik.  So i don't think it will change again.
>
> On Wed, Sep 23, 2009 at 18:02, Aidan Hollinshead
> <ai...@progress.com> wrote:
>   
>> Guillaume,
>>
>> Will we be keeping the admin command that creates scripts called start and
>> stop under an instances/ directory? Should that be consistent too?
>>
>> Aidan
>>
>> Guillaume Nodet wrote:
>>     
>>> What you describe might be interesting, but is a really different
>>> issue that may even be implemented in karaf rather than servicemix.
>>> I was really thinking about just renaming the scripts, nothing more for
>>> now.
>>> So you would run bin/servicemix instead of bin/karaf
>>> That was the case previously, but has been changed since the switch to
>>> karaf, so it'd be just about reverting to the previous names.
>>>
>>> On Wed, Sep 23, 2009 at 17:24, Charles Moulliard <cm...@gmail.com>
>>> wrote:
>>>
>>>       
>>>> Guillaume,
>>>>
>>>> What do you plan to do ?  Provide different shell scripts to start the
>>>> server with or without NMR, with or without JBI. I don't like that we
>>>> have too much shell scripts in the bin folder
>>>>
>>>> To stay consistent with what have been done in the past SMX3/beginning
>>>> of SMX4 server, it makes more sense to keep servicemix name (even if
>>>> this script do the same thing as karaf.bat).
>>>>
>>>> Nevertheless, what I propose, is to have a parameter who will allow
>>>> the user to start the server in the prefered mode :
>>>> servicemix.bat -mode=nmr / camel / jbi / cluster / ...
>>>>
>>>>
>>>> Charles Moulliard
>>>> Senior Enterprise Architect
>>>> Apache Camel Committer
>>>>
>>>> *****************************
>>>> blog : http://cmoulliard.blogspot.com
>>>>
>>>>
>>>>
>>>> On Wed, Sep 23, 2009 at 4:44 PM, Guillaume Nodet <gn...@gmail.com>
>>>> wrote:
>>>>
>>>>         
>>>>> I wonder if we should rename the shell scripts to start the nmr /
>>>>> features distribution to
>>>>>  nmr.sh / nmr.bat
>>>>>  servicemix.sh / servicemix.bat
>>>>> instead of karaf / karaf.bat
>>>>>
>>>>> Thoughts ?
>>>>>
>>>>> --
>>>>> Cheers,
>>>>> Guillaume Nodet
>>>>> ------------------------
>>>>> Blog: http://gnodet.blogspot.com/
>>>>> ------------------------
>>>>> Open Source SOA
>>>>> http://fusesource.com
>>>>>
>>>>>
>>>>>           
>>>
>>>
>>>       
>
>
>
>   

Re: Name of shells to start nmr / servicemix

Posted by Guillaume Nodet <gn...@gmail.com>.
This one has already been renamed from karaf-admin to admin a few days
ago afaik.  So i don't think it will change again.

On Wed, Sep 23, 2009 at 18:02, Aidan Hollinshead
<ai...@progress.com> wrote:
> Guillaume,
>
> Will we be keeping the admin command that creates scripts called start and
> stop under an instances/ directory? Should that be consistent too?
>
> Aidan
>
> Guillaume Nodet wrote:
>>
>> What you describe might be interesting, but is a really different
>> issue that may even be implemented in karaf rather than servicemix.
>> I was really thinking about just renaming the scripts, nothing more for
>> now.
>> So you would run bin/servicemix instead of bin/karaf
>> That was the case previously, but has been changed since the switch to
>> karaf, so it'd be just about reverting to the previous names.
>>
>> On Wed, Sep 23, 2009 at 17:24, Charles Moulliard <cm...@gmail.com>
>> wrote:
>>
>>>
>>> Guillaume,
>>>
>>> What do you plan to do ?  Provide different shell scripts to start the
>>> server with or without NMR, with or without JBI. I don't like that we
>>> have too much shell scripts in the bin folder
>>>
>>> To stay consistent with what have been done in the past SMX3/beginning
>>> of SMX4 server, it makes more sense to keep servicemix name (even if
>>> this script do the same thing as karaf.bat).
>>>
>>> Nevertheless, what I propose, is to have a parameter who will allow
>>> the user to start the server in the prefered mode :
>>> servicemix.bat -mode=nmr / camel / jbi / cluster / ...
>>>
>>>
>>> Charles Moulliard
>>> Senior Enterprise Architect
>>> Apache Camel Committer
>>>
>>> *****************************
>>> blog : http://cmoulliard.blogspot.com
>>>
>>>
>>>
>>> On Wed, Sep 23, 2009 at 4:44 PM, Guillaume Nodet <gn...@gmail.com>
>>> wrote:
>>>
>>>>
>>>> I wonder if we should rename the shell scripts to start the nmr /
>>>> features distribution to
>>>>  nmr.sh / nmr.bat
>>>>  servicemix.sh / servicemix.bat
>>>> instead of karaf / karaf.bat
>>>>
>>>> Thoughts ?
>>>>
>>>> --
>>>> Cheers,
>>>> Guillaume Nodet
>>>> ------------------------
>>>> Blog: http://gnodet.blogspot.com/
>>>> ------------------------
>>>> Open Source SOA
>>>> http://fusesource.com
>>>>
>>>>
>>
>>
>>
>>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Name of shells to start nmr / servicemix

Posted by Aidan Hollinshead <ai...@progress.com>.
Guillaume,

Will we be keeping the admin command that creates scripts called start 
and stop under an instances/ directory? Should that be consistent too?

Aidan

Guillaume Nodet wrote:
> What you describe might be interesting, but is a really different
> issue that may even be implemented in karaf rather than servicemix.
> I was really thinking about just renaming the scripts, nothing more for now.
> So you would run bin/servicemix instead of bin/karaf
> That was the case previously, but has been changed since the switch to
> karaf, so it'd be just about reverting to the previous names.
>
> On Wed, Sep 23, 2009 at 17:24, Charles Moulliard <cm...@gmail.com> wrote:
>   
>> Guillaume,
>>
>> What do you plan to do ?  Provide different shell scripts to start the
>> server with or without NMR, with or without JBI. I don't like that we
>> have too much shell scripts in the bin folder
>>
>> To stay consistent with what have been done in the past SMX3/beginning
>> of SMX4 server, it makes more sense to keep servicemix name (even if
>> this script do the same thing as karaf.bat).
>>
>> Nevertheless, what I propose, is to have a parameter who will allow
>> the user to start the server in the prefered mode :
>> servicemix.bat -mode=nmr / camel / jbi / cluster / ...
>>
>>
>> Charles Moulliard
>> Senior Enterprise Architect
>> Apache Camel Committer
>>
>> *****************************
>> blog : http://cmoulliard.blogspot.com
>>
>>
>>
>> On Wed, Sep 23, 2009 at 4:44 PM, Guillaume Nodet <gn...@gmail.com> wrote:
>>     
>>> I wonder if we should rename the shell scripts to start the nmr /
>>> features distribution to
>>>   nmr.sh / nmr.bat
>>>   servicemix.sh / servicemix.bat
>>> instead of karaf / karaf.bat
>>>
>>> Thoughts ?
>>>
>>> --
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Blog: http://gnodet.blogspot.com/
>>> ------------------------
>>> Open Source SOA
>>> http://fusesource.com
>>>
>>>       
>
>
>
>   

Re: Name of shells to start nmr / servicemix

Posted by "Jamie G." <ja...@gmail.com>.
+1 I think a rename would help avoid confusion for most casual users.

J

On Wed, Sep 23, 2009 at 1:07 PM, Charles Moulliard <cm...@gmail.com> wrote:
> So let's go to rename it if everybody agree on that.
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>
>
>
> On Wed, Sep 23, 2009 at 5:31 PM, Guillaume Nodet <gn...@gmail.com> wrote:
>> What you describe might be interesting, but is a really different
>> issue that may even be implemented in karaf rather than servicemix.
>> I was really thinking about just renaming the scripts, nothing more for now.
>> So you would run bin/servicemix instead of bin/karaf
>> That was the case previously, but has been changed since the switch to
>> karaf, so it'd be just about reverting to the previous names.
>>
>> On Wed, Sep 23, 2009 at 17:24, Charles Moulliard <cm...@gmail.com> wrote:
>>> Guillaume,
>>>
>>> What do you plan to do ?  Provide different shell scripts to start the
>>> server with or without NMR, with or without JBI. I don't like that we
>>> have too much shell scripts in the bin folder
>>>
>>> To stay consistent with what have been done in the past SMX3/beginning
>>> of SMX4 server, it makes more sense to keep servicemix name (even if
>>> this script do the same thing as karaf.bat).
>>>
>>> Nevertheless, what I propose, is to have a parameter who will allow
>>> the user to start the server in the prefered mode :
>>> servicemix.bat -mode=nmr / camel / jbi / cluster / ...
>>>
>>>
>>> Charles Moulliard
>>> Senior Enterprise Architect
>>> Apache Camel Committer
>>>
>>> *****************************
>>> blog : http://cmoulliard.blogspot.com
>>>
>>>
>>>
>>> On Wed, Sep 23, 2009 at 4:44 PM, Guillaume Nodet <gn...@gmail.com> wrote:
>>>> I wonder if we should rename the shell scripts to start the nmr /
>>>> features distribution to
>>>>   nmr.sh / nmr.bat
>>>>   servicemix.sh / servicemix.bat
>>>> instead of karaf / karaf.bat
>>>>
>>>> Thoughts ?
>>>>
>>>> --
>>>> Cheers,
>>>> Guillaume Nodet
>>>> ------------------------
>>>> Blog: http://gnodet.blogspot.com/
>>>> ------------------------
>>>> Open Source SOA
>>>> http://fusesource.com
>>>>
>>>
>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>

Re: Name of shells to start nmr / servicemix

Posted by Charles Moulliard <cm...@gmail.com>.
So let's go to rename it if everybody agree on that.

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com



On Wed, Sep 23, 2009 at 5:31 PM, Guillaume Nodet <gn...@gmail.com> wrote:
> What you describe might be interesting, but is a really different
> issue that may even be implemented in karaf rather than servicemix.
> I was really thinking about just renaming the scripts, nothing more for now.
> So you would run bin/servicemix instead of bin/karaf
> That was the case previously, but has been changed since the switch to
> karaf, so it'd be just about reverting to the previous names.
>
> On Wed, Sep 23, 2009 at 17:24, Charles Moulliard <cm...@gmail.com> wrote:
>> Guillaume,
>>
>> What do you plan to do ?  Provide different shell scripts to start the
>> server with or without NMR, with or without JBI. I don't like that we
>> have too much shell scripts in the bin folder
>>
>> To stay consistent with what have been done in the past SMX3/beginning
>> of SMX4 server, it makes more sense to keep servicemix name (even if
>> this script do the same thing as karaf.bat).
>>
>> Nevertheless, what I propose, is to have a parameter who will allow
>> the user to start the server in the prefered mode :
>> servicemix.bat -mode=nmr / camel / jbi / cluster / ...
>>
>>
>> Charles Moulliard
>> Senior Enterprise Architect
>> Apache Camel Committer
>>
>> *****************************
>> blog : http://cmoulliard.blogspot.com
>>
>>
>>
>> On Wed, Sep 23, 2009 at 4:44 PM, Guillaume Nodet <gn...@gmail.com> wrote:
>>> I wonder if we should rename the shell scripts to start the nmr /
>>> features distribution to
>>>   nmr.sh / nmr.bat
>>>   servicemix.sh / servicemix.bat
>>> instead of karaf / karaf.bat
>>>
>>> Thoughts ?
>>>
>>> --
>>> Cheers,
>>> Guillaume Nodet
>>> ------------------------
>>> Blog: http://gnodet.blogspot.com/
>>> ------------------------
>>> Open Source SOA
>>> http://fusesource.com
>>>
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: Name of shells to start nmr / servicemix

Posted by Guillaume Nodet <gn...@gmail.com>.
What you describe might be interesting, but is a really different
issue that may even be implemented in karaf rather than servicemix.
I was really thinking about just renaming the scripts, nothing more for now.
So you would run bin/servicemix instead of bin/karaf
That was the case previously, but has been changed since the switch to
karaf, so it'd be just about reverting to the previous names.

On Wed, Sep 23, 2009 at 17:24, Charles Moulliard <cm...@gmail.com> wrote:
> Guillaume,
>
> What do you plan to do ?  Provide different shell scripts to start the
> server with or without NMR, with or without JBI. I don't like that we
> have too much shell scripts in the bin folder
>
> To stay consistent with what have been done in the past SMX3/beginning
> of SMX4 server, it makes more sense to keep servicemix name (even if
> this script do the same thing as karaf.bat).
>
> Nevertheless, what I propose, is to have a parameter who will allow
> the user to start the server in the prefered mode :
> servicemix.bat -mode=nmr / camel / jbi / cluster / ...
>
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>
>
>
> On Wed, Sep 23, 2009 at 4:44 PM, Guillaume Nodet <gn...@gmail.com> wrote:
>> I wonder if we should rename the shell scripts to start the nmr /
>> features distribution to
>>   nmr.sh / nmr.bat
>>   servicemix.sh / servicemix.bat
>> instead of karaf / karaf.bat
>>
>> Thoughts ?
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Name of shells to start nmr / servicemix

Posted by Charles Moulliard <cm...@gmail.com>.
Guillaume,

What do you plan to do ?  Provide different shell scripts to start the
server with or without NMR, with or without JBI. I don't like that we
have too much shell scripts in the bin folder

To stay consistent with what have been done in the past SMX3/beginning
of SMX4 server, it makes more sense to keep servicemix name (even if
this script do the same thing as karaf.bat).

Nevertheless, what I propose, is to have a parameter who will allow
the user to start the server in the prefered mode :
servicemix.bat -mode=nmr / camel / jbi / cluster / ...


Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com



On Wed, Sep 23, 2009 at 4:44 PM, Guillaume Nodet <gn...@gmail.com> wrote:
> I wonder if we should rename the shell scripts to start the nmr /
> features distribution to
>   nmr.sh / nmr.bat
>   servicemix.sh / servicemix.bat
> instead of karaf / karaf.bat
>
> Thoughts ?
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: Name of shells to start nmr / servicemix

Posted by Johan Edstrom <jo...@opennms.org>.
+1 for rename


Re: Name of shells to start nmr / servicemix

Posted by Willem Jiang <wi...@gmail.com>.
+1 for this renaming.
When people use the servicemix or nmr, they will run the below command 
without thinking of what's karaf.

Willem

Guillaume Nodet wrote:
> I wonder if we should rename the shell scripts to start the nmr /
> features distribution to
>    nmr.sh / nmr.bat
>    servicemix.sh / servicemix.bat
> instead of karaf / karaf.bat
> 
> Thoughts ?
> 


Re: Name of shells to start nmr / servicemix

Posted by Lars Heinemann <lh...@apache.org>.
+1 for renaming to servicemix.xxx




2009/9/23 Guillaume Nodet <gn...@gmail.com>:
> I wonder if we should rename the shell scripts to start the nmr /
> features distribution to
>   nmr.sh / nmr.bat
>   servicemix.sh / servicemix.bat
> instead of karaf / karaf.bat
>
> Thoughts ?
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>



-- 
http://lhein.blogspot.com

Re: Name of shells to start nmr / servicemix

Posted by Freeman Fang <fr...@gmail.com>.
+1 for using servicemix.sh|bat

Freeman
On 2009-9-23, at 下午10:44, Guillaume Nodet wrote:

> I wonder if we should rename the shell scripts to start the nmr /
> features distribution to
>   nmr.sh / nmr.bat
>   servicemix.sh / servicemix.bat
> instead of karaf / karaf.bat
>
> Thoughts ?
>
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com


-- 
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com