-
Notifications
You must be signed in to change notification settings - Fork 304
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
Plugin not working with bazel 0.26.0 (missing input file '@remote_java_tools_darwin//:Genclass') #845
Comments
I cannot reproduce this on macOS with Bazel 0.26.0. This missing file belongs to an external repository that may have been updated between 0.25 and 0.26. It's odd that the external repository wasn't invalidated -- could you please try |
done that and the problem remains. could you please teste this https://github.com/natros/bazel-maven:
|
Thanks for the repro! I can reproduce the error with this:
If you omit the |
Found the root cause: bazelbuild/bazel#8490 |
This fix will be part of a patch release for 0.26 |
Reopening until the patch fix for Bazel is out |
More updates here bazelbuild/java_tools#8 |
Upgrade the java tools version in Bazel to `javac_11-v2.0`. This PR fixes reported errors of `missing input file '@remote_java_tools_darwin//:Genclass'` (e.g. bazelbuild/intellij#845). Also update the java_tools version for javac 9 and 10 that are used in tests. New java_tools releases for javac 9 and 10 were required because of new bazel API (`java_toolchain` now has an `jacocorunner` attribute). The detailed release of `javac_11-v2.0` can be found in bazelbuild/java_tools#8. The detailed release of java_tools `javac9-v2.0` and `javac10-v4.0` can be found in bazelbuild/java_tools#10. Closes #8498. PiperOrigin-RevId: 251245301
Fixes bazelbuild/intellij#845 This causes IntelliJ resolution to fail when there's a `java_plugin` in the build. The filegroup is `GenClass`, not `Genclass`. ``` filegroup( name = "GenClass", srcs = ["java_tools/GenClass_deploy.jar"], ) ``` This will require a new java_tools release and a patch release to 0.26.0. Closes bazelbuild#8490. PiperOrigin-RevId: 250487423
Fixes bazelbuild/intellij#845 This causes IntelliJ resolution to fail when there's a `java_plugin` in the build. The filegroup is `GenClass`, not `Genclass`. ``` filegroup( name = "GenClass", srcs = ["java_tools/GenClass_deploy.jar"], ) ``` This will require a new java_tools release and a patch release to 0.26.0. Closes bazelbuild#8490. PiperOrigin-RevId: 250487423
This new java-tools release only contains the minimal changes with respect to the previous release to fix bazelbuild/intellij#845
This new java-tools release only contains the minimal changes with respect to the previous release to fix bazelbuild/intellij#845
Baseline: c2001a4 Cherry picks: + e67c961: Fix a non-determinism in create_embedded_tools.py. + 81aefe7: Remove unsupported cpu attribute from cc_toolchains. + 597e289: remote: made CombinedCache a composition of Disk and Http Cache + 942f7cf: C++: Fixes bug in C++ API with external repo aspects + 85a5a2b: Configure @androidsdk//:emulator_x86 and :emulator_arm to point to the unified emulator binary + 9835cb4: Automated rollback of commit 844e4e2. + c963ba2: Windows, Python: fix arg. esc. also in host config + a1ea487: Do not pre-cache changed files under managed directories + 7dc78cd: Add explicit execution and target constraints for autodiscovered cc t? + dd9ac13: Fix a bug when a relative path is used for the execution log + 0ff19c6: Fix StandaloneTestStrategy.appendStderr + 7f49531: Fix the autodetecting Python toolchain on Mac + ddce723: Avoid exporting PATH unnecessarily + 35dd05a: Allow Starlark rules to be able to use the `exec_compatible_with` + cb82ed8: Release 0.26.0 (2019-05-28) + d1c0d20: Allow WORKSPACE file to be a symlink if no managed directories is used. + c3d2aa7: Fix ios, tvos and watchos arm64 constraints + 55e4205: Bump java_tools_javac10 from 3.1 to 3.2 Patch release on top of 0.26.0, fixing - #8475 - #8520 - bazelbuild/intellij#845
This is now fixed with Bazel 0.26.1. |
Baseline: c2001a4 Cherry picks: + e67c961: Fix a non-determinism in create_embedded_tools.py. + 81aefe7: Remove unsupported cpu attribute from cc_toolchains. + 597e289: remote: made CombinedCache a composition of Disk and Http Cache + 942f7cf: C++: Fixes bug in C++ API with external repo aspects + 85a5a2b: Configure @androidsdk//:emulator_x86 and :emulator_arm to point to the unified emulator binary + 9835cb4: Automated rollback of commit 844e4e2. + c963ba2: Windows, Python: fix arg. esc. also in host config + a1ea487: Do not pre-cache changed files under managed directories + 7dc78cd: Add explicit execution and target constraints for autodiscovered cc t? + dd9ac13: Fix a bug when a relative path is used for the execution log + 0ff19c6: Fix StandaloneTestStrategy.appendStderr + 7f49531: Fix the autodetecting Python toolchain on Mac + ddce723: Avoid exporting PATH unnecessarily + 35dd05a: Allow Starlark rules to be able to use the `exec_compatible_with` + cb82ed8: Release 0.26.0 (2019-05-28) + d1c0d20: Allow WORKSPACE file to be a symlink if no managed directories is used. + c3d2aa7: Fix ios, tvos and watchos arm64 constraints + 55e4205: Bump java_tools_javac10 from 3.1 to 3.2 Patch release on top of 0.26.0, fixing - bazelbuild#8475 - bazelbuild#8520 - bazelbuild/intellij#845
Fixes bazelbuild/intellij#845 This causes IntelliJ resolution to fail when there's a `java_plugin` in the build. The filegroup is `GenClass`, not `Genclass`. ``` filegroup( name = "GenClass", srcs = ["java_tools/GenClass_deploy.jar"], ) ``` This will require a new java_tools release and a patch release to 0.26.0. Closes bazelbuild#8490. PiperOrigin-RevId: 250487423
Upgrade the java tools version in Bazel to `javac_11-v2.0`. This PR fixes reported errors of `missing input file '@remote_java_tools_darwin//:Genclass'` (e.g. bazelbuild/intellij#845). Also update the java_tools version for javac 9 and 10 that are used in tests. New java_tools releases for javac 9 and 10 were required because of new bazel API (`java_toolchain` now has an `jacocorunner` attribute). The detailed release of `javac_11-v2.0` can be found in bazelbuild/java_tools#8. The detailed release of java_tools `javac9-v2.0` and `javac10-v4.0` can be found in bazelbuild/java_tools#10. Closes bazelbuild#8498. PiperOrigin-RevId: 251245301
Baseline: c2001a4 Cherry picks: + e67c961: Fix a non-determinism in create_embedded_tools.py. + 81aefe7: Remove unsupported cpu attribute from cc_toolchains. + 597e289: remote: made CombinedCache a composition of Disk and Http Cache + 942f7cf: C++: Fixes bug in C++ API with external repo aspects + 85a5a2b: Configure @androidsdk//:emulator_x86 and :emulator_arm to point to the unified emulator binary + 9835cb4: Automated rollback of commit 844e4e2. + c963ba2: Windows, Python: fix arg. esc. also in host config + a1ea487: Do not pre-cache changed files under managed directories + 7dc78cd: Add explicit execution and target constraints for autodiscovered cc t? + dd9ac13: Fix a bug when a relative path is used for the execution log + 0ff19c6: Fix StandaloneTestStrategy.appendStderr + 7f49531: Fix the autodetecting Python toolchain on Mac + ddce723: Avoid exporting PATH unnecessarily + 35dd05a: Allow Starlark rules to be able to use the `exec_compatible_with` + cb82ed8: Release 0.26.0 (2019-05-28) + d1c0d20: Allow WORKSPACE file to be a symlink if no managed directories is used. + c3d2aa7: Fix ios, tvos and watchos arm64 constraints + 55e4205: Bump java_tools_javac10 from 3.1 to 3.2 Patch release on top of 0.26.0, fixing - bazelbuild#8475 - bazelbuild#8520 - bazelbuild/intellij#845
Fixes bazelbuild/intellij#845 This causes IntelliJ resolution to fail when there's a `java_plugin` in the build. The filegroup is `GenClass`, not `Genclass`. ``` filegroup( name = "GenClass", srcs = ["java_tools/GenClass_deploy.jar"], ) ``` This will require a new java_tools release and a patch release to 0.26.0. Closes bazelbuild#8490. PiperOrigin-RevId: 250487423
Upgrade the java tools version in Bazel to `javac_11-v2.0`. This PR fixes reported errors of `missing input file '@remote_java_tools_darwin//:Genclass'` (e.g. bazelbuild/intellij#845). Also update the java_tools version for javac 9 and 10 that are used in tests. New java_tools releases for javac 9 and 10 were required because of new bazel API (`java_toolchain` now has an `jacocorunner` attribute). The detailed release of `javac_11-v2.0` can be found in bazelbuild/java_tools#8. The detailed release of java_tools `javac9-v2.0` and `javac10-v4.0` can be found in bazelbuild/java_tools#10. Closes bazelbuild#8498. PiperOrigin-RevId: 251245301
Baseline: c2001a4 Cherry picks: + e67c961: Fix a non-determinism in create_embedded_tools.py. + 81aefe7: Remove unsupported cpu attribute from cc_toolchains. + 597e289: remote: made CombinedCache a composition of Disk and Http Cache + 942f7cf: C++: Fixes bug in C++ API with external repo aspects + 85a5a2b: Configure @androidsdk//:emulator_x86 and :emulator_arm to point to the unified emulator binary + 9835cb4: Automated rollback of commit 844e4e2. + c963ba2: Windows, Python: fix arg. esc. also in host config + a1ea487: Do not pre-cache changed files under managed directories + 7dc78cd: Add explicit execution and target constraints for autodiscovered cc t? + dd9ac13: Fix a bug when a relative path is used for the execution log + 0ff19c6: Fix StandaloneTestStrategy.appendStderr + 7f49531: Fix the autodetecting Python toolchain on Mac + ddce723: Avoid exporting PATH unnecessarily + 35dd05a: Allow Starlark rules to be able to use the `exec_compatible_with` + cb82ed8: Release 0.26.0 (2019-05-28) + d1c0d20: Allow WORKSPACE file to be a symlink if no managed directories is used. + c3d2aa7: Fix ios, tvos and watchos arm64 constraints + 55e4205: Bump java_tools_javac10 from 3.1 to 3.2 Patch release on top of 0.26.0, fixing - bazelbuild#8475 - bazelbuild#8520 - bazelbuild/intellij#845
Works from command link but not with intellij plugin. I have no problems with bazel 0.25.3
The text was updated successfully, but these errors were encountered: