[ 
https://issues.apache.org/activemq/browse/SMX4KNL-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48609#action_48609
 ] 

Guillaume Nodet commented on SMX4KNL-152:
-----------------------------------------

I can not apply the patch on trunk.
Anyway, if the resource can't be loaded, it might be caused because the wrong 
classloader is used.  You should not use
{code}
this.bundleContext.getBundle().getClass().getClassLoader().getResource(EMBEDDED_PROPS)
{code} 
but try with 
{code}
this.getClass().getClassLoader().getResource(EMBEDDED_PROPS)
{code}


> The version number displayed in the console should be extract from resources 
> (using maven filtering + properties file) but the branding should be easy to 
> change so that people embedding the Kernel can define their own
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-152
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-152
>             Project: ServiceMix Kernel
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Edell Nolan
>             Fix For: 1.1.0
>
>         Attachments: branding.zip, config.properties, kernel-smx152.patch, 
> servicemix-version.jar
>
>
> Hi Guillaume,
> I have done some initial work around this but wanted to check that I am on 
> the right track.
> Do we want to take the brandName, Version and the banner from a properties 
> file that will be located in the kit ?
> thanks, Edell.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to