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,657 times
10
Hugo Sereno Ferreira
- 8,886
- 6
- 43
- 89
1 Answers
19
Put the .conf extension in Settings (Preferences on Mac) | Compiler | Resource Patterns.
CrazyCoder
- 371,688
- 155
- 943
- 850
-
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