incubator-wave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank R." <renfeng...@gmail.com>
Subject Re: Setting up Wave for client development (my experience setting up on WindowsXP)
Date Thu, 05 Dec 2013 08:35:46 GMT
During development, you can reduce the time to compile greatly, 1/32 I
guess since there are 32 permutations. Please read this, Can I speed up the
GWT compiler? - GWT
Project<http://www.gwtproject.org/doc/latest/FAQ_DebuggingAndCompiling.html#Can_I_speed_up_the_GWT_compiler?>.
Please pay special attention to the following.

   - *Use <set-property> in the HelloFirefox module that explicitly sets a
   value for the user.agent client property. (See <define-property> in
   UserAgent.gwt.xml for the possible values.)*
   -
*You can do the same thing for locale or any other client property. *



On Thu, Dec 5, 2013 at 3:59 AM, Yuri Z <vega113@gmail.com> wrote:

> We have 32 GWT permutations the moment, we used to have only 4... Some last
> changes caused this increase... We need to be more cautious about updating
> GWT client code.
> I tried
> ant clean dist-server compile-gwt test
> It took me about 16 minutes. If you tried the default target which also
> includes running tests then it could take about 6 minutes more.
> So max 21 minutes on 2-core laptop. This is for the full prod build, if you
> run the server from compiled source with dev GWT setting(only 2
> permutations) then it takes only a few minutes, or even less.
>
> Basically running wave is simple like:
>
> git clone git://git.apache.org/wave.git wave
> cd wave
> cp server.config.example server.config
> ant dist-server compile-gwt run-server
> Open the browser at http://localhost:9898
>
>
> On Wed, Dec 4, 2013 at 9:40 PM, Ali Lown <ali@lown.me.uk> wrote:
>
> > > "BUILD SUCCESSFUL
> > > Total time: 312 minutes 41 seconds"
> >
> > Err.. it takes ~5 minutes on my dev machine! Is this a single core vm,
> > doing lots of swapping, and with shared io?
> >
> > > Suggestion;
> > > Would it be possible to have a virtual machine with everything set up
> > > already? or is there technical/license reasons for that to be
> unsuitable?
> >
> > I suspect this would be difficult. (And you don't really want to be in a
> > VM).
> >
> > > Query:
> > > Can Wave be updated to JDK7? is there big issues holding it back ? Or
> is
> > > there more open alternatives we can use instead - one that doesn't
> > require
> > > handing over personal details to a company?
> >
> > (OpenJDK 1.6 works fine, so...)
> >
> > This is quite difficult to do for the codebase. You would also need to
> > upgrade all the third-party components.
> >
> > Please continue to provide feedback.
> >
> > Thanks.
> > Ali
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message