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
Post a Comment