diff options
author | László Csomor <laszlocsomor@google.com> | 2017-06-07 04:06:44 -0400 |
---|---|---|
committer | John Cater <jcater@google.com> | 2017-06-07 09:49:19 -0400 |
commit | 41627ade988580364f185e087a6ffe15765cf617 (patch) | |
tree | b14736af8bdcd5f79fa2c41227bd7a884d2c0775 /src/package-bazel.sh | |
parent | 340490a520a32db4b18f8a31f0aeb4217e23124f (diff) |
Bazel client: explain the name of A-server.jar
Also add a helper method to GlobalVariables to
retrieve this path, thus concentrating the
assumptions about the layout of extracted_binaries
in one place.
Change-Id: If172b6f5bf4451845ad89d3d488ef2a2c2e5d286
PiperOrigin-RevId: 158241854
Diffstat (limited to 'src/package-bazel.sh')
-rwxr-xr-x | src/package-bazel.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/package-bazel.sh b/src/package-bazel.sh index 19cda686cd..7851751ada 100755 --- a/src/package-bazel.sh +++ b/src/package-bazel.sh @@ -34,6 +34,8 @@ mkdir -p "${PACKAGE_DIR}" trap "rm -fr ${PACKAGE_DIR}" EXIT cp $* ${PACKAGE_DIR} +# The server jar needs to be the first binary we extract. This is how the Bazel +# client knows what .jar to pass to the JVM. cp ${DEPLOY_JAR} ${PACKAGE_DIR}/A-server.jar cp ${INSTALL_BASE_KEY} ${PACKAGE_DIR}/install_base_key # The timestamp of embedded tools should already be zeroed out in the input zip |