Jar / war packaging project

Is there a way to package my game project into a standalone jar / war file?

(the only way I have found is to use a milestone task and then start the server with the script run)

+3


source to share


2 answers


There is a plugin called play2war that does this. Check it out here: https://github.com/dlecan/play2-war-plugin



I haven't tried this myself ...

+2


source


I personally found the stage challenge very good.

You can also use the dist task to have a zip file containing everything you need. ( https://plus.google.com/u/0/108788785914419775677/posts/5kNbVAE1ZYe )



To deploy as a war file, use the play2war plugin as mentioned earlier. But deploying a game app as a war isn't optimal. To have full performance, prefer a stage task.

+1


source







All Articles