IntelliJ idea 10 community edition and GWT plugin

Difficult time to install the GWT plugin. Tried to search for GWT plugins, and all I could find was the GWT Imagebundle, which is pretty outdated. Tried File Menu → configure plugins, but did not help, since the plugin has not yet been installed.

Is there any support for the GWT plugin in the intelliJ 10 community release? If there is anyone, please point me to the correct document to install it? To make sure I installed the scala plugin and I can see it in the "Add Modules" section.

This is my first time using intellij, and I still love it.

+8
intellij-idea gwt
source share
2 answers

Community Edition does not have GWT support .

+6
source share

Starting with version 11, it is impossible to add PROJECT_FOLDER / src, as described in the previously published (ctorx) link http://java.dzone.com/tips/gwt-development-intellij-idea . When we add the source folder, it appears as an "empty library" and does not work. This is because IDEA treats it as a folder where classes should be compiled, not sources.

But there is a workaround. To fix this, we need to hack the IML file module. Locate the following lines in the IML file of your entry point module

<orderEntry type="module-library"> <library> <CLASSES /> <JAVADOC /> <SOURCES> <root url="file://$MODULE_DIR$/src/main/java" /> </SOURCES> </library> </orderEntry> 

and move your path to the CLASSES tag so that the whole thing looks like this

 <orderEntry type="module-library"> <library> <CLASSES> <root url="file://$MODULE_DIR$/src/main/java" /> </CLASSES> <JAVADOC /> <SOURCES /> </library> </orderEntry> 
+4
source share

Source: https://habr.com/ru/post/651405/


All Articles