On 10/22/09 14:01, Sahoo wrote:

Filippo Diotalevi wrote:
On Thu, Oct 22, 2009 at 7:06 PM, Andrew Williams <[email protected]> wrote:
I am loving felix but not the welcome message.
I looked at the code quickly but cannot see any way to customise this.
It seems a real shame that my customers would be greeted with a message from
felix - have I missed something?

Hi,
 there's no property to configure the Welcome message, but the code
responsible for it it's not in the framework, only in the startup
class (contained in the "main" subproject).  All you need to do to
print your own welcome message is to re-implement the startup class.
Its code is quite simple and can be found at:

https://svn.apache.org/repos/asf/felix/trunk/main/src/main/java/org/apache/felix/main/Main.java

Regards,
I would not call that a simple class. It will certainly be better to have a property to customize the message.

I think it is fairly simple, but regardless the launcher is supposed to be a simple example of a launcher, it is not supposed to be sufficient for every purpose.

We have always expected people would create their own launchers for their own purposes. Now that R4.2 has standardized on the framework launching API, it makes more sense than ever to roll your own launcher (or build on ours).

-> richard


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to