Tuesday, 13 August 2013

GWT-Maven only compile gwt.rpc

GWT-Maven only compile gwt.rpc

I have a situation where I am debugging via -noserver and it forces me to
recompile my gwt application everytime one of my RPC objects changes or I
get a serialization error (This is well described in the GWT documentation
and I understand why it is happening).
That being said, our project is getting quite big and the compile takes a
while to complete, which is slowing down our development process. I have
optimzed this as much as I can (Using -draftCompile, only doing a single
permutation, and skipping all tests) but it's still pretty slow and I have
a pretty beastly computer.
This led me to wonder if a better option here would be to get the compiler
to only output the necessary files to make serialization work correctly.
Anyone know if this is possible?
Thanks!

No comments:

Post a Comment