diff --git a/Rakefile b/Rakefile index 2b7b7cc1e8625..6a26ae038720a 100644 --- a/Rakefile +++ b/Rakefile @@ -345,11 +345,11 @@ task 'prep-release-zip': [ mkdir_p 'build/dist' File.delete - cp Rake::Task['//java/src/org/openqa/selenium/grid:server-zip'].out, "build/dist/selenium-server-#{version}.zip", preserve: false + cp "bazel-bin/java/src/org/openqa/selenium/grid/server-zip.zip", "build/dist/selenium-server-#{version}.zip", preserve: false chmod 0666, "build/dist/selenium-server-#{version}.zip" - cp Rake::Task['//java/src/org/openqa/selenium:client-zip'].out, "build/dist/selenium-java-#{version}.zip", preserve: false + cp "bazel-bin/java/src/org/openqa/selenium/client-zip.zip", "build/dist/selenium-java-#{version}.zip", preserve: false chmod 0666, "build/dist/selenium-java-#{version}.zip" - cp Rake::Task['//java/src/org/openqa/selenium/grid:executable-grid'].out, "build/dist/selenium-server-#{version}.jar", preserve: false + cp "bazel-bin/java/src/org/openqa/selenium/grid/selenium", "build/dist/selenium-server-#{version}.jar", preserve: false chmod 0666, "build/dist/selenium-server-#{version}.jar" end