When using akka, I place akka.conf in src/main/resources. When I run through sbt, the akka.conf is correctly recognized. But not when I run through IntelliJ (even after a gen-idea). What is the appropriate way to accomplish this?
Asked
Active
Viewed 3,715 times
10
Hugo Sereno Ferreira
- 8,600
- 7
- 46
- 92
1 Answers
19
Put the .conf extension in Settings (Preferences on Mac) | Compiler | Resource Patterns.
CrazyCoder
- 389,263
- 172
- 990
- 904
-
I also found that I had to trigger a rebuild for the project before the configuration is picked up in the unit tests. – Tim Dec 31 '13 at 10:48