From 2a8b6579c9535b649f2970307bc058895b880eb5 Mon Sep 17 00:00:00 2001 From: cushon Date: Wed, 25 Jul 2018 10:33:40 -0700 Subject: Add a --server_javabase startup option as an alias for the LHS --host_javabase to avoid confusion between the LHS and RHS host_javabases. The LHS --host_javabase option should be considered deprecated and will eventually be removed. RELNOTES: Rename the startup flag --host_javabase to --server_javabase to avoid confusion with the build flag --host_javabase PiperOrigin-RevId: 206015757 --- site/docs/user-manual.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'site') diff --git a/site/docs/user-manual.html b/site/docs/user-manual.html index 8badefd2dd..de4363c18b 100644 --- a/site/docs/user-manual.html +++ b/site/docs/user-manual.html @@ -1777,8 +1777,7 @@ The default is armeabi-v7a.

--host_javabase label

- This option (sometimes referred to as the 'right-hand side' host_javabase) - sets the label of the base Java installation to use in the host configuration, + This option sets the label of the base Java installation to use in the host configuration, for example for host build tools including JavaBuilder and Singlejar.

@@ -1787,11 +1786,6 @@ The default is armeabi-v7a. --java_toolchain option.

-

- This option should not be confused with the startup option - --host_javabase - (sometimes known as the 'left-hand side' host_javabase). -

Build strategy options

@@ -3577,21 +3571,28 @@ adb -s deadbeef install ... base) if there is a better location in your filesystem layout.

-

--host_javabase=dir

+ +

--server_javabase=dir

Specifies the Java virtual machine in which Bazel itself runs. The value must be a path to the directory containing a JDK or JRE. It should not be a label. This option should appear before any bazel command, and not be confused with the build option - --host_javabase, for example: + --server_javabase, for example:

-  % bazel --host_javabase=/usr/local/buildtools/java/jdk9 build //foo
+  % bazel --server_javabase=/usr/local/buildtools/java/jdk9 build //foo
 

This flag does not affect the JVMs used by Bazel subprocesses such as applications, tests, tools, and so on. Use build options --javabase or --host_javabase instead.

+

+ This flag was previously named --host_javabase (sometimes referred to as the + 'left-hand side' --host_javabase), but was renamed to avoid confusion with the + build flag --host_javabase (sometimes referred to as the + 'right-hand side' --host_javabase). +

--host_jvm_args=string

-- cgit v1.2.3