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 <[email protected]
<mailto:[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
<http://cmoulliard.github.io>
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com