Felix does not use system properties for its configuration, since this
is problematic in scenarios where you have multiple instances of Felix
in the same VM.
However, it could be possible to have Main.java look both in the config
properties and the system properties just for launching purposes. If the
system property was set it could be converted into a config property.
But if you were going to change this, then for consistency it would
probably make sense to have Main look for the other configuration
properties as system properties and convert them into config properties too.
-> richard
Tim Moloney wrote:
I can automatically start a profile named "foo" by setting
"felix.cache.profile" to "foo" in main/conf/config.properties.
Shouldn't I be able to do the same thing from the command line by
using "-Dfelix.cache.profile=foo"? I've tried the following command
and Felix still prompts me for the profile.
java -Dfelix.cache.profile=foo bin/felix.jar
Forgive me for the java newbie question.
Tim