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

[jb] mavenprojects are not imported automatically with warm-up in prebuilds #10185

Closed
akosyakov opened this issue May 23, 2022 · 4 comments · Fixed by #14656
Closed

[jb] mavenprojects are not imported automatically with warm-up in prebuilds #10185

akosyakov opened this issue May 23, 2022 · 4 comments · Fixed by #14656
Labels
editor: jetbrains feature: prebuilds meta: stale This issue/PR is stale and will be closed soon team: IDE type: bug Something isn't working

Comments

@akosyakov
Copy link
Member

akosyakov commented May 23, 2022

Bug description

JetBrains IDE Issue: mavenprojects are not imported automatically with warm-up in prebuilds.

See this internal thread

Steps to reproduce

  • Enable IntelliJ in Gitpod preferences
  • Start a workspace with prebuilds on https://github.com/gitpod-io/spring-petclinic
  • Note the Explorer is empty.
    image
  • To make the project display correctly on Explorer, one has to click "Load Maven Prject" in the notification area.
    image
    image

Expected behavior

Instead modules should be imported automatically.

Example repository

https://github.com/gitpod-io/spring-petclinic

@akosyakov akosyakov changed the title [jb] maven/gradle projects are not imported automatically with warm-up in prebuilds [jb] mavenprojects are not imported automatically with warm-up in prebuilds May 25, 2022
@loujaybee
Copy link
Member

Related JetBrains issue: https://youtrack.jetbrains.com/issue/IDEA-294532

@fmartins
Copy link

fmartins commented Aug 1, 2022

In my case, the maven project was automatically imported after using the directive

jetbrains:
  intellij:
    prebuilds:
      version: stable

https://www.gitpod.io/docs/ides-and-editors/intellij#indexing-using-prebuilds


After this change, my current issue is with the timespent while importing the project.
Does anyone have a great idea about how we can optimize this process? My java project is getting ~10minutes to be ready for use

@akosyakov
Copy link
Member Author

After this change, my current issue is with the timespent while importing the project.

@fmartins Could you elaborate on it please?

@stale
Copy link

stale bot commented Nov 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Nov 9, 2022
@andreafalzetti andreafalzetti moved this to Scheduled in 🚀 IDE Team Nov 14, 2022
Repository owner moved this from Scheduled to Done in 🚀 IDE Team Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor: jetbrains feature: prebuilds meta: stale This issue/PR is stale and will be closed soon team: IDE type: bug Something isn't working
Projects
Status: Done
3 participants