diff options
author | Lukacs Berki <lberki@google.com> | 2016-04-14 08:29:05 +0000 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2016-04-14 11:11:15 +0000 |
commit | 8b3b918ebd55911a3102f5ea6da60906fa63c866 (patch) | |
tree | 5441d1a77d4f89a3450523979b49f8aa63fe4596 /scripts/bootstrap/compile.sh | |
parent | 386f242788a3d0189e6882466105c57ec1149d20 (diff) |
Add the --grpc_port startup option and start a Java server if it's passed in.
Note that the presence of server/grpc_port does not guarantee that the server actually listens to it and we can't guarantee it, either, because it can always be kill -9'd.
I haven't decided yet how the transition between AF_UNIX and gRPC will work. For now, I'm happy that we can start up a Java server.
The way to get the kernel-chosen port is truly awful, but it is apparently impossible to do so in a different way:
https://github.com/grpc/grpc-java/issues/72
--
MOS_MIGRATED_REVID=119828354
Diffstat (limited to 'scripts/bootstrap/compile.sh')
-rwxr-xr-x | scripts/bootstrap/compile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index 3268c83e00..b451a311d8 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -19,7 +19,7 @@ PROTO_FILES=$(ls src/main/protobuf/*.proto) LIBRARY_JARS=$(find third_party -name '*.jar' | tr "\n" " ") DIRS=$(echo src/{java_tools/singlejar/java/com/google/devtools/build/zip,main/java,tools/xcode-common/java/com/google/devtools/build/xcode/{common,util}} ${OUTPUT_DIR}/src) -EXCLUDE_FILES=src/main/java/com/google/devtools/build/lib/server/GrpcServer.java +EXCLUDE_FILES=src/main/java/com/google/devtools/build/lib/server/GrpcServerImpl.java mkdir -p ${OUTPUT_DIR}/classes mkdir -p ${OUTPUT_DIR}/src |