aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
diff options
context:
space:
mode:
authorGravatar Dan Fabulich <DanFabulich@gmail.com>2018-07-05 16:08:06 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-05 16:10:02 -0700
commit1d35ca03b8a1c431937a9be74a9efedc15b5707a (patch)
treef1f0c20ac99ec54c450de0d238d5213758c4cbe0 /src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
parent2b62182c9854321396d7d287e8b645261d9cda82 (diff)
Replace instances of Blaze with Bazel.
PiperOrigin-RevId: 203300374 Change-Id: Iaa47f870ab2e0cad40a202aad2c7f9430f73c856 PiperOrigin-RevId: 203407392
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
index f073fda405..5a1708225d 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java
@@ -228,8 +228,8 @@ public final class BlazeRuntime {
for (BlazeModule module : blazeModules) {
CoverageReportActionFactory factory = module.getCoverageReportFactory(commandOptions);
if (factory != null) {
- Preconditions.checkState(firstFactory == null,
- "only one Blaze Module can have a Coverage Report Factory");
+ Preconditions.checkState(
+ firstFactory == null, "only one Bazel Module can have a Coverage Report Factory");
firstFactory = factory;
}
}
@@ -393,12 +393,12 @@ public final class BlazeRuntime {
options = optionsFromModule;
} else {
throw new IllegalArgumentException(
- "Two or more blaze modules contained default build options.");
+ "Two or more bazel modules contained default build options.");
}
}
}
if (options == null) {
- throw new IllegalArgumentException("No default build options specified in any Blaze module");
+ throw new IllegalArgumentException("No default build options specified in any Bazel module");
}
return options;
}
@@ -636,10 +636,7 @@ public final class BlazeRuntime {
System.exit(batchMain(modules, args));
}
logger.info(
- "Starting Blaze server with "
- + maybeGetPidString()
- + "args "
- + Arrays.toString(args));
+ "Starting Bazel server with " + maybeGetPidString() + "args " + Arrays.toString(args));
try {
// Run Blaze in server mode.
System.exit(serverMain(modules, OutErr.SYSTEM_OUT_ERR, args));
@@ -782,7 +779,7 @@ public final class BlazeRuntime {
@Override
public void run() {
logger.info("User interrupt");
- OutErr.SYSTEM_OUT_ERR.printErrLn("Blaze received an interrupt");
+ OutErr.SYSTEM_OUT_ERR.printErrLn("Bazel received an interrupt");
mainThread.interrupt();
int curNumInterrupts = numInterrupts.incrementAndGet();
@@ -806,7 +803,7 @@ public final class BlazeRuntime {
InterruptSignalHandler signalHandler = captureSigint();
CommandLineOptions commandLineOptions = splitStartupOptions(modules, args);
logger.info(
- "Running Blaze in batch mode with "
+ "Running Bazel in batch mode with "
+ maybeGetPidString()
+ "startup args "
+ commandLineOptions.getStartupArgs());