You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project has been created for Bazel 5, but IntelliJ aspects require Bazel>= 6
I have updated the project to work with Bazel 6.1.0. so that now IntelliJ aspects run correctly.
that causes it to repeatedly try to configure projects.
I have commented this call. The Sync Bazel Projects View action happens in the workspace job. Eclipse will automatically refresh projects when the job is finished.
@guw Is there any special reason to call refreshLocal within the workspace job?
The findProject method is still called multiple times for the same package/target.
JvmConfigurator will dispose and recreate VM every time the Sync Bazel Projects View action is called.
Related issues:
I have started with
https://github.com/eclipseguru/bazel-eclipse/tree/performance, commit 8a6f0dbbazel-eclipse, the main branch and tried to import large to Eclipse using Bazel Eclipse Feature (BEF)There are several issues:
The project has been created for Bazel 5, but IntelliJ aspects require Bazel>= 6
I have updated the project to work with Bazel 6.1.0. so that now IntelliJ aspects run correctly.
The project uses
java/resourcesreferences that aren’t usual for Bazel - Bazel Eclipse doesn't recognize filegroup #15 (comment)I have replaced them with
resources.I have added the PR Bazel Eclipse doesn't recognize filegroup #15
When I try to import a project, that takes a long time or Eclipse freezes.
bazel-eclipse/bundles/com.salesforce.bazel.eclipse.core/src/com/salesforce/bazel/eclipse/core/model/execution/JobsBasedExecutionService.java
Line 89 in 9f8988a
that causes it to repeatedly try to configure projects.
I have commented this call. The
Sync Bazel Projects Viewaction happens in the workspace job. Eclipse will automatically refresh projects when the job is finished.@guw Is there any special reason to call
refreshLocalwithin the workspace job?The
findProjectmethod is still called multiple times for the same package/target.JvmConfiguratorwill dispose and recreate VM every time theSync Bazel Projects Viewaction is called.This is a patch against the https://github.com/eclipseguru/bazel-eclipse/tree/performance branch
If the patch is included, importing https://github.com/snjeza/bazel-ls-demo-project/tree/master/large will take about 10 minutes
@guw I would suggest you to apply your #13.After that, I will create a PR for the issues described in this issue.