Thursday, June 11, 2020

Re: GWT Super devmode is not working for me

I'm really not sure how well SDM in the much older GWT 2.6.1 works in comparison with most recent stable release of GWT 2.9.0. There do exist SDM plugins for both Eclipse and IntelliJ I believe.

On 6/11/20 10:36 AM, ruwan samaraweera wrote:
I'm using gwt since so many years back. To debug my application those days I've used gwt devmode. But now the plugin is not support in modern browser(Im using lates version of Chrome). So I tried to used super devmode. But unfortunately I couldn't able to configure it correct way. It is given many errors and I cant debug my application.  
Actually Im developing web application using gwt 2.6.1 and java 1.8 and deploying it in tomcat9 webserver.
My configuration as follows.

gwt.xml file

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='App'>

<inherits name="" />
<!--<inherits name="com.smartgwt.SmartGwt"/>-->
<inherits name="com.smartgwt.SmartGwtNoTheme" />
<inherits name="com.smartgwt.SmartGwtNoScript"/>
<inherits name="com.smartgwtee.SmartGwtEENoScript"/>

<inherits name="com.smartgwt.Drawing"/>
<inherits name="com.smartgwt.Charts"/>
<inherits name=""/>
<inherits name="com.smartgwt.Analytics"/>
<stylesheet src='../pages/resources/mmv-style.css'/>
<inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue" />
<inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources"/>
<inherits name=''/>

<entry-point class="mywebapp.client.AppEntryPoint" />

<source path="client"/>
<source path="shared"/>

<add-linker name="xsiframe"/>

<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>

<extend-property name="locale" values="en" />

<!-- Following should exist only in Development mode-->
<!--<inherits name="" />-->
<set-property name="user.agent" value="safari" />


Hear I've add xsiframe linker and other configuration tag as well
Apart from that I've added following tags in my host page.

script src="App/sc/modules/ISC_Core.js"></script>  <script src="App/sc/modules/ISC_Foundation.js"></script>  <script src="App/sc/modules/ISC_Containers.js"></script>  <script src="App/sc/modules/ISC_Grids.js"></script>  <script src="App/sc/modules/ISC_Forms.js"></script>  <script src="App/sc/modules/ISC_RichTextEditor.js"></script>  <script src="App/sc/modules/ISC_Calendar.js"></script>  <script src="App/sc/modules/ISC_DataBinding.js"></script>  <script src="App/sc/modules/ISC_Drawing.js"></script>  <script src="App/sc/modules/ISC_Charts.js"></script>  <script src="App/sc/modules/ISC_Analytics.js"></script>  <script src="App/sc/skins/SilverWaveX/load_skin.js"></script>
Im using ant target to build application and making war file and place it tomcat9. So same way Im using ant target to run superdevmode as follows.  
<target name="superDevMode" description="Run GWT debug mode">     <java failonerror="true" fork="true" classname="">        <classpath>           <fileset dir="${proj.gwt.debug.sdk}" includes="*.jar" />           <path refid="project.class.path" />        </classpath>        <jvmarg value="${proj.runtime.initmemory}" />        <jvmarg value="${proj.runtime.maxmemory}" />        <jvmarg value="${proj.runtime.permgensize}" />        <jvmarg value="-Xdebug" />        <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=${proj.gwt.debug.client.debug.port}" />        <!--<arg value="-noserver" />-->          <arg value="-port" />        <arg value="${proj.gwt.debug.server.http.port}" />        <!--<arg value="-startupUrl" />-->        <!--<arg value="/${}" />-->        <arg value="${proj.gwt.module}" />     </java>  </target>
 In properties.xml file  
<!-- Following properties are used to GWT DEBUGGING -->  	<property name="proj.gwt.debug.sdk" location="D:Project\myApp\gwt\gwt-2.6.1" />  	<property name="proj.gwt.debug.server.http.port" value="8080" />  	<property name="proj.gwt.debug.client.debug.port" value="5028" />  
But when I'm running ant target it is giving following error
 [ERROR] The Cross-Site-Iframe linker does not support <script> tags in the gwt.xml files, but the gwt.xml file (or the gwt.xml files which it includes) contains the following script tags:
     [java]     at
     [java] sc/modules/ISC_Core.js
     [java]     at
     [java] sc/modules/ISC_Containers.js
java]     at order for your application to run correctly, you will need to include these tags in your host page directly. In order to avoid this error, you will need to remove the script tags from the gwt.xml file, or add this property to the gwt.xml file: <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>       [java]       [java]     at  
It is great if some one can help me on this.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

No comments:

Post a Comment