GWT has a feature called "super source" which allows you to override 
existing source files with your own implementation. GWT itself uses this 
technique to emulate JRE classes and you can use that technique as well to 
emulate additional classes.

Take a look at 
http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml
 
and scroll a little down until you see the headline "Overriding one package 
implementation with another" to get a short description of "super source".

All JRE classes emulated by GWT can be found in 
https://github.com/gwtproject/gwt/tree/master/user/super/com/google/gwt/emul 
and when you look at 
https://github.com/gwtproject/gwt/blob/master/user/super/com/google/gwt/emul/Emulation.gwt.xml
 
you can see the <super-source /> tag. This tag does not set a path 
attribute which means that the whole folder which contains the 
Emulation.gwt.xml file should be treated as super source.


-- J.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to