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 <[email protected]> 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[1m<tab>\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

Reply via email to