[PATCH] JDK-8167368 Leftover: get_source.sh in build documentation (original) (raw)

Sergey merkel05 at gmail.com
Mon Nov 12 20:45:58 UTC 2018


Hi,

I'm not sure if that's the right mailing list, however, I'll try. Recently, when I was taking a closer look at build documentation:

I've noticed there get_source.sh being mentioned. I believe that's a leftover of JEP-296 Consolidate JDK Forest into a Single Repository. I've made a trivial patch and want to contribute it. Please find it inlined below.

Thanks, Sergei

diff --git a/doc/building.html b/doc/building.html --- a/doc/building.html +++ b/doc/building.html @@ -784,7 +784,7 @@

Here are a suggested list of things to try if you are having unexpected build problems. Each step requires more time than the one before, so try them in order. Most issues will be solved at step 1 or 2.

  1. Make sure your forest is up-to-date

    -

    Run bash get_source.sh to make sure you have the latest version of all repositories.

  2. +

    Run hg pull -u to make sure you have the latest version of all repositories.

  3. Clean build results

    The simplest way to fix incremental rebuild issues is to run make clean. This will remove all build results, but not the configuration or any build system support artifacts. In most cases, this will solve build errors resulting from incremental build mismatches.

  4. Completely clean the build directory.

    diff --git a/doc/building.md b/doc/building.md --- a/doc/building.md +++ b/doc/building.md @@ -1310,7 +1310,7 @@

    1. Make sure your forest is up-to-date
    • Run bash get_source.sh to make sure you have the latest version of

    all

    • Run hg pull -u to make sure you have the latest version of all repositories.
    1. Clean build results


    More information about the build-dev mailing list