From 924b743989d71f2926bd1f226217a71a383d9d59 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Sun, 7 Aug 2022 19:16:08 -0400 Subject: [PATCH] add notes about older checkouts --- build/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build/README.md b/build/README.md index fa0fc193e..a155278a6 100644 --- a/build/README.md +++ b/build/README.md @@ -10,6 +10,21 @@ The short version: ant run +### Updating an older 4.x checkout + +If you checked out this repository before, but now it's behaving strangely, try the following: + + git pull + git checkout main + ant clean + ant clean-libs + ant run + +Major changes happened during the 4.x series, including a reorganization of the *core* library, changes to how `.jar` files for libraries were downloaded, and the `master` branch was renamed to `main`. + +The `ant clean-libs` task (added in 4.0 beta 9) clears out downloaded support files (JOGL, Ant, etc) and makes sure they're the latest versions. + + ### Java version complaints You might have multiple versions of Java installed. Type `java -version` and if it says something other than 17, you'll need to set the `JAVA_HOME` environment variable.