gitpod
gitpod copied to clipboard
[jb] mavenprojects are not imported automatically with warm-up in prebuilds
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.
- To make the project display correctly on Explorer, one has to click "Load Maven Prject" in the notification area.
Expected behavior
Instead modules should be imported automatically.
Example repository
https://github.com/gitpod-io/spring-petclinic
Related JetBrains issue: https://youtrack.jetbrains.com/issue/IDEA-294532
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
After this change, my current issue is with the timespent while importing the project.
@fmartins Could you elaborate on it please?
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.