Question

play -Dconfig.file=conf/dev.conf not work, How to use different application.conf in play commandline?

play-2.2.1

Was it helpful?

Solution

-Dconfig.file requires full path to the file which is not packaged into distribution i.e.:
/home/sato/app-configs/dev.conf

In your case you should use rather: -Dconfig.resource=dev.conf to use additional config stored in conf folder.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top