java - Is it possible to create a standalone JAR web app with Play Framework? -


i'm trying create standalone jar application, executed command line this:

$ java -jar foo.jar --port=8080 

i want use play framework. possible create this? want use java , maven. want stay away "activators" or downloading of play. plain old simple maven dependencies. possible?

to stay away activator , play download on dev-machine call cmd: ./activator dist (activator.bat dist windows) create zip file in target/universal/ directory containing scripts both: unixes , windows within bin directory.

so can launch app (unix sample, after unzipping)

/your-app-dir/target/universal/your-app-1.0-snapshot/bin/your-app -dhttp.port=8080 

of course, nothings prevents creating additional shell script/bat file simplicity path


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -