From 7b1b8a35db9699240b6c5243cd89ef0be7fd798a Mon Sep 17 00:00:00 2001 From: Marco de Wild Date: Tue, 19 Jan 2021 15:15:14 +0100 Subject: Clarified the 'stuck' build --- README.md | 2 +- api/src/main/java/mancala/App.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2126ff3..2e9dd60 100644 --- a/README.md +++ b/README.md @@ -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) { -- cgit v1.2.3