-
-
Save danhyun/dca246b4241f3385a7827d228efd01c8 to your computer and use it in GitHub Desktop.
passing env and java opts to apps created via gradle's application plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ env JAVA_OPTS="-Dratpack.port=8080" build/install/todo-backend-ratpack-java/bin/todo-backend-ratpack-java | |
2016-07-05 10:07:55,058 INFO r.s.RatpackServer [main] Starting server... | |
2016-07-05 10:07:55,785 INFO r.s.RatpackServer [main] Building registry... | |
2016-07-05 10:07:56,455 INFO c.z.h.HikariDataSource [main] HikariCP pool HikariPool-0 is starting. | |
2016-07-05 10:07:56,761 INFO r.s.RatpackServer [main] Initializing 1 services... | |
2016-07-05 10:07:57,176 INFO r.s.RatpackServer [main] Ratpack started for http://localhost:8080 | |
$ env RATPACK_PORT=8080 build/install/todo-backend-ratpack-java/bin/todo-backend-ratpack-java | |
2016-07-05 10:08:30,856 INFO r.s.RatpackServer [main] Starting server... | |
2016-07-05 10:08:31,540 INFO r.s.RatpackServer [main] Building registry... | |
2016-07-05 10:08:32,221 INFO c.z.h.HikariDataSource [main] HikariCP pool HikariPool-0 is starting. | |
2016-07-05 10:08:32,516 INFO r.s.RatpackServer [main] Initializing 1 services... | |
2016-07-05 10:08:32,944 INFO r.s.RatpackServer [main] Ratpack started for http://localhost:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment