Hi, > So, basically, you can have an empty system.properties, and populate all > with -D.
I do not want to change the system.properties that comes with Karaf (also not empty it). ;-) I would like to add a separate file with system properties. Another approach would be if the assembly builder will merge my file with the existing system.properties. "-D" would imply I add a custom startup script and do not use the karaf Script that already shipped with the distribution. But if this is the preferred way, I will do so. > You also use override in system.properties and etc/override.properties. I do not understand. The method "setSystemProperty" in "system/internal/SystemServiceImpl.java" read the system.properties file. This method does not use a file called "override.properties". Thge assembly/Builder does something with a file "override.properties" but do not know, how this works ATM. The issue 2752 (https://issues.apache.org/jira/browse/KARAF-2752), states "file in etc/overrides.properties which will contain a list of bundle urls to consider as replacements when installing features" and the file https://github.com/apache/karaf/blob/master/features/core/src/test/resources/org/apache/karaf/features/internal/service/overrides.properties shows also nothing that helped me. -- View this message in context: http://karaf.922171.n3.nabble.com/system-properties-file-multiple-ones-tp4041994p4041996.html Sent from the Karaf - User mailing list archive at Nabble.com.
