Example of an Akka server with remoting that services clients and broadcasts messages to connected clients
Go to project directory and type 'sbt' or './sbt' (sbt executable is provided). After this you can issue commands in SBT prompt:
; clean; compile; test; run
Alternatively you can type in shell:
sbt update clean compile test run
The easiest way to run apps is to type 'run' in SBT and select app number from the list.
Generate a jar that contains all dependencies with SBT command:
one-jar
This will generate both client and server jars.
Once you've built jars run them like a regular jar (default main class will be set for you):
java -jar <jar-file.jar> <cmd args ...>
Eclipse projects can be generated with:
sbt eclipse
Use 'Import New Projects' in eclipse to open them afterwards.
You can generate projects by running:
sbt gen-idea
Some available options are:
no-classifiers
no-sbt-classifiers