Loading
GWTC with ANT

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  How to do GWTC with ANT ?


Ans)

 

<target name="gwtc" depends="compile,server-jar" description="GWT compile to JavaScript">
  <java failonerror="true" fork="true" classname="com.google.gwt.dev.Compiler">
   <classpath>
    <pathelement location="../gwt/src/main/java"/>
    <pathelement path="src/main/java" />
    <path refid="project.class.path" />
   </classpath>
   <jvmarg value="-Xmx256M" />
   <arg value="com.test.gwt" />
  </java>
  <copy todir="../../../web/gwt/">
   <fileset dir="war/"/>
  </copy>
  <zip destfile="../../../web/WEB-INF/lib/gwt.jar">
   <fileset dir="war/WEB-INF/classes"  includes="**/*.class,**/*.xml" />
  </zip>
 </target>



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

GWTC with ANT


GWTC with ANT

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free