[akka-user] Akka Maven Archetype: the simplest way to get started with Java-based Akka project

540 views
Skip to first unread message

Jonas Bonér

unread,
May 25, 2010, 11:46:43 AM5/25/10
to Akka User List
Hi guys. 

I've added this section to the Getting Started guide (thanks Mikael): 

Create an Akka-based project


Java based project


The simplest way to get started with a Java-based Akka project is to checkout and install Mikael Sundberg's Maven archetype. In order to do that you first need to install:


Now you can do the following:
  1. git clone git:/ /github.com/bobo/akka_mvn_archetyp
  2. cd akka_mvn_archetyp
  3. mvn install

Then somewhere else in a folder you want your project you run:
mvn archetype:generate -DarchetypeCatalog=local

Then you get some options. Just follow the instructions, choose the correct archetype, choose project name, package name etc., and you should have a project created for you. This project is using Maven as build tool and has two Active Objects, a ChatServer and a ChatSession. You also have a JUnit. You can try to compile and run the test by invoking:
  1. mvn install
  2. mvn test

From here start making your changes.

Scala based project


[...]

--
Jonas Bonér

work:   http://jayway.com
code:   http://akkasource.com
blog:    http://jonasboner.com
twitter: @jboner




--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
Reply all
Reply to author
Forward
0 new messages