Have you considered using a SSD instead of a HD? I've cut my compile times dramatically that way.
On Thu, Sep 6, 2012 at 12:08 PM, Chak Lai <[email protected]> wrote: > Instead of compiling one permutation at a time, there is an option to > compile multiple permutations at the same time by mutli-process. > > Here is the parameter I used in the Ant build.xml file (sorry, I don't use > maven), all you needed to add -localWorkers within gwtc target tag: > > <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="C:/gwt-2.5.0.rc1/validation-api-1.0.0.GA.jar" /> > <pathelement > location="C:/gwt-2.5.0.rc1/validation-api-1.0.0.GA-sources.jar" /> > </classpath> > <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError --> > <!-- <jvmarg value="-Xmx256M"/> --> > <jvmarg value="-Xmx1024M" /> > <arg line="-war" /> > <arg value="war" /> > <!-- Additional arguments like -style PRETTY or -logLevel DEBUG --> > <arg line="${gwt.args}" /> > > <!-- Number of process to compile --> > <arg value="-localWorkers" /> > <arg value="2" /> > > <arg value="-optimize" /> > <arg value="9" /> > > <arg value="-strict" /> > > <!-- <arg value="-XenableClosureCompiler" /> --> > > <arg value="mta.itrac.Itrac" /> > </java> > </target> > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/hhytunHdDYsJ. > > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- -- A. Stevko =========== "If everything seems under control, you're just not going fast enough." M. Andretti -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
