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

Sergey merkel05 at gmail.com
Sat Nov 17 17:55:53 UTC 2018


Hi David,

s/repositorys/repositories/

Thanks, David I've fixed that one and double checked the rest of the diff. Hope it is fine now.

That also would be great if anyone could sponsor that patch.

Thanks, Sergei

diff --git a/doc/building.md b/doc/building.md --- a/doc/building.md +++ b/doc/building.md @@ -48,7 +48,7 @@ Make sure you are getting the correct version. As of JDK 10, the source is no longer split into separate repositories so you only need to clone one single repository. At the OpenJDK Mercurial server you -can see a list of all available forests. If you want to build an older version, +can see a list of all available repositories. If you want to build an older version, e.g. JDK 8, it is recommended that you get the jdk8u forest, which contains incremental updates, instead of the jdk8 forest, which was frozen at JDK 8 GA.

@@ -1301,17 +1301,15 @@ affected parts get rebuilt. While this works great in most cases, and significantly speed up the development process, from time to time complex interdependencies will result in an incorrect build result. This is the most -common cause for unexpected build problems, together with inconsistencies -between the different Mercurial repositories in the forest. +common cause for unexpected build problems.

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.

all

  1. Clean build results

@@ -1336,13 +1334,13 @@ make ```

causes

is

re-clone

product

using

Specific Build Issues

@@ -1393,7 +1391,7 @@

Hints and Suggestions for Advanced Users

-### Setting Up a Forest for Pushing Changes (defpath) +### Setting Up a Repository for Pushing Changes (defpath)

To help you prepare a proper push path for a Mercurial repository, there exists a useful tool known as [defpath]( @@ -1420,11 +1418,6 @@ hg defpath -d -u

```

Bash Completion

The configure and make commands tries to play nice with bash command-line @@ -1459,7 +1452,7 @@

Using Multiple Configurations

-You can have multiple configurations for a single source forest. When you +You can have multiple configurations for a single source repository. When you create a new configuration, run configure --with-conf-name=<name> to create a configuration with the name <name>. Alternatively, you can create a directory under build and run configure from there, e.g. `mkdir build/ && cd @@ -1474,7 +1467,7 @@

Handling Reconfigurations

-If you update the forest and part of the configure script has changed, the +If you update the repository and part of the configure script has changed, the build system will force you to re-run configure.

Most of the time, you will be fine by running configure again with the same



More information about the build-dev mailing list