question: protected void processClientGwtModuleXML ( ) throws IOException { File gwtModuleFile = new File ( projectRoot , IDE_GWT_MODULE ) ; String gwtModuleContent = readFileContent ( gwtModuleFile ) ; String inheritsString = GEN_START + String . format ( "<inherits name='%s' />%n" , gwtModuleFQN ) + GEN_END ; if ( ! gwtModuleContent . contains ( IDE_GWT_ENTRY_TAG ) ) { throw new IOException ( String . format ( "File '%s' doesn't contain '%s'. Can't process file." , IDE_GWT_MODULE , IDE_GWT_ENTRY_TAG ) ) ; } gwtModuleContent = gwtModuleContent . replace ( IDE_GWT_ENTRY_TAG , inheritsString + IDE_GWT_ENTRY_TAG ) ; writeFileContent ( gwtModuleContent , gwtModuleFile ) ; }
target:  Insert "inherits" tag before "entry-point". 