java_stub_template.txt as used in kotlin_rules
does not work on windows.
#5523
Labels
area-Windows
Windows-specific issues and feature requests
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
I shouldn't have tackled the windows issue at this point I thought it would a quick job. Anyhow the embedded classpath variable has not been resolved off the correct
RUNPATH
.Here is how the rules expand the template
I copied and adapted the underlying code from the scala rules removing stuff that I didn't think was needed.
This might apply to the
scala_rules
as well although it wraps the script. I see the classpath variable is produced with a":".join([...])
so its not windows compatible.I updated the variables to include the following just in case.
On a side note is the stub template available from one of the tool workspaces ? The scala and kotlin rules are retrieving it via
http_file
.The text was updated successfully, but these errors were encountered: