Hi

You can use setenv: the system.properties contains System property as you can do with -D jvm arg.

So, basically, you can have an empty system.properties, and populate all with -D.

You also use override in system.properties and etc/override.properties.

Regards
JB

On 08/21/2015 02:04 PM, maggu2810 wrote:
Hello,
there is the file etc/system.properties that could be used ti add system
properties that are available at the very beginning of the Karaf's boot
process.
This file is shipped with karaf and contains already a few such options.

I would like to extend the list of properties. So I can add new lines to
that file.
For a custom distribution (karaf-assembly) I would prefer to do this
additions in a separate file (similar to config.properties and
custom.properties).
So I can add a file with "my" properties and if a new Karaf update changes
the startup.properties file, I have not to change my modified
system.properties copy.

Is there already such a mechanism for the system properties as it is for the
config properties?




--
View this message in context: 
http://karaf.922171.n3.nabble.com/system-properties-file-multiple-ones-tp4041994.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to