README.MD 512 Bytes
Newer Older
Gabriele Civitarese's avatar
Gabriele Civitarese committed
1 2
You need to import this project with IntelliJ.

Gabriele Civitarese's avatar
Gabriele Civitarese committed
3
There is a .pom file (Maven) which can be used to properly compile ProtocolBuffer.
Gabriele Civitarese's avatar
Gabriele Civitarese committed
4 5 6 7 8 9
All the dependencies are included as well.

To compile the proto files, you can do it both within IntelliJ as well as with the command line.

The command you need to launch is:

Gabriele Civitarese's avatar
Gabriele Civitarese committed
10 11 12 13 14 15 16
mvn package

To launch a "main" from the command line:

mvn package exec:java -Dexec.mainClass=chat.ChatServer

(replace "chat.ChatServer" with the class containing a main method that you need to launch)