Simplify configuration
Closed this issue · 3 comments
bertfrees commented
See #140 (comment), (comment 2)
- Convert environment variables to Java system properties at run time
- Rename all Pipeline properties to
org.daisy.pipeline.foo
- Document undocumented properties (http://daisy.github.io/pipeline/wiki/Configuration-Files). All the TTS related properties should be documented on the TTS page and should be linked from the general configuration page.
- Make "job-local/dynamic" TTS config properties fall back to system properties instead of the "static" TTS config properties specified via
tts.config
system property. The static TTS config can still be used for other configuration like voices, CSS, etc. (handled by the so-called extensions).
Other todos moved to new issue: #152
egli commented
See also this so question and Spring Evironment (don't know if this is usable without using Spring though)
bertfrees commented
In addition to mapping environment variables to Java system properties (at run time), map Maven properties to the default values in system.properties (at build time).
Environment variables should overwrite the default values in system.properties, unlike how it works now.
bertfrees commented