Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ, Akka and Configuration files

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?

like image 521
Hugo Sereno Ferreira Avatar asked Feb 17 '12 17:02

Hugo Sereno Ferreira


People also ask

How do I add play framework to IntelliJ?

Create an sbt project with Play 2 framework Open the build. sbt file in the editor and add Play as a project dependency. In the Project tool window, in the project source root directory, select New | File to create the plugins. sbt file.

What is Akka library?

Akka is an open-source library that helps to easily develop concurrent and distributed applications using Java or Scala by leveraging the Actor Model. In this tutorial, we'll present the basic features like defining actors, how they communicate and how we can kill them.

What are Akka actors?

What is an Actor in Akka? An actor is essentially nothing more than an object that receives messages and takes actions to handle them. It is decoupled from the source of the message and its only responsibility is to properly recognize the type of message it has received and take action accordingly.


1 Answers

Put the .conf extension in Settings (Preferences on Mac) | Compiler | Resource Patterns.

like image 58
CrazyCoder Avatar answered Oct 25 '22 11:10

CrazyCoder