Alternative configurations

68 views
Skip to first unread message

Emiliano Anichini

unread,
Mar 27, 2015, 12:05:06 PM3/27/15
to play-fr...@googlegroups.com
Hi.
Is possible to pass an additional/alternative configuration in a scala play (2.3) distribution IN WINDOWS?

How?


thank you.

Ian Rae

unread,
Mar 27, 2015, 2:26:29 PM3/27/15
to play-fr...@googlegroups.com
Yes, in play 2.2 you can do this. 


   
set PLAY_OPTS=-Dconfig.file=C:\Project\myproject\conf\home.conf
   play run


In play 2.3 (haven't tried this) it might be


   
set ACTIVATOR_OPTS=-Dconfig.file=C:\Project\myproject\conf\home.conf
   activator
run


Emiliano Anichini

unread,
Mar 30, 2015, 9:20:34 AM3/30/15
to play-fr...@googlegroups.com
Thank you very much for your help.
Reply all
Reply to author
Forward
0 new messages