GWT 2.5, -compileReport and closure compiler

385 views
Skip to first unread message

Stefano Ciccarelli

unread,
Jul 2, 2012, 10:25:55 AM7/2/12
to google-we...@googlegroups.com
I've noticed that if I enable the closure compiler the -compileReport flag is totaly ignored and the soycReport in the extra folder is missing.

Someone has a workaround?

--
Nel mondo esistono 10 categorie di persone, quelle che capiscono il binario e quelle che non lo capiscono.

Jens

unread,
Jul 2, 2012, 12:13:29 PM7/2/12
to google-we...@googlegroups.com
I've noticed that if I enable the closure compiler the -compileReport flag is totaly ignored and the soycReport in the extra folder is missing.

Someone has a workaround?

Not yet, but you can compile once without closure compiler to see whats going on during compile and then compile it again with closure compiler and check the generated files to see size differences: 

- war/<permutation strong name>.html
- war/<modulename>/deferredjs/<permutation strong name>/<splitpoint>.cache.js (one of these files is the left over fragment..it should be the one with the highest number that does not match any split point number)

Also when you use -XfragmentMerge for the new code split algorithm it seems like the compile report shows 0 bytes for left over fragment which is clearly wrong (at least in our case here). So don't jump up and be happy if you see 0 bytes for left over ;-)

-- J.

Stefano Ciccarelli

unread,
Jul 2, 2012, 12:20:30 PM7/2/12
to google-we...@googlegroups.com
Thanks!

And about the -XfragmentMerge I was jumping! :D


2012/7/2 Jens <jens.ne...@gmail.com>

-- J.

--
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/-/ZBxB_-v72MkJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Johannes Barop

unread,
Jul 3, 2012, 1:49:56 AM7/3/12
to google-we...@googlegroups.com
http://code.google.com/p/google-web-toolkit/issues/detail?id=7475
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
Reply all
Reply to author
Forward
0 new messages