Monday, November 23, 2015

Need clarity on permutation generation

#GWT #Permutation
Did simple permutation test on gwt.xml file in GWT 2.7.0

<module rename-to='permutationtest'>
<inherits name="com.google.gwt.core.Core"/>
<entry-point class='test.client.PermutationTest' />
<source path='client' />
<collapse-property name="user.agent" values="*" />
</module>


gives 3 permutations. When I dive into the nocache.js file to find how permutations were classified. To my surprise, its based on user.agent. "safari & gecko" , " ie9&ie10" and "ie8" permutation an each. Why is linker generate 3 permutations based on user.agent when the collapse-property specifies generate one permutation for all user.agents.

But when <collapse-all-properties> is specified, linker generate only one permutation.

What's the catch?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment