GWT 2.8.2 compilation hanged while compiling using ant

215 views
Skip to first unread message

Pallavi Bhole

unread,
Jul 16, 2019, 2:05:16 AM7/16/19
to GWT Users
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"/>
   </path>
 
 <target name="gwtc" depends="javac" description="GWT compile to JavaScript (production mode)">
     <java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler">
       <classpath>
         <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" /> -->
       </classpath>
       <!-- 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="${gwt.module.id}" />
   <arg value="-style" />
   <arg value="OBFUSCATED" />
     </java>
   </target>

Any help much appreciated.

Reply all
Reply to author
Forward
0 new messages