You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Moloney, Tim M" <Ti...@ManTech.com> on 2009/07/17 04:57:37 UTC
Branding in the new gogo console
It appears that during the switch to gogo, the branding in the Karaf
console (ascii art, product name, version) has been put into a property
file in org.apache.felix.karaf.gshell.console. Is it possible to change
the branding without editing the property file and rebuilding the
bundle?
Tim Moloney The reasonable man adapts himself to
MRSL the world; the unreasonable one persists
2015 Cattlemen Road in trying to adapt the world to himself.
Sarasota, FL 34232 Therefore all progress depends on the
(941) 377-6775 x208 unreasonable man. George Bernard Shaw
RE: Branding in the new gogo console
Posted by "Moloney, Tim M" <Ti...@ManTech.com>.
I thought it might be something like that.
I had looked for optional imports but only saw com.sun.jna* (for the Windows ANSI fix). Now that I know that you intended it to work that way, I created FELIX-1378 and attached a (trivial) patch to make it work as you described.
Thanks.
Tim Moloney The reasonable man adapts himself to
MRSL the world; the unreasonable one persists
2015 Cattlemen Road in trying to adapt the world to himself.
Sarasota, FL 34232 Therefore all progress depends on the
(941) 377-6775 x208 unreasonable man. George Bernard Shaw
> -----Original Message-----
> From: Guillaume Nodet [mailto:gnodet@gmail.com]
> Sent: Friday, July 17, 2009 13:11
> To: dev@felix.apache.org
> Subject: Re: Branding in the new gogo console
>
> Yes, if you look at the code, two properties files are loaded, the
> first one from the bundle itself, and the second one from an optional
> import package. So if you create a bundle which exports this package
> and contains the required properties file, it should be used instead.
> Note that it now uses a single property for the welcome message, but
> we could reimplement the older solution if you think it's more
> usable...
>
> On Friday, July 17, 2009, Moloney, Tim M
> <Ti...@mantech.com> wrote:
> >
> > It appears that during the switch to gogo, the branding in the Karaf
> > console (ascii art, product name, version) has been put
> into a property
> > file in org.apache.felix.karaf.gshell.console. Is it
> possible to change
> > the branding without editing the property file and rebuilding the
> > bundle?
> >
> >
> > Tim Moloney The reasonable man adapts himself to
> > MRSL the world; the unreasonable one persists
> > 2015 Cattlemen Road in trying to adapt the world to himself.
> > Sarasota, FL 34232 Therefore all progress depends on the
> > (941) 377-6775 x208 unreasonable man. George Bernard Shaw
> >
> >
> >
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
Re: Branding in the new gogo console
Posted by Guillaume Nodet <gn...@gmail.com>.
Yes, if you look at the code, two properties files are loaded, the
first one from the bundle itself, and the second one from an optional
import package. So if you create a bundle which exports this package
and contains the required properties file, it should be used instead.
Note that it now uses a single property for the welcome message, but
we could reimplement the older solution if you think it's more
usable...
On Friday, July 17, 2009, Moloney, Tim M <Ti...@mantech.com> wrote:
>
> It appears that during the switch to gogo, the branding in the Karaf
> console (ascii art, product name, version) has been put into a property
> file in org.apache.felix.karaf.gshell.console. Is it possible to change
> the branding without editing the property file and rebuilding the
> bundle?
>
>
> Tim Moloney The reasonable man adapts himself to
> MRSL the world; the unreasonable one persists
> 2015 Cattlemen Road in trying to adapt the world to himself.
> Sarasota, FL 34232 Therefore all progress depends on the
> (941) 377-6775 x208 unreasonable man. George Bernard Shaw
>
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com