summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco de Wild <mdwild@sogyo.nl>2021-01-19 15:15:14 +0100
committerMarco de Wild <mdwild@sogyo.nl>2021-01-19 15:15:14 +0100
commit7b1b8a35db9699240b6c5243cd89ef0be7fd798a (patch)
tree3d6bb4aebd3245f5eaffb2c34513741f64600bbe
parent1a6eeaa4b4f060ad05a6bd297702d246aba69313 (diff)
Clarified the 'stuck' build
-rw-r--r--README.md2
-rw-r--r--api/src/main/java/mancala/App.java1
2 files changed, 2 insertions, 1 deletions
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) {