[PATCH] JDK-8167368 Leftover: get_source.sh in build documentation
merkel05 at gmail.com
Fri Nov 16 14:01:59 UTC 2018
Hi Erik, David,
Thanks for review comments, I've applied fixes accordingly.
Here  is the only place where I've left "forest" wording.
I've attached and inlined an updated patch.
Looking forward for further improvements or sponsorship.
diff --git 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
longer split into separate repositories so you only need to clone one
repository. At the [OpenJDK Mercurial server](http://hg.openjdk.java.net/)
-can see a list of all available forests. If you want to build an older
+can see a list of all available repositorys. If you want to build an older
e.g. JDK 8, it is recommended that you get the `jdk8u` forest, which
incremental updates, instead of the `jdk8` forest, which was frozen at JDK
@@ -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
-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
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
+ 1. Make sure your repository is up-to-date
- Run `bash get_source.sh` to make sure you have the latest version of
+ Run `hg pull -u` to make sure you have the latest changes.
2. Clean build results
@@ -1336,13 +1334,13 @@
- 4. Re-clone the Mercurial forest
+ 4. Re-clone the Mercurial repository
- Sometimes the Mercurial repositories themselves gets in a state that
- the product to be un-buildable. In such a case, the simplest solution
- often the "sledgehammer approach": delete the entire forest, and
- it. If you have local changes, save them first to a different location
- using `hg export`.
+ Sometimes the Mercurial repository gets in a state that causes the
+ to be un-buildable. In such a case, the simplest solution is often the
+ "sledgehammer approach": delete the entire repository, and re-clone it.
+ If you have local changes, save them first to a different location
+ `hg export`.
### 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
a useful tool known as [defpath](
@@ -1422,8 +1420,8 @@
If you also have the `trees` extension installed in Mercurial, you will
automatically get a `tdefpath` command, which is even more useful. By
-`hg tdefpath -du <username>` in the top repository of your forest, all
-will get setup automatically. This is the recommended usage.
+`hg tdefpath -du <username>`, repository will get setup automatically. This
+is the recommended usage.
### Bash Completion
@@ -1459,7 +1457,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
create a new configuration, run `configure --with-conf-name=<name>` to
configuration with the name `<name>`. Alternatively, you can create a
under `build` and run `configure` from there, e.g. `mkdir build/<name> &&
@@ -1474,7 +1472,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,
build system will force you to re-run `configure`.
Most of the time, you will be fine by running `configure` again with the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3960 bytes
Desc: not available
More information about the build-dev