-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for Windows issues found in the course of updating rules_jvm_external to use Starlark Android rules #1274
base: master
Are you sure you want to change the base?
Conversation
…vm_external#1297: 1) Use platform-specific path separators. 2) Add Kotlin standard library jars to the data of tools so that the Windows Java launcher can find them in the runfiles manifest.
The |
Looks like this fix breaks a bunch of other stuff -- not terribly shocking unfortunately given the nature of the changes. I'll make this a draft until this passes CI |
Looks like the integration tests are failing with |
Looking... qq: why doesn't windows get the stdlibs from runfiles? |
I'm told it's because on linux, all (or at least more) inputs are added to the runfiles, and this was not done (fixed?) in the windows implementation of runfiles. I looked through bazel's code to try to find the different, but didn't get very far in the time I had |
The breakages (at least those not in the integration tests) were due to switching from |
The |
In the course of updating rules_jvm_external to use the Starlark Android rules here: bazel-contrib/rules_jvm_external#1297 a couple issues were found in rules_jvm_external's Windows tests:
data
of tool targets so that the Windows Java launcher can find them in the runfiles manifestThis fixes issues like this in Kotlin tools:
LAUNCHER ERROR: Rlocation failed on _main/external/rules_kotlin++rules_kotlin_extensions+com_github_jetbrains_kotlin_git/lib/annotations-13.0.jar, path doesn't exist in MANIFEST file