Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Windows + Bazel : props_path with forward slash and "cat" use breaks all #1731

Description

@gattytto

hello, I'm referring to the use of this library in vscode with windows11 and powershell as a terminal, this line makes a reference to something like this:

"C:/users/administrador/_bazel_administrador/y554zjiy/external/com_google_api_gax_java/dependencies.properties"
and tries to "cat" the file so double problem, powershell will not find forward slashed path and "cat" command does not exist in windows, although there's an alternative to it called "type" which is an alias to powershell "Get-Content".

to reproduce: pull some googleapis api in vscode and try to populate the bazel build targets window using the little refresh button.

thanks in advance

Activity

  1. added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Jul 11, 2022
  2. self-assigned this
    on Aug 1, 2022
  3. suztomo commented on Aug 1, 2022

    @suztomo
    Member

    @gattytto Thank you for filing the issue. I'm afraid that we cannot commit to building this library in Windows environment due to it incurring build environment maintenance reason.

    The library published to Maven Central works in Windows environment.

  4. suztomo commented on Aug 1, 2022

    @suztomo
    Member

    @gattytto I clarified the required environment in README.md. I believe you just reported the issue because this Bazel build didn't work in Windows, and you don't actually need to build this project. If this is not the case (you really need Windows + Bazel build for gax-java project), please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions