Re: Karaf-1.2.6 - No dice with web console branding
Hi JB, That would be awesome, thanks. Erwin El jun. 13, 2019, a la(s) 00:03, Jean-Baptiste Onofré escribió: > Hi Erwin, > > I created https://issues.apache.org/jira/browse/KARAF-6330 to add a > webconsole branding example. > > I will provide it asap. > > Regards > JB > >> On 13/06/2019 05:54, Erwin Hogeweg wrote: >> Hi, >> >> Every now and again I feel bold enough to give a custom web console >> branding bundle another try, and the release of 1.2.6 seemed like a good >> motivation. >> >> Still no dice though. I am following the instructions in the Karaf >> manual and as far as I can see everything is linked correctly. My next >> step will be to debug the web console bundle but before I do that I >> would like to know if anyone can spot something wrong in the bundle >> header or the bundle structure below. >> >> Thanks, >> >> Erwin >> >> >> >> *karaf*@root()> headers176 >> >> My :: WebConsole Branding (176) >> - >> Build-Jdk = 1.8.0_92 >> Fragment-Host = org.apache.karaf.webconsole.console;bundle-version="[4,5)" >> Manifest-Version = 1.0 >> >> Bundle-ManifestVersion = 2 >> Bundle-Name = My :: WebConsole Branding >> Bundle-SymbolicName = com.seecago.my.server.branding >> Bundle-Vendor = Seecago, Inc. >> Bundle-Version = 1.2.5.SNAPSHOT_20190612-2324 >> >> Import-Package = >> javax.servlet;version=2.4, >> javax.servlet.http;version=2.4, >> org.apache.aries.blueprint, >> org.osgi.service.blueprint.container, >> org.osgi.service.blueprint.reflect >> >> >> >> This is the tree in the bundle jar: >> . >> |res >> | |ui >> | | |webconsole.css >> | |imgs >> | | |favicon.png >> | | |logo.png >> |META-INF >> | |MANIFEST.MF >> | |LICENSE >> | |DEPENDENCIES >> | |NOTICE >> | |webconsole.properties >> >> >> >> Cheers, >> >> Erwin > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com
Re: Karaf-1.2.6 - No dice with web console branding
Hi Erwin, I created https://issues.apache.org/jira/browse/KARAF-6330 to add a webconsole branding example. I will provide it asap. Regards JB On 13/06/2019 05:54, Erwin Hogeweg wrote: > Hi, > > Every now and again I feel bold enough to give a custom web console > branding bundle another try, and the release of 1.2.6 seemed like a good > motivation. > > Still no dice though. I am following the instructions in the Karaf > manual and as far as I can see everything is linked correctly. My next > step will be to debug the web console bundle but before I do that I > would like to know if anyone can spot something wrong in the bundle > header or the bundle structure below. > > Thanks, > > Erwin > > > > *karaf*@root()> headers176 > > My :: WebConsole Branding (176) > - > Build-Jdk = 1.8.0_92 > Fragment-Host = org.apache.karaf.webconsole.console;bundle-version="[4,5)" > Manifest-Version = 1.0 > > Bundle-ManifestVersion = 2 > Bundle-Name = My :: WebConsole Branding > Bundle-SymbolicName = com.seecago.my.server.branding > Bundle-Vendor = Seecago, Inc. > Bundle-Version = 1.2.5.SNAPSHOT_20190612-2324 > > Import-Package = > javax.servlet;version=2.4, > javax.servlet.http;version=2.4, > org.apache.aries.blueprint, > org.osgi.service.blueprint.container, > org.osgi.service.blueprint.reflect > > > > This is the tree in the bundle jar: > . > |res > | |ui > | | |webconsole.css > | |imgs > | | |favicon.png > | | |logo.png > |META-INF > | |MANIFEST.MF > | |LICENSE > | |DEPENDENCIES > | |NOTICE > | |webconsole.properties > > > > Cheers, > > Erwin -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Karaf-1.2.6 - No dice with web console branding
Hi, Every now and again I feel bold enough to give a custom web console branding bundle another try, and the release of 1.2.6 seemed like a good motivation. Still no dice though. I am following the instructions in the Karaf manual and as far as I can see everything is linked correctly. My next step will be to debug the web console bundle but before I do that I would like to know if anyone can spot something wrong in the bundle header or the bundle structure below. Thanks, Erwin karaf@root()> headers 176 My :: WebConsole Branding (176) - Build-Jdk = 1.8.0_92 Fragment-Host = org.apache.karaf.webconsole.console;bundle-version="[4,5)" Manifest-Version = 1.0 Bundle-ManifestVersion = 2 Bundle-Name = My :: WebConsole Branding Bundle-SymbolicName = com.seecago.my.server.branding Bundle-Vendor = Seecago, Inc. Bundle-Version = 1.2.5.SNAPSHOT_20190612-2324 Import-Package = javax.servlet;version=2.4, javax.servlet.http;version=2.4, org.apache.aries.blueprint, org.osgi.service.blueprint.container, org.osgi.service.blueprint.reflect This is the tree in the bundle jar: . |res | |ui | | |webconsole.css | |imgs | | |favicon.png | | |logo.png |META-INF | |MANIFEST.MF | |LICENSE | |DEPENDENCIES | |NOTICE | |webconsole.properties Cheers, Erwin
Re: Branding
I think we should reconsider having a new Karaf splash screen. :-) Great stuff! Cheers, Łukasz > On 9 May 2019, at 18:35, Jean-Baptiste Onofré wrote: > > Lol ;) I like that ;) > > Thanks for sharing ;) > > Regards > JB > > On 09/05/2019 18:20, Kleber Ayala wrote: >> Just for fun ;) , you can try this one, its my "dev-mode" branding >> >> >> >> >> >> >> >> >>> On May 9, 2019, at 11:07 AM, Jean-Baptiste Onofré wrote: >>> >>> Ooops Erwin, I didn't see your reply :) >>> >>> Thanks ;) and I agree ;) >>> >>> Regards >>> JB >>> >>> On 09/05/2019 17:52, Erwin Hogeweg wrote: >>>> Hi Paul, >>>> >>>> I think you need double \\… >>>> >>>> Please try attached. >>>> >>>> >>>> Ewin >>>> >>>> >>>>> On May 8, 2019, at 16:07, Paul Fraser wrote: >>>>> >>>>> On 8/05/2019 11:07 pm, Jean-Baptiste Onofré wrote: >>>>>> Hi Paul, >>>>>> >>>>>> What does your branding.properties contain ? >>>>> >>>>> Attached. >>>>> >>>>> Paul >>>>> >>> >>> -- >>> Jean-Baptiste Onofré >>> jbono...@apache.org >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >> > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com
Re: Branding
Lol ;) I like that ;) Thanks for sharing ;) Regards JB On 09/05/2019 18:20, Kleber Ayala wrote: > Just for fun ;) , you can try this one, its my "dev-mode" branding > > > > > > > > >> On May 9, 2019, at 11:07 AM, Jean-Baptiste Onofré wrote: >> >> Ooops Erwin, I didn't see your reply :) >> >> Thanks ;) and I agree ;) >> >> Regards >> JB >> >> On 09/05/2019 17:52, Erwin Hogeweg wrote: >>> Hi Paul, >>> >>> I think you need double \\… >>> >>> Please try attached. >>> >>> >>> Ewin >>> >>> >>>> On May 8, 2019, at 16:07, Paul Fraser wrote: >>>> >>>> On 8/05/2019 11:07 pm, Jean-Baptiste Onofré wrote: >>>>> Hi Paul, >>>>> >>>>> What does your branding.properties contain ? >>>> >>>> Attached. >>>> >>>> Paul >>>> >> >> -- >> Jean-Baptiste Onofré >> jbono...@apache.org >> http://blog.nanthrax.net >> Talend - http://www.talend.com > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Branding
Ooops Erwin, I didn't see your reply :) Thanks ;) and I agree ;) Regards JB On 09/05/2019 17:52, Erwin Hogeweg wrote: > Hi Paul, > > I think you need double \\… > > Please try attached. > > > Ewin > > >> On May 8, 2019, at 16:07, Paul Fraser wrote: >> >> On 8/05/2019 11:07 pm, Jean-Baptiste Onofré wrote: >>> Hi Paul, >>> >>> What does your branding.properties contain ? >> >> Attached. >> >> Paul >> -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Branding
Hi Your logo messes up the welcome properties ;) You have to escape the special character of the ASCII art logo, like \. So, use \\ instead of \ in your ASCII art logo. Regards JB On 08/05/2019 22:07, Paul Fraser wrote: > On 8/05/2019 11:07 pm, Jean-Baptiste Onofré wrote: >> Hi Paul, >> >> What does your branding.properties contain ? > > Attached. > > Paul > > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Branding
Hi Paul, I think you need double \\… Please try attached. Ewin > On May 8, 2019, at 16:07, Paul Fraser wrote: > > On 8/05/2019 11:07 pm, Jean-Baptiste Onofré wrote: >> Hi Paul, >> >> What does your branding.properties contain ? > > Attached. > > Paul > branding.properties Description: Binary data
Re: Branding
On 8/05/2019 11:07 pm, Jean-Baptiste Onofré wrote: Hi Paul, What does your branding.properties contain ? Attached. Paul welcome = \ \u001B[36m _ _ __ __\u001B[0m\r\n\ \u001B[36m / __ \ / | / / / | / /__ / /_ \u001B[0m\r\n\ \u001B[36m/ / / / / |/ / __/ / |/ / _ \/ __/ \u001B[0m\r\n\ \u001B[36m / /_/ / / /| / /___/ /| / __/ / \u001B[0m\r\n\ \u001B[36m \___\_\/_/ |_/_/_/ |_/\___/_/ \u001B[0m\r\n\ \r\n\ \u001B[1m QNENet\u001B[0m (4.0.0)\r\n\ \r\n\ Hit '\u001B[1m\u001B[0m' for a list of available commands\r\n\ and '\u001B[1m[cmd] --help\u001B[0m' for help on a specific command.\r\n\ Hit '\u001B[1m\u001B[0m' or '\u001B[1mosgi:shutdown\u001B[0m' to shutdown QNENet.\r\n prompt = \u001B[1m${USER}@${APPLICATION}\u001B[0m>
Re: Branding
Hi Paul, What does your branding.properties contain ? Regards JB On 08/05/2019 12:11, Paul Fraser wrote: > Hi, > > I have created branding.properties as required but when running the > console, blank lines appear where the original Karaf brand was and my > branding is cut off at the bottom. > > Is there anything I need to do as well as just create the > branding.properties in etc? > > Paul Fraser > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: Branding
branding-ssh.properties for client branding > Am 08.05.2019 um 12:11 schrieb Paul Fraser : > > Hi, > > I have created branding.properties as required but when running the console, > blank lines appear where the original Karaf brand was and my branding is cut > off at the bottom. > > Is there anything I need to do as well as just create the branding.properties > in etc? > > Paul Fraser >
Branding
Hi, I have created branding.properties as required but when running the console, blank lines appear where the original Karaf brand was and my branding is cut off at the bottom. Is there anything I need to do as well as just create the branding.properties in etc? Paul Fraser
Re: Karaf-4.2.4 Web Console Branding
I take that back… Event WITH all the branding resources in the jar file they don’t show up in the Web Console. Erwin > On Apr 2, 2019, at 08:56, Erwin Hogeweg wrote: > > Hi JB, > >> Hi Erwin, >> >> it should work with fragment if you override the resources. >> >> What did you put in your branding fragment ? I guess it's >> HTML/CSS/Images right ? > Correct. > > It’s a different problem. The bundle jar doesn’t include any of the > resources. Duh… > > Pardon the noise. > > Erwin > >> >> Let me try. >> >> Regards >> JB >> >> On 02/04/2019 10:39, Erwin Hogeweg wrote: >>> Hi, >>> >>> Is the Karaf Web Console Branding still expected to work in 4.2.4 as >>> described in the User Guide? I believe I followed the instructions but >>> the branding doesn’t show up. Did I miss something? >>> >>> >>> Thanks, >>> >>> Erwin >>> >>> >>> 203 │ Active │ 30 │ 4.2.4 │ Apache Karaf :: Web >>> *Console*:: *Console*, Fragments: 257 >>> ... >>> 257 │ Resolved │ 40 │ 5.2.0.RT1_20190402-0413│ Project :: Web >>> *Console*Branding, Hosts: 203 >>> >>> >>> *karaf*@root()> headers257 >>> >>> Project :: Web Console Branding (257) >>> -- >>> Bnd-LastModified = 1554192823584 >>> Build-Jdk = 1.8.0_92 >>> Built-By = erwin >>> Created-By = Apache Maven Bundle Plugin >>> Fragment-Host = org.apache.karaf.webconsole.console;bundle-version="[4,5)" >>> Manifest-Version = 1.0 >>> Tool = Bnd-3.3.0.201609221906 >>> >>> Bundle-Category = Project-Server >>> Bundle-Description = Project Branding for the Apache Karaf Web Console. >>> This fragment attaches to the org.apache.karaf.webconsole.console bundle >>> to provide branding through the /META-INF/webconsole.properties. >>> Bundle-ManifestVersion = 2 >>> Bundle-Name = Project :: Web Console Branding >>> Bundle-SymbolicName = webconsole.branding >>> Bundle-Vendor = Seecago, Inc. >>> Bundle-Version = 5.2.0.RT1_20190402-0413 >>> >>> Import-Package = >>> javax.servlet;version=2.4, >>> javax.servlet.http;version=2.4, >>> org.apache.aries.blueprint, >>> org.osgi.service.blueprint.container, >>> org.osgi.service.blueprint.reflect >>> >> >> -- >> Jean-Baptiste Onofré >> jbono...@apache.org >> http://blog.nanthrax.net >> Talend - http://www.talend.com >
Re: Karaf-4.2.4 Web Console Branding
Hi JB, > Hi Erwin, > > it should work with fragment if you override the resources. > > What did you put in your branding fragment ? I guess it's > HTML/CSS/Images right ? Correct. It’s a different problem. The bundle jar doesn’t include any of the resources. Duh… Pardon the noise. Erwin > > Let me try. > > Regards > JB > > On 02/04/2019 10:39, Erwin Hogeweg wrote: >> Hi, >> >> Is the Karaf Web Console Branding still expected to work in 4.2.4 as >> described in the User Guide? I believe I followed the instructions but >> the branding doesn’t show up. Did I miss something? >> >> >> Thanks, >> >> Erwin >> >> >> 203 │ Active │ 30 │ 4.2.4 │ Apache Karaf :: Web >> *Console*:: *Console*, Fragments: 257 >> ... >> 257 │ Resolved │ 40 │ 5.2.0.RT1_20190402-0413│ Project :: Web >> *Console*Branding, Hosts: 203 >> >> >> *karaf*@root()> headers257 >> >> Project :: Web Console Branding (257) >> -- >> Bnd-LastModified = 1554192823584 >> Build-Jdk = 1.8.0_92 >> Built-By = erwin >> Created-By = Apache Maven Bundle Plugin >> Fragment-Host = org.apache.karaf.webconsole.console;bundle-version="[4,5)" >> Manifest-Version = 1.0 >> Tool = Bnd-3.3.0.201609221906 >> >> Bundle-Category = Project-Server >> Bundle-Description = Project Branding for the Apache Karaf Web Console. >> This fragment attaches to the org.apache.karaf.webconsole.console bundle >> to provide branding through the /META-INF/webconsole.properties. >> Bundle-ManifestVersion = 2 >> Bundle-Name = Project :: Web Console Branding >> Bundle-SymbolicName = webconsole.branding >> Bundle-Vendor = Seecago, Inc. >> Bundle-Version = 5.2.0.RT1_20190402-0413 >> >> Import-Package = >> javax.servlet;version=2.4, >> javax.servlet.http;version=2.4, >> org.apache.aries.blueprint, >> org.osgi.service.blueprint.container, >> org.osgi.service.blueprint.reflect >> > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com
Re: Karaf-4.2.4 Web Console Branding
Hi Erwin, it should work with fragment if you override the resources. What did you put in your branding fragment ? I guess it's HTML/CSS/Images right ? Let me try. Regards JB On 02/04/2019 10:39, Erwin Hogeweg wrote: > Hi, > > Is the Karaf Web Console Branding still expected to work in 4.2.4 as > described in the User Guide? I believe I followed the instructions but > the branding doesn’t show up. Did I miss something? > > > Thanks, > > Erwin > > > 203 │ Active │ 30 │ 4.2.4 │ Apache Karaf :: Web > *Console*:: *Console*, Fragments: 257 > ... > 257 │ Resolved │ 40 │ 5.2.0.RT1_20190402-0413 │ Project :: Web > *Console*Branding, Hosts: 203 > > > *karaf*@root()> headers257 > > Project :: Web Console Branding (257) > -- > Bnd-LastModified = 1554192823584 > Build-Jdk = 1.8.0_92 > Built-By = erwin > Created-By = Apache Maven Bundle Plugin > Fragment-Host = org.apache.karaf.webconsole.console;bundle-version="[4,5)" > Manifest-Version = 1.0 > Tool = Bnd-3.3.0.201609221906 > > Bundle-Category = Project-Server > Bundle-Description = Project Branding for the Apache Karaf Web Console. > This fragment attaches to the org.apache.karaf.webconsole.console bundle > to provide branding through the /META-INF/webconsole.properties. > Bundle-ManifestVersion = 2 > Bundle-Name = Project :: Web Console Branding > Bundle-SymbolicName = webconsole.branding > Bundle-Vendor = Seecago, Inc. > Bundle-Version = 5.2.0.RT1_20190402-0413 > > Import-Package = > javax.servlet;version=2.4, > javax.servlet.http;version=2.4, > org.apache.aries.blueprint, > org.osgi.service.blueprint.container, > org.osgi.service.blueprint.reflect > -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Karaf-4.2.4 Web Console Branding
Hi, Is the Karaf Web Console Branding still expected to work in 4.2.4 as described in the User Guide? I believe I followed the instructions but the branding doesn’t show up. Did I miss something? Thanks, Erwin 203 │ Active │ 30 │ 4.2.4 │ Apache Karaf :: Web Console :: Console, Fragments: 257 ... 257 │ Resolved │ 40 │ 5.2.0.RT1_20190402-0413│ Project :: Web Console Branding, Hosts: 203 karaf@root()> headers 257 Project :: Web Console Branding (257) -- Bnd-LastModified = 1554192823584 Build-Jdk = 1.8.0_92 Built-By = erwin Created-By = Apache Maven Bundle Plugin Fragment-Host = org.apache.karaf.webconsole.console;bundle-version="[4,5)" Manifest-Version = 1.0 Tool = Bnd-3.3.0.201609221906 Bundle-Category = Project-Server Bundle-Description = Project Branding for the Apache Karaf Web Console. This fragment attaches to the org.apache.karaf.webconsole.console bundle to provide branding through the /META-INF/webconsole.properties. Bundle-ManifestVersion = 2 Bundle-Name = Project :: Web Console Branding Bundle-SymbolicName = webconsole.branding Bundle-Vendor = Seecago, Inc. Bundle-Version = 5.2.0.RT1_20190402-0413 Import-Package = javax.servlet;version=2.4, javax.servlet.http;version=2.4, org.apache.aries.blueprint, org.osgi.service.blueprint.container, org.osgi.service.blueprint.reflect
Re: Console branding doesn't affect "client" console?
Oh, OK. Any reason why there are two files? The implication is that you want to have different branding depending on whether you are running the server in you terminal or connecting as a client, which to me seems unlikely? This isn't mentioned at all in the documentation as far as I can see? Sent from my iPhone > On 26 Aug 2017, at 6:54 am, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Hi > > You have a branding-ssh dedicated for ssh/client. > > Regards > JB >> On Aug 25, 2017, at 15:24, t...@quarendon.net wrote: >> I'm running this on Windows, I don't know whether the same is true on Linux. >> I'm using Karaf 4.1.2. >> >> If I run the karaf.bat file, I see my branding from my >> etc/branding.properties file appear. >> >> If I then run the client.bat file (or a standard SSH client), I see the >> normal Karaf logo. >> >> The effect is that when I've installed karaf as a service, and so only use >> the "client.bat" script, I don't get a branded console, which seems to >> defeat the idea. >> >> Can I get a branded console in this environment? >> Thanks.
Re: Console branding doesn't affect "client" console?
Hi You have a branding-ssh dedicated for ssh/client. Regards JB On Aug 25, 2017, 15:24, at 15:24, t...@quarendon.net wrote: >I'm running this on Windows, I don't know whether the same is true on >Linux. >I'm using Karaf 4.1.2. > >If I run the karaf.bat file, I see my branding from my >etc/branding.properties file appear. > >If I then run the client.bat file (or a standard SSH client), I see the >normal Karaf logo. > >The effect is that when I've installed karaf as a service, and so only >use the "client.bat" script, I don't get a branded console, which seems >to defeat the idea. > >Can I get a branded console in this environment? >Thanks.
Re: Console branding doesn't affect "client" console?
Create a second file with branding-ssh.properties. This is used by the client. Thomas > Am 25.08.2017 um 17:02 schrieb Nicolas Brasey <nicolas.bra...@gmail.com>: > > We have the same behavior on Linux, only the karaf script gets the custom > branding. I think it's a known issue, I've seen it in the mailing list > already...I don't know if there is a workaround but I'm also interested. > > Cheers, > Nicolas > > > >> On Fri, Aug 25, 2017 at 4:24 PM, <t...@quarendon.net> wrote: >> I'm running this on Windows, I don't know whether the same is true on Linux. >> I'm using Karaf 4.1.2. >> >> If I run the karaf.bat file, I see my branding from my >> etc/branding.properties file appear. >> >> If I then run the client.bat file (or a standard SSH client), I see the >> normal Karaf logo. >> >> The effect is that when I've installed karaf as a service, and so only use >> the "client.bat" script, I don't get a branded console, which seems to >> defeat the idea. >> >> Can I get a branded console in this environment? >> Thanks. >
Re: Console branding doesn't affect "client" console?
We have the same behavior on Linux, only the karaf script gets the custom branding. I think it's a known issue, I've seen it in the mailing list already...I don't know if there is a workaround but I'm also interested. Cheers, Nicolas On Fri, Aug 25, 2017 at 4:24 PM, <t...@quarendon.net> wrote: > I'm running this on Windows, I don't know whether the same is true on > Linux. > I'm using Karaf 4.1.2. > > If I run the karaf.bat file, I see my branding from my > etc/branding.properties file appear. > > If I then run the client.bat file (or a standard SSH client), I see the > normal Karaf logo. > > The effect is that when I've installed karaf as a service, and so only use > the "client.bat" script, I don't get a branded console, which seems to > defeat the idea. > > Can I get a branded console in this environment? > Thanks. >
Console branding doesn't affect "client" console?
I'm running this on Windows, I don't know whether the same is true on Linux. I'm using Karaf 4.1.2. If I run the karaf.bat file, I see my branding from my etc/branding.properties file appear. If I then run the client.bat file (or a standard SSH client), I see the normal Karaf logo. The effect is that when I've installed karaf as a service, and so only use the "client.bat" script, I don't get a branded console, which seems to defeat the idea. Can I get a branded console in this environment? Thanks.
Re: Branding properties file not picked up by Karaf client?
Awesome! Thank you :) -- View this message in context: http://karaf.922171.n3.nabble.com/Branding-properties-file-not-picked-up-by-Karaf-client-tp4048143p4048148.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Branding properties file not picked up by Karaf client?
For the client, you have to use branding-ssh.properties. Regards JB On Sep 21, 2016, 12:38, at 12:38, afbagwe <afba...@sandia.gov> wrote: >We are using 4.0.6. > >So I can take a pristine tar.gz of Karaf 4.0.6, drop my >branding.properties >in the etc folder and get it to show up when I run the server in >console >mode. However if I do: > >./start >./client >(enter default Karaf password) > >the console comes up with the default branding instead of the one I've >dropped into the etc folder. > > > > >-- >View this message in context: >http://karaf.922171.n3.nabble.com/Branding-properties-file-not-picked-up-by-Karaf-client-tp4048143p4048145.html >Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Branding properties file not picked up by Karaf client?
We are using 4.0.6. So I can take a pristine tar.gz of Karaf 4.0.6, drop my branding.properties in the etc folder and get it to show up when I run the server in console mode. However if I do: ./start ./client (enter default Karaf password) the console comes up with the default branding instead of the one I've dropped into the etc folder. -- View this message in context: http://karaf.922171.n3.nabble.com/Branding-properties-file-not-picked-up-by-Karaf-client-tp4048143p4048145.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Branding properties file not picked up by Karaf client?
Hi Allen, which Karaf version ? I fixed ssh branding recently (Karaf 4.0.6). Regards JB On 09/21/2016 07:14 PM, afbagwe wrote: We've recently switched to using the branding.properties file in the etc folder which has worked great so far. However when we start Karaf server as a background process and attempt to connect with the client is still uses the default Karaf branding page for the console interface instead of our own. Is there some additional setting we have overlooking and need to set? I couldn't find anything mentioned in the online documentation. Thanks, Allen -- View this message in context: http://karaf.922171.n3.nabble.com/Branding-properties-file-not-picked-up-by-Karaf-client-tp4048143.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
Branding properties file not picked up by Karaf client?
We've recently switched to using the branding.properties file in the etc folder which has worked great so far. However when we start Karaf server as a background process and attempt to connect with the client is still uses the default Karaf branding page for the console interface instead of our own. Is there some additional setting we have overlooking and need to set? I couldn't find anything mentioned in the online documentation. Thanks, Allen -- View this message in context: http://karaf.922171.n3.nabble.com/Branding-properties-file-not-picked-up-by-Karaf-client-tp4048143.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: 4.0.5 - Can't get Web Console Branding
Ah ok Erwin. I understood shell console. Let me check for the webconsole. Regards JB On 09/07/2016 07:28 PM, Erwin Hogeweg wrote: Thanks JB, Are you sure this the same issue? Looks like the Jira describes an issue with the console branding in 4.0.6… I was referring to _Web_ Console branding in 4.0.5. Erwin On Sep 7, 2016, at 08:50, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: Hi Erwin, there's a Jira related to that: https://issues.apache.org/jira/browse/KARAF-4677 I plan to fix that for 4.0.7. I'm suspecting the etc/branding.properties management to be the cause of the issue. Regards JB On 09/07/2016 02:44 PM, Erwin Hogeweg wrote: Hi, I am trying to brand the web console, but it doesn’t seem to work as documented. I created the branding fragment with icons, which seems to be picked up correctly. 73 | Resolved | 80 | 4.0.0.TC6-SNAPSHOT_20160907-0811 | Web ConsoleBranding, Hosts: 157 157 | Active | 30 | 4.0.5| Apache Karaf :: Web Console:: Console, Fragments: 73 The Web Console didn’t change from the original Karaf though. I came across this link that describes the same issue: http://karaf.922171.n3.nabble.com/Can-t-brand-the-webconsole-td4038868.html … and I was wondering if there is an update on this item. I can’t seem to find a Jira for it. Kind Regards, Erwin -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: 4.0.5 - Can't get Web Console Branding
Thanks JB, Are you sure this the same issue? Looks like the Jira describes an issue with the console branding in 4.0.6… I was referring to _Web_ Console branding in 4.0.5. Erwin > On Sep 7, 2016, at 08:50, Jean-Baptiste Onofré <j...@nanthrax.net> wrote: > > Hi Erwin, > > there's a Jira related to that: > > https://issues.apache.org/jira/browse/KARAF-4677 > > I plan to fix that for 4.0.7. I'm suspecting the etc/branding.properties > management to be the cause of the issue. > > Regards > JB > > On 09/07/2016 02:44 PM, Erwin Hogeweg wrote: >> Hi, >> >> I am trying to brand the web console, but it doesn’t seem to work as >> documented. I created the branding fragment with icons, which seems to >> be picked up correctly. >> >> 73 | Resolved | 80 | 4.0.0.TC6-SNAPSHOT_20160907-0811 | >> Web ConsoleBranding, Hosts: 157 >> 157 | Active | 30 | 4.0.5| Apache Karaf >> :: Web Console:: Console, Fragments: 73 >> >> The Web Console didn’t change from the original Karaf though. >> >> I came across this link that describes the same issue: >> >> http://karaf.922171.n3.nabble.com/Can-t-brand-the-webconsole-td4038868.html >> >> … and I was wondering if there is an update on this item. I can’t seem >> to find a Jira for it. >> >> >> Kind Regards, >> >> Erwin > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com
Re: 4.0.5 - Can't get Web Console Branding
Hi Erwin, there's a Jira related to that: https://issues.apache.org/jira/browse/KARAF-4677 I plan to fix that for 4.0.7. I'm suspecting the etc/branding.properties management to be the cause of the issue. Regards JB On 09/07/2016 02:44 PM, Erwin Hogeweg wrote: Hi, I am trying to brand the web console, but it doesn’t seem to work as documented. I created the branding fragment with icons, which seems to be picked up correctly. 73 | Resolved | 80 | 4.0.0.TC6-SNAPSHOT_20160907-0811 | Web ConsoleBranding, Hosts: 157 157 | Active | 30 | 4.0.5| Apache Karaf :: Web Console:: Console, Fragments: 73 The Web Console didn’t change from the original Karaf though. I came across this link that describes the same issue: http://karaf.922171.n3.nabble.com/Can-t-brand-the-webconsole-td4038868.html … and I was wondering if there is an update on this item. I can’t seem to find a Jira for it. Kind Regards, Erwin -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: karaf re-branding is not working
Have you well created your branding.properties file in a bundle as explained here : https://karaf.apache.org/manual/latest-2.3.x/developers-guide/branding-console.html ? On Thu, Aug 7, 2014 at 8:35 AM, Himanshu himanshu.rawa...@gmail.com wrote: I have this in my custom.properties in etc folder: # # All the values specified here will override the default values given # in config.properties. # karaf.systemBundlesStartLevel=50 org.osgi.framework.system.packages.extra = \ org.aricent.scl.m2mbranding.service, \ com.sun.org.apache.xalan.internal.xsltc.trax, \ com.sun.org.apache.xerces.internal.dom, \ com.sun.org.apache.xerces.internal.jaxp, \ com.sun.org.apache.xerces.internal.xni and this in branding.properties in directory structure org.aricent.scl.m2mbranding.service: welcome = \ \n\ \u001B[1m MyPlatform \u001B[0m (1.0.0)\n\ \n\ Hit '\u001B[1mtab\u001B[0m' for a list of available commands\n\ and '\u001B[1m[cmd] --help\u001B[0m' for help on a specific command.\n prompt = Office@admin It is in MyBranding-0.0.1 in lib folder. But my karaf prompt or welcome message is not being replaced. -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-re-branding-is-not-working-tp4034613.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
Re: karaf re-branding is not working
Hi Charles, it's no more mandatory: the branding.properties can by put directly in the etc folder. You have to put the welcome and prompt properties in a etc/branding.properties file. To be able to use directly the etc/branding.properties, you have to use 3.0.2-SNAPSHOT or 2.4.0-SNAPSHOT. If you use 2.3.6 or 3.0.1, you have to provision a branding bundle as explained in the dev guide. Regards JB On 08/07/2014 08:41 AM, Charles Moulliard wrote: Have you well created your branding.properties file in a bundle as explained here : https://karaf.apache.org/manual/latest-2.3.x/developers-guide/branding-console.html ? On Thu, Aug 7, 2014 at 8:35 AM, Himanshu himanshu.rawa...@gmail.com mailto:himanshu.rawa...@gmail.com wrote: I have this in my custom.properties in etc folder: # # All the values specified here will override the default values given # in config.properties. # karaf.systemBundlesStartLevel=50 org.osgi.framework.system.packages.extra = \ org.aricent.scl.m2mbranding.service, \ com.sun.org.apache.xalan.internal.xsltc.trax, \ com.sun.org.apache.xerces.internal.dom, \ com.sun.org.apache.xerces.internal.jaxp, \ com.sun.org.apache.xerces.internal.xni and this in branding.properties in directory structure org.aricent.scl.m2mbranding.service: welcome = \ \n\ \u001B[1m MyPlatform \u001B[0m (1.0.0)\n\ \n\ Hit '\u001B[1mtab\u001B[0m' for a list of available commands\n\ and '\u001B[1m[cmd] --help\u001B[0m' for help on a specific command.\n prompt = Office@admin It is in MyBranding-0.0.1 in lib folder. But my karaf prompt or welcome message is not being replaced. -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-re-branding-is-not-working-tp4034613.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io http://cmoulliard.github.io -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com
Re: karaf re-branding is not working
yes except one thing: instead of org.osgi.framework.system.packages.extra = \ org.apache.karaf.branding i have used: org.osgi.framework.system.packages.extra = \ org.aricent.scl.m2mbranding.service; \ com.sun.org.apache.xalan.internal.xsltc.trax; \ com.sun.org.apache.xerces.internal.dom; \ com.sun.org.apache.xerces.internal.jaxp; \ com.sun.org.apache.xerces.internal.xni which has my package name: org.aricent.scl.m2mbranding.service and other packages are mentioned in Readme of branding in demos. I want to mention that branding module of demos is working fine. -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-re-branding-is-not-working-tp4034613p4034620.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: karaf re-branding is not working
Hi, the extra package has to be org.apache.karaf.branding and you bundle has to export this package: Export-Package org.apache.karaf.branding /Export-Package In your bundle, you have to define src/main/resources/org/apache/karaf/branding containing the branding.properties with the welcome properties (prompt can be avoided). Regards JB On 08/07/2014 09:11 AM, Himanshu wrote: yes except one thing: instead of org.osgi.framework.system.packages.extra = \ org.apache.karaf.branding i have used: org.osgi.framework.system.packages.extra = \ org.aricent.scl.m2mbranding.service; \ com.sun.org.apache.xalan.internal.xsltc.trax; \ com.sun.org.apache.xerces.internal.dom; \ com.sun.org.apache.xerces.internal.jaxp; \ com.sun.org.apache.xerces.internal.xni which has my package name: org.aricent.scl.m2mbranding.service and other packages are mentioned in Readme of branding in demos. I want to mention that branding module of demos is working fine. -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-re-branding-is-not-working-tp4034613p4034620.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 re-branding is not working
Hey Renaming it back to org.apache.karaf.branding worked. Thanks a lot But is it necessary, i mean when i have updated export-package in pom and i have also updated custom.properties to my package name. Then it should work. Do karaf search for package name. If yes then why it is mentioned above that it will run even if we place branding.properties directly in etc folder? -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-re-branding-is-not-working-tp4034613p4034622.html Sent from the Karaf - User mailing list archive at Nabble.com.
Re: karaf re-branding is not working
Yes, Karaf is looking for the org.apache.karaf.branding package. The branding.properties in the etc folder is new feature coming in 3.0.2: - first, Karaf looks for KARAF_ETC/branding.properties - if the file is not found, it falls back in org.apache.karaf.branding.branding.properties file. Regards JB On 08/07/2014 09:24 AM, Himanshu wrote: Hey Renaming it back to org.apache.karaf.branding worked. Thanks a lot But is it necessary, i mean when i have updated export-package in pom and i have also updated custom.properties to my package name. Then it should work. Do karaf search for package name. If yes then why it is mentioned above that it will run even if we place branding.properties directly in etc folder? -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-re-branding-is-not-working-tp4034613p4034622.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
branding Karaf 3.0.0-RC1
Hi Folks, I have been trying to create a branded Karaf 3.0.0-RC1 assembly. But whatever I try the branding jar does not appear in my assembly. Karaf documentation [1] describes how to create a branding jar. But I can't find how to the include this branding jar in a new Karaf 3 assembly/distribution [2]. Only the deprecated old style maven assembly described how to do this. Using this approach does get the branding jar in the assembly but it is not being using when installing the assembly. The reason problably is because the etc/custom.properties has not been modified. The question now is how do I modify the property file for Karaf 3? Hope someone knows the answer. Regards, Minto [1] http://karaf.apache.org/manual/latest/developers-guide/branding-console.html [2] http://karaf.apache.org/manual/latest/developers-guide/branding-console.htmlhttp://karaf.apache.org/manual/latest/developers-guide/custom-distribution.html
Re: Branding the Console issue
Hi, Yeah, we need upgrade the website accordingly, create jira ticket[1] to track it, and the fix is coming soon. Thanks for pointing out this issue [1]https://issues.apache.org/jira/browse/KARAF-1963 - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-10-22, at 下午2:37, lbu wrote: Hi, yes the solution is quite simple so I guess that the Karaf documentation should be amended, here what I can found in the console's branding guid (http://karaf.apache.org/manual/latest-2.3.x/developers-guide/branding-console.html): /In order for Karaf to pick up the branding jar please edit the $KARAF_HOME/etc/custom.properties file to include the following: org.osgi.framework.system.packages.extra = \ org.apache.karaf.branding;/ -- View this message in context: http://karaf.922171.n3.nabble.com/Branding-the-Console-issue-tp4026488p4026498.html Sent from the Karaf - User mailing list archive at Nabble.com.
branding as a normal bundle?
*Hi* I am not sure why branding needs to be a system bundle export http://karaf.apache.org/manual/latest-2.2.x/developers-guide/branding-console.html I am curious is there a way to inject it at startup.properties or bootFeatures stage, as a normal bundle? Thank you, Andrei
Re: Karaf branding
The same result as before, the first start showed Karaf, the second one showed my own logo. best regards jakub -Original Message- From: Jean-Baptiste Onofré j...@nanthrax.net Reply-to: j...@nanthrax.net To: user@karaf.apache.org Subject: Re: Karaf branding Date: Tue, 27 Jul 2010 11:18:25 +0200 Try to put your branding.jar file in the lib directory, Karaf will take it at startup. Regards JB On 07/27/2010 11:03 AM, Jakub Herkel wrote: Hi, I have Karaf 2.0.0 embedded in my server, lib directory contains these jars : karaf-client.jar karaf-jaas-boot.jar karaf.jar best regards jakub -Original Message- From: Jean-Baptiste Onofréj...@nanthrax.net Reply-to: j...@nanthrax.net To: user@karaf.apache.org Subject: Re: Karaf branding Date: Tue, 27 Jul 2010 10:00:16 +0200 Hi Jakub, What jar files have you in the karaf lib directory ? Regards JB On 07/27/2010 09:48 AM, Jakub Herkel wrote: Thanks for advance, it works now. But I found another problem. If I started Karaf console for the first time, the Karaf logo was showed. But the bundle with branding was on its place before the Karaf started. The second startup showed my own logo. Is it normal behavior? Jakub -Original Message- From: Jean-Baptiste Onofréj...@nanthrax.net Reply-to:user@karaf.apache.org,j...@nanthrax.net To: user@karaf.apache.org Subject: Re: Karaf branding Date: Mon, 26 Jul 2010 13:59:12 +0200 Hi, you have a sample of Karaf branding here: http://buildprocess.svn.sourceforge.net/viewvc/buildprocess/builderaser/trunk/branding/ You can see that branding is simple a bundle. This bundle simply wraps a branding.properties file which contain the welcome property (the first line/logo). After that, in your karaf distribution, simply copy your branding bundle jar in karaf. Regards JB On 07/26/2010 01:50 PM, HERKEL Jakub wrote: Is there any “cookbook” how to brand the Karaf? I want to replace karaf logo in ssh shell. I have tried to create a bundle exporting org.apache.karaf.branding but I still don’t see my own logo. So I don’t have any idea what to do next.