[GRADLE-1421] Tooling API: should provide a fast skeletal project model Created: 04/Mar/11  Updated: 04/Jan/13  Resolved: 22/Apr/11

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 1.0-milestone-3

Type: Improvement
Reporter: Kris De Volder Assignee: Adam Murdoch
Resolution: Fixed Votes: 0


 Description   

It is desirable to be able to retrieve a skeletal model that can be constructed relatively fast but may not have all details fully fleshed out.

The specific use case that I have in mind is a project import wizard. The wizard allows the user to choose a root project folder. It then presents the user with a tree view of the project hierarchy and lets the user choose which projects / subprojects they are interested in actually importing into their Eclipse workspace.

Unfortunately with the current version of the API obtaining just the project hierarchy leads to downloading every dependency of each project in the hierarchy. This is blocking the UI for a long time (example, when retrieving the model for spring-integration, it can take more than 6 minutes).

Even if we are able to show the best possible progress information, blocking the wizard for 6 minutes is simply not acceptable.

Once I have picked and imported the projects I am interested in... it is fine for the IDE to take whatever time is needed to have the fully fleshed out models constructed in background as part of a workspace build, but it is not acceptable to do this inside the wizard.


Generated at Wed Jun 30 11:55:07 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.