gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

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

Open akosyakov opened this issue 2 years ago • 3 comments

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 avatar May 23 '22 10:05 akosyakov

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

loujaybee avatar Jun 16 '22 13:06 loujaybee

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

fmartins avatar Aug 01 '22 19:08 fmartins

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

@fmartins Could you elaborate on it please?

akosyakov avatar Aug 08 '22 11:08 akosyakov

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[bot] avatar Nov 09 '22 07:11 stale[bot]