You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Edell Nolan (JIRA)" <ji...@apache.org> on 2009/01/05 17:53:05 UTC

[jira] Commented: (SMX4KNL-152) 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

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

Edell Nolan commented on SMX4KNL-152:
-------------------------------------

Hi Guillaume,

I have got this working as regards the following

I import a package org/apache/ser vicemix/kernel/version that contains an embedded.properties file that defines the embedding applications name, version and banner.

If this file doesn't exist then the kernel defaults are used which means it is not embedded.

If the file does exist which it will in the "Servicemix 4" distribution within a branding bundle. It will then output something like the following

 ____                  _          __  __ _
/ ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
 ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  <
|____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\

 ServiceMix Kernel (1.1.0)
 ServiceMix (4.1.0-fuse-SNAPSHOT)

Type 'help' for more information.


About command
=================
servicemix kernel
1.1.0

ServiceMix 4.1.0-fuse-SNAPSHOT

For information about ServiceMix Kernel, visit:
    http://servicemix.apache.org

Info command 
===============
ServiceMix
  ServiceMix home             C:\fuse-kernel-kit4
  ServiceMix base             C:\fuse-kernel-kit4
  ServiceMix kernel version   1.1.0
  ServiceMix version          4.1.0-fuse-SNAPSHOT
  .........

The only requirement is that the startup.properties needs to be modified to install the branding bundle before the console starts.
But we should be able to append a line from within the servicemix assembly to this file.

Does this approach seem reasonable ?

thanks, Edell.



> 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
>
>
> 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.