configuration - Typesafe config: Load additional config from path external to packaged scala application -


my scala application packaged jar. when run app, needs read additional config file stored externally app jar. looking functionality similar typesafe config library other solutions welcome ! there way below:

val hdfsconfig = configfactory.load("my_path/hdfs.conf") 

i think want is:

val mycfg =  configfactory.parsefile(new file("my_path/hdfs.conf")) 

Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -