Hi Rodrigo, We've copied the branding bundle into the lib directory. In another project we referenced it from the repo and use a low start level (20) in startup.properties.
Regards, Andreas 2014-09-16 16:39 GMT+02:00 Rodrigo Serra <[email protected]>: > Is the same. When I said org.apache.karaf.branding/branding.properties > means org/apache/karaf/branding containing branding.properties. > > I tried with file etc/branding.properties and works but my bundle does not. > > This is the bundle details: > > unzip -l sgc-karaf-branding-1.1.11-SNAPSHOT.jar > Archive: sgc-karaf-branding-1.1.11-SNAPSHOT.jar > Length Date Time Name > --------- ---------- ----- ---- > 468 09-16-2014 08:35 META-INF/MANIFEST.MF > 0 09-16-2014 08:35 META-INF/ > 0 09-16-2014 08:35 META-INF/maven/ > 0 09-16-2014 08:35 META-INF/maven/ar.com.jlab.sgc/ > 0 09-16-2014 08:35 > META-INF/maven/ar.com.jlab.sgc/sgc-karaf-branding/ > 152 09-16-2014 08:35 > META-INF/maven/ar.com.jlab.sgc/sgc-karaf-branding/pom.properties > 2233 09-16-2014 08:35 > META-INF/maven/ar.com.jlab.sgc/sgc-karaf-branding/pom.xml > 0 09-16-2014 08:35 org/ > 0 09-16-2014 08:35 org/apache/ > 0 09-16-2014 08:35 org/apache/karaf/ > 0 09-16-2014 08:35 org/apache/karaf/branding/ > 709 09-16-2014 08:29 org/apache/karaf/branding/branding.properties > > > META-INF/MANIFEST.MF: > > Manifest-Version: 1.0 > Bnd-LastModified: 1410877447528 > Build-Jdk: 1.7.0_67 > Built-By: rserra > Bundle-DocURL: http://jlab.com.ar > Bundle-ManifestVersion: 2 > Bundle-Name: SGC :: Karaf :: Branding > Bundle-SymbolicName: sgc-karaf-branding > Bundle-Vendor: JLab S.A. > Bundle-Version: 1.1.11.SNAPSHOT > Created-By: Apache Maven Bundle Plugin > Export-Package: org.apache.karaf.branding;version="1.1.11" > Tool: Bnd-2.3.0.201405100607 > > When bundle is copied to deploy directory, the screen of the console > display standar karaf banner again. > > Any idea? > > Regards, > Rodrigo > > > El 16/09/2014, a las 08:51, Jean-Baptiste Onofré <[email protected]> > escribió: > > > Hi Rodrigo, > > > > The console looks for branding in > org/apache/karaf/branding/branding.properties. > > > > So in your bundle, you should have the folder org/apache/karaf/branding > containing branding.properties. > > > > I don't know if it's the same for you as you said > org.apache.karaf.branding/branding.properties. > > > > The branding.properties contains a welcome property. > > > > Now, as an alternative, instead of looking for a bundle, you can put > directly the branding.properties in Karaf etc folder. > > > > Regards > > JB > > > > On 09/16/2014 01:42 PM, Rodrigo Serra wrote: > >> Hi, > >> > >> I have trouble with branding. I used this facility in the past with no > problems but now simply doesn't work, nothing happens. I have a bundle with > file org.apache.karaf.branding/branding.properties: > >> > >> # Copyright 2014 JLab S.A. > >> # Todos los derechos reservados > >> > >> 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\ > >> \u001B[36m |___/ \u001B[0m\r\n\ > >> \r\n\ > >> \u001B[1mSgc\u001B[0m\r\n\ > >> \r\n\ > >> Presione '\u001B[1m<tab>\u001B[0m' para listar los comandos > disponibles\r\n\ > >> y '\u001B[1m[cmd] --help\u001B[0m' para la ver la ayuda de un > comando especifico.\r\n\ > >> Presione '\u001B[1m<ctrl-d>\u001B[0m' o > '\u001B[1mosgi:shutdown\u001B[0m' para apagar.\r\n > >> > >> prompt = \u001B[1m${USER}@${APPLICATION}\u001B[0m> > >> > >> I try with 3.0.1 and 3.0.2-SNAPSHOT. > >> > >> ¿Some one have a idea what is wrong? > >> > >> Regards, > >> Rodrigo > >> > > > > -- > > Jean-Baptiste Onofré > > [email protected] > > http://blog.nanthrax.net > > Talend - http://www.talend.com > >
