Monday, July 15, 2019

GWT 2.8.2 compilation hanged while compiling using ant

Need help in compilation of GWT application using GWT 2.8.2. We are upgrading from GWT2.4 to 2.8 and facing issue while building jar file using ant. We tried compiling with eclipse and using command line prompt the code is compiling successfully
but gwt compilation just hanged with ant. It stuck while creating cache files.

<path id="project.class.path">
     <pathelement location="war/WEB-INF/classes"/>
     <pathelement location="${gwt.sdk}/gwt-user.jar"/>
     <fileset dir="${gwt.sdk}" includes="gwt-dev.jar"/>
     <!-- Add any additional non-server libs (such as JUnit) -->
    <fileset dir="war/WEB-INF/lib" includes="**/*.jar"/>
 <target name="gwtc" depends="javac" description="GWT compile to JavaScript (production mode)">
     <java failonerror="true" fork="true" classname="">
         <pathelement location="src"/>
         <path refid="project.class.path"/>
        <!-- <pathelement location="../../validation-api-1.0.0.GA.jar" />
         <pathelement location="../../validation-api-1.0.0.GA-sources.jar" /> -->
       <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError -->
       <jvmarg value="-Xmx512M"/>
       <!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
         <arg value="${gwt.args}"/>
   <arg value="DEBUG"/>
   <arg value="${}" />
   <arg value="-style" />
   <arg value="OBFUSCATED" />

Any help much appreciated.

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