intelliJ idea 10 community edition and GWT plugin

后端 未结 2 1981
执念已碎
执念已碎 2021-01-05 04:09

Having hard time installing GWT plugin. Tried to search for GWT plugins and all I was able to find was GWT Imagebundle which is pretty outdated. Tried File Menu -> configure

2条回答
  •  长发绾君心
    2021-01-05 04:47

    Starting from the version 11 it's not possible to add PROJECT_FOLDER/src as it was described in the previously posted (by ctorx) link http://java.dzone.com/tips/gwt-development-intellij-idea. Once we add a source folder it appears as an "Empty library" and doesn't work. This is because IDEA treats it as a folder where should be compiled classes not sources.

    But there is a workaround. To fix it we have to hack the module's IML file. Find the following lines in the IML file of your entry point module

    
      
        
        
        
          
        
      
    
    

    and move your path into the CLASSES tag, so the entire thing looks like the following

    
      
        
          
        
        
        
      
    
    

提交回复
热议问题