-
Notifications
You must be signed in to change notification settings - Fork 174
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
Add initial API to import new project into the workspace #751
Comments
There is now this API which BuildShip could contribute to: https://wiki.eclipse.org/E4/UI/Smart_Import . |
@mickaelistria Thanks for notification. Frankly, I didn't think about smart import when I sketched the API outline. Nonetheless, I've read through the related discussion. It seems to me that the original design problems @oehme mentioned on that thread are still valid. The new synchronization APIs don't actually do more than what we had already in the internal packages. If you have more insights or updates how should we approach the implementation of the Gradle project configurator, let me know. |
To be honest, I was never convinced by @oehme or whoever that it was fully impossible. The Smart Import API allows to let Gradle compute the actual modules to import, even if they don't have a build.gradle file directly. |
I agree, it would be nice if we could enable the importer for the basic Gradle use-cases. How can we execute something at the end of the project configuration phase, though? Judging from the API there's no ordering between the configurators. What happens when there are multiple configurators trying to open import dialogs? |
There is no API that does that, but IIRC, you can create a Job that first waits for
There is one, but the API doesn't show it, so it's indeed better to not rely on it at the moment.
At the moment, only the Maven configurator would show a dialog in case of missing lifecycle listeners. I guess in case 2 configurators open a dialog, both dialog would pop-up simultaneously or so. But so far, it doesn't seem to be a very probably case. |
Waiting for the |
No description provided.
The text was updated successfully, but these errors were encountered: