Skip to content
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

Kotlin Project Failed to load to IntelliJ while Testing #6939

Closed
satyanandak opened this issue Oct 29, 2024 · 2 comments
Closed

Kotlin Project Failed to load to IntelliJ while Testing #6939

satyanandak opened this issue Oct 29, 2024 · 2 comments
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: IntelliJ IntelliJ plugin type: bug

Comments

@satyanandak
Copy link
Contributor

Description of the bug:

Hi Team,
We have observed that the Kotlin Project is failing to load into IDE with below console output

Updating VCS...
Running Bazel info...
Command: bazel info --tool_tag=ijwb:IDEA:ultimate --override_repository=intellij_aspect=/usr/local/google/home/satyanandak/.local/share/JetBrains/IntelliJIdea2024.2/ijwb/aspect --override_repository=intellij_aspect_template=/usr/local/google/home/satyanandak/workspace/v2024.10.22/intellij/.ijwb/aspect --curses=no --color=yes --progress_in_terminal_title=no bazel-bin bazel-genfiles bazel-testlogs execution_root package_path output_path output_base release starlark-semantics java-home --

Which category does this issue belong to?

Intellij

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Open Project
Remove “examples” from v20YY.MM.DD/intellij/.bazelignore file
Open the IDE after installing the Bazel plugin you built
Select “Import Bazel Project”
Select v20YY.MM.DD/intellij as your workspace then click Next
Select “Import Project View File” and point it to v20YY.MM.DD/intellij/examples/kotlin/simple_project/simple_project.bazelproject then click Next.

Which Intellij IDE are you using? Please provide the specific version.

IntelliJ IDEA 2024.1.7 & 2024.2.4

What programming languages and tools are you using? Please provide specific versions.

Kotlin

What Bazel plugin version are you using?

2024.10.22.0.1-api-version-241 & 2024.10.22.0.1-api-version-242

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

Kotlin_testing

@mai93
Copy link
Collaborator

mai93 commented Oct 29, 2024

I think you need to use bazelisk instead, can you download it from here and add its path in the IDE by navigating to File -> Settings -> Other Settings -> Bazel Settings and put the path in Bazel binary location then try importing again.

@satyanandak
Copy link
Contributor Author

@mai93, Thank You ! followed the steps and worked for me.

@mai93 mai93 closed this as completed Oct 30, 2024
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Bazel IntelliJ Plugin Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: IntelliJ IntelliJ plugin type: bug
Projects
Development

No branches or pull requests

2 participants