gwt-plugins / gwt-plugins/gwt-eclipse-plugin

Importing / closed projects throw a lot of errors

Aperta
#514 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
117
Fork
49
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello everyone,

I noticed that when importing projects, there are a lot of errors like this in the `Error Log` view:

> isGWTProject(project) hasGwtnature exception Project 'CertificateManager' is not open.

It seems to originate from [HERE](https://github.com/gwt-plugins/gwt-eclipse-plugin/blob/v4.2.0/plugins/com.gwtplugins.gwt.eclipse.core/src/com/google/gwt/eclipse/core/nature/GWTNature.java#L53-L57). I guess that the [ResourceChangeListener](https://github.com/gwt-plugins/gwt-eclipse-plugin/blob/v4.2.0/plugins/com.gwtplugins.gdt.eclipse.core/src/com/google/gdt/eclipse/core/reference/ResourceChangeListener.java) might be implemented incorrectly, assuming all projects are opened, which is then triggering the initial issue in `GWTNature#isGwtProject`.

When importing projects, we do that automatically, and initially, they are always closed before being opened. We don't have a special implementation; we rely on the Eclipse API.

Once everything is finished and the projects are all imported (and open), there are no further errors by the GWT plug-in, and everything works as expected. But this is quite annoying nevertheless.

Best,
Tobias

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.