diff options
| author | Marco de Wild <mdwild@sogyo.nl> | 2021-01-19 15:15:14 +0100 |
|---|---|---|
| committer | Marco de Wild <mdwild@sogyo.nl> | 2021-01-19 15:15:14 +0100 |
| commit | 7b1b8a35db9699240b6c5243cd89ef0be7fd798a (patch) | |
| tree | 3d6bb4aebd3245f5eaffb2c34513741f64600bbe | |
| parent | 1a6eeaa4b4f060ad05a6bd297702d246aba69313 (diff) | |
Clarified the 'stuck' build
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | api/src/main/java/mancala/App.java | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -48,7 +48,7 @@ You can either install Gradle on your machine and use the installation or use th ./gradlew run ``` -When you run the test, you will see a build failure. In `domain/src/test/java/mancala/domain.FooTest.java`, there is a failing test. If you fix the failing test, the build will succeed. +If you run the program, you will notice the build "progress" is stuck on 87% or so. That means your application is running and Gradle is waiting for it to succeed. You can ignore the progress bar when running the application; it should print some lines when it's ready. ## Assignment diff --git a/api/src/main/java/mancala/App.java b/api/src/main/java/mancala/App.java index 062e8e1..3d89bb0 100644 --- a/api/src/main/java/mancala/App.java +++ b/api/src/main/java/mancala/App.java @@ -33,6 +33,7 @@ public class App { new ServletContextHandler(ServletContextHandler.SESSIONS); context.setContextPath("/"); server.setHandler(context); + return context; } private static void registerServlets(ServletContextHandler context) { |
