-
Notifications
You must be signed in to change notification settings - Fork 232
Fixes for Windows issues found in the course of updating rules_jvm_external to use Starlark Android rules #1274
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
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 |
I updated this PR with the latest commits, and the integration tests are now passing, but curiously |
|
With everything passing except for |
I keep disabling this, and then failing to push the pr. |
thank you! |
Unfortunately there were some things missing for this, see bazel-contrib/rules_jvm_external#1297 (comment) Basically Otherwise the same error |
* Add the equivalent to the changes to the development BUILD files in ahumesky@4e3b18e to the release BUILD file for jdeps_merger. Fixes for bazel-contrib/rules_jvm_external#1297 * fix whitespace
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