Put "system.properties" file into "conf" directory and put your system properties in that file.

On 07.10.2010 12:58, LongkerDandy wrote:
Hi

Did you mean just append to conf.properties will work?
I've tried that but not working.
I'll make a another try

Thanks
LongkerDandy

On Thu, Oct 7, 2010 at 3:18 PM, Hlusi, Jiri (NSN - FI/Tampere)<
[email protected]>  wrote:

Hello,

Yeps, it is possible.

Option 1:
  in config file in the<install-dir>/conf/config.properties

  To my understanding, can contain felix properties, properties of
  any other bundles as well as other types of system properties.


Option 2:
  during runtime using sysprop command from felix console (if you
  start the needed bundles - shell and shell-tui)

  ->  help sysprop
     Command     : sysprop
     Usage       : sysprop [-r] [<key>] [<value>]
     Description : Display, set, modify and remove system properties
  ->


Hopefully the above will be of help to you...

Best Regards,
Jiri


-----Original Message-----
From: ext LongkerDandy [mailto:[email protected]]
Sent: Thursday, October 07, 2010 5:53 AM
To: [email protected]
Subject: Set System Property in felix configuration file

Hi

Is that possible to set System Properties in felix configuration file or
somewhere else?

In a non-osgi environment, I can do it with a jvm argument, but I don't
know
how to do it in felix.

Regards
LongkerDandy


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

Reply via email to