I'm a user of IntelliJ 11.1 Ultimate.
I played around a bit with GWT support and it is really frustrating to see that the GWT support in Idea is very basic if you rely on Maven, too.
Here an example:
I used the latest gwt-maven-plugin to generate a sample project:
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.5.0-rc2
Afterwards, you are asked about groupId, artefactId, etc.
I can run this project via mvn gwt:run.
Now, I opened it in Idea by selecting the pom (and running a mvn clean before). I can see in the project settings that GWT facet was detected.
However, taking a look at parent class generated by maven archetype before, directly shows two shortcomings:
- Idea is not generating Messages class for property files
- Idea is not generating GreetingServiceAsync interface for server's greeting service
Now, if I google for those problems, people usually suggest to include some Maven goals in the build process. However, I can't really believe that this is necessary. I would expect that internal Idea make command should be independent of Maven, especially as I can't configure what "make" is really doing.
But maybe I'm just on the wrong track and haven't really understood how GWT, Maven and IntelliJ are supposed to work together. Please enlighten me!