Sample Akka project with Akka 2.0.1 , sbt and gen-idea plugin.
Akka 2.0.1 sample project using Scala and SBT.
To run and test it use SBT invoke: 'sbt run'
This is based on the g8 template at https://github.com/typesafehub/akka-scala-sbt.g8, with the addition of sbt-idea plugin.
You can choose to fork it before you use it or just start off by cloning it.
-
Clone the repo into your directory. Ideally clone it into a directory name of your choice (instead of the default sample-akka-project). git clone git://github.com/ripplekhera/sample-akka-project.git my-akka-testing
-
Rename the build files
Rename the SampleAkkaProjectBuild.scala to refer to your project (eg. MyAkkaTestingBuild.scala) Rename the object in the scala file to your project build (eg. MyAkkaTestingBuild)
Rename the val to your project (eg. myAkkaTestingProject)
Rename the id of the project (eg id = "my-akka-testing")
Rename the organization to your choice -
Rename the package directory hierarchy to the organization above.
Move the SampleAkkaProject.scala file to the package created. Rename the SampleAkkaProject.scala file to your choosen name. (eg MyAkkaTesting.scala) Rename the main class to one of your choice (eg MyAkkaTesting)
-
Run "sbt update gen-idea" and open in Intellij