Skip to content

.bazelproject with bazel_binary: bazelisk does not seem to work #88

@vorburger

Description

@vorburger

In salesforce/bazel-eclipse#477 there was a previous discussion re. the whole bazel and bazelisk and what not "bootstrapping story".

https://github.com/salesforce/bazel-vscode-java/blob/main/docs/troubleshoot.md#bazelisk has documentation I wrote about this.

It's been working OK for me locally, but I'm now for fun exploring GitHub Codespaces, and I have reason to believe that a .bazelproject with bazel_binary: bazelisk somehow actually does not seem to work.

If you grab https://github.com/enola-dev/enola/pull/354/files, as of 5317b786bb26f871a6469a90b00c3bab69a727b0, it's "not working", and the log has the java.io.IOException: Cannot run program "bazel": error=2, No such file or directory thing - it appears it's ignoring the bazel_binary: bazelisk which is in in .bazelproject on that PR at that commit (but not on the main branch of that repo, yet).

This isn't blocking, because I can probably work around and hack something for a bazel instead of a bazelisk to be symlink, in a set-up script, later maybe with a Dev Container.

@guw just wanted to let you know, in case this is something you want to look further into; feel free to close.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions