Plugin doesn't work with Bazel 1.0.0rc2
See original GitHub issueAfter upgrade of Bazel from 0.29.1 to 1.0.0rc2, intellij plugin doesn’t work any more. To reproduce, clone recursively gerrit from this commit (b02962142671ff8d933f2d81a3d5aaa6558065c9) and try to import it in IntelliJ.
Bazel Console log in 0.29.1: [1]. Bazel Console log on 1.0.0rc2: [2].
Particularly: the external dependencies are not detected on 1.0.0rc2:
[...]
Parsing build outputs...
Total rules: 2139, new/changed: 154, removed: 495
Reading IDE info result...
Updating target map
Loaded 154 aspect files, total size 1080kB
Target map size: 597
Reading jdeps files...
Loaded 0 jdeps files, total size 0kB
Reading package manifests...
Java content entry count: 1
Updating Jar Cache...
Prefetching files...
Refreshing files
Computing directory structure...
Committing project structure...
Workspace has 0 libraries
While all is fine on 0.29.1:
[...]
Parsing build outputs...
Total rules: 2139, new/changed: 2139, removed: 0
Reading IDE info result...
Updating target map
Loaded 2139 aspect files, total size 3789kB
Target map size: 597
Reading jdeps files...
Loaded 207 jdeps files, total size 354kB
Reading package manifests...
Java content entry count: 22
Updating Jar Cache...
Prefetching files...
Refreshing files
Computing directory structure...
Committing project structure...
Workspace has 287 libraries
Environment:
IntelliJ IDEA Ultimate 2019.2.2 Bazel plugin: 2019.08.19.0.5
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Still unable to import Gerrit into IntelliJ - Google Groups
The problem I see with the IntelliJ + Bazel plugin approach is that is ... Bazel 0.29.1 (not 1.0.0rc2 as per .bazelversion, because...
Read more >Bazel Plugin - IntelliJ with Bazel
Import BUILD files into the IDE. Compile your project and get navigatable compile errors in the IDE. Run lint from within the IDE...
Read more >Log - HEAD - plugins/webhooks - Git at Google
... 9e4cd70 Fix ErrorProne issues for JavaLangClash bug pattern by Edwin Kempin ... bce4fa7 Bump required bazel version to 1.0.0rc2 by David Pursehouse...
Read more >README.md - Aspect's Bazel Documentation
Includes: Pre-built binary worker; Support for Kotlin compiler plugins via the kt_compiler_plugin (#308); Improved determinism for remote builds (#304); Avoids ...
Read more >Could you tell me advices to fix problems to build TensorFlow
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". You have bazel ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The plugin containing this fix (https://github.com/bazelbuild/intellij/commit/5f03bde0f02f5d1693a4567dc129230420a30372) is expected to be available early next week.
@davido maybe it should be closed since #1213 is closed