Niraj, you didn't mention the "-localWorkers" flag.   On a quad-core 
machine that reduced our compile time to about 1/3 of what it was (our 300s 
compile time became 100s).

Ryan

On Tuesday, September 4, 2012 1:10:19 AM UTC-5, Niraj Salot wrote:
>
> Hi Members,
>
> We are using GWT Version 2.4 in our current project. On server side, we 
> are using Spring & Custom JDBC framework.
>
> We are using Maven as our Build Tool. The application is getting deployed 
> on JBOSS 7 Server.
>
> Currently we have everything in one single Eclipse Project. Means one 
> Application.gwt.xml file and one ApplicationContext.xml for spring. We have 
> around 2000 Java files out of which around 1500 are for GWT related source 
> files.
>
> The project is still growing with more source files.
>
> We are fine with timings of Java to Javac [class file] Compilation time. 
> But when It comes to Java to JavaScript , It is a issue.
>
> We have used all hacks mentioned in the GWT Forum.
>
> Like.
>
>    1. Compiling for only one Local 
>    2. Compiling for only one Browser
>
> But still the compilation is taking 4-6 minutes.. OR even 7 minutes some 
> times.
>
> With this question, I would like to know the options available to improve 
> the same.
>
> We are thinking to Split the Project like this WAY:
>
>    - Module 1 (JAR Build) 
>    - Module 2 (JAR Build) 
>    - Module Main (WAR Build). This would contain Application.gwt.xml file 
>    which would inherit Module 1 & Module 2.
>
> Now Question comes:
>
> *1) Will this help us in Improving the compilation time?*
>
> *2) IF we change only Module 2 and then compile Module Main, will GWT 
> still compile Module 1 as it is inherited by Module Main?*
>
> Please share your views on above scenario. We have even tried out GWT 2.5 
> option but no help in performance improvements.
>
> Thanks, Niraj Salot.
>

-- 
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/-/6wcp0gRAmb4J.
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.

Reply via email to