Skip to content

Springboot macro doesn't work with symbolic macros #271

@t-rad679

Description

@t-rad679

The new Symbolic Macros in Bazel 8 enforce naming conventions that the springboot macro provided by this repo does not adhere to:

ERROR: /Users/tr185153/src/<redacted>/libs/common/bzl/springboot.bzl:23:20: in genrule rule //path/to/target:path/to/target_name_genbazelrunenv: Target //path/to/target:path/to/target_name_genbazelrunenv declared in symbolic macro 'name' violates macro naming rules and cannot be built. Name must be the same as the macro's name, or the macro's name followed by '_' (recommended), '-', or '.', and a non-empty string.

For now I can just use legacy macros, but just wanted to bring this to your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions