It would be helpful to see which permutation is being downloaded by
the browser. Is there a way to determine *at runtime* which
permutation (or at least which browser permutation) is being used?
It would be fine if extra work is needed during the build to generate
this information. Perhaps there is some sort of trigger/event at the
start of each permutation's compilation? Any ideas?
Cheers,
Hilco
Thank you.
Unfortunately, this gives me: F0A79CA92B424357F8F0A6170AD004B9. Is
there a way to turn this into something readable?
<replace-with class="com.whatever.MyClassImplIE6">
<when-type-is class="com.whatever.MyClass"/>
<when-property-is name="user.agent" value="ie6" />
</replace-with>
<replace-with class="com.whatever.MyClassImplIE8">
<when-type-is class="com.whatever.MyClass"/>
<when-property-is name="user.agent" value="ie8" />
</replace-with>
etc
and then
MyClass thing = GWT.create(MyClass.class);
You can put whatever you want into MyClass, and into its subclasses so you can get whatever you need at runtime, but have the real work done at compile time.
Paul