Do not include javac and JavaBuilder in the bootstrap path
--
Change-Id: I5377f694bd6dc426d41feef75cd35145c3b47c2f
Reviewed-on: https://bazel-review.googlesource.com/#/c/3450/
MOS_MIGRATED_REVID=120323262
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh
index b451a31..1ba38c5 100755
--- a/scripts/bootstrap/compile.sh
+++ b/scripts/bootstrap/compile.sh
@@ -17,7 +17,7 @@
# Script for building bazel from scratch without bazel
PROTO_FILES=$(ls src/main/protobuf/*.proto)
-LIBRARY_JARS=$(find third_party -name '*.jar' | tr "\n" " ")
+LIBRARY_JARS=$(find third_party -name '*.jar' | grep -Fv /javac.jar | grep -Fv /javac7.jar | grep -Fv JavaBuilder | 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/GrpcServerImpl.java