[
https://issues.apache.org/jira/browse/KARAF-3515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14314327#comment-14314327
]
Fabian Lange commented on KARAF-3515:
-------------------------------------
I looked for Branding.class in my karaf distribution and found:
system/org/apache/karaf/shell/org.apache.karaf.shell.core.jar/4.0.0.M2/org.apache.karaf.shell.core-4.0.0.M2/org/apache/karaf/shell/impl/console/Branding.class
when i decompiled it, it was clear to me that it does not contain the code to
read branding from etc
{code}
public static Properties loadBrandingProperties(Terminal terminal) {
Properties props = new Properties();
if ((terminal != null) &&
(terminal.getClass().getName().endsWith("SshTerminal")))
{
loadProps(props,
"org/apache/karaf/shell/console/branding-ssh.properties");
}
else loadProps(props, "org/apache/karaf/shell/console/branding.properties");
loadProps(props, "org/apache/karaf/branding/branding.properties");
return props;
}
{code}
> branding.properties file in the etc folder doesn't work
> -------------------------------------------------------
>
> Key: KARAF-3515
> URL: https://issues.apache.org/jira/browse/KARAF-3515
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 4.0.0.M1, 4.0.0.M2
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: 4.0.0
>
>
> Dropping a branding.properties file in the etc folder doesn't work. The
> default branding is used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)