Skip to content

[Windows][singlejar] CreateFileW failed for src/tools/singlejar/output_jar.cc:966 #295

Open
@dangaogit

Description

@dangaogit

I have some files named in Chinese that are dependent on the java_library resources

java_library(
    # ....some config
    # here
    resources = glob(["src/main/resources/**"])
    # ....some config
)

When I tried to build the target on Windows, it went wrong

ERROR: .../BUILD.bazel:4:13: Building Java resource jar failed: (Exit 1): singlejar_local.exe failed: error executing JavaResourceJar command (from target ...) external\rules_java++toolchains+remote_java_tools_windows\java_tools\src\tools\singlejar\singlejar_local.exe --normalize --dont_change_compression --exclude_build_data --output ... (remaining 78 arguments skipped)
WARNING: .\src/tools/singlejar/mapped_file_windows.inc:58: CreateFileW failed for \\?\...\src\main\resources\static\ERROR: src/tools/singlejar/output_jar.cc:966: .../src/main/resources/static/���...�.xlsx

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