GWT module definitions (.gwt.xml) files allow to specify fine-grained rules which files in a project are to be converted and which files should not. The rules are based on Ant patterns, which can be difficult to wrap one’s head around. Below are a few handy examples.
Exclude all files in packages with the name ‘/jre/’
<source path='' > <exclude name="**/jre/**" /> </source>
Exclude the file ‘ForJre.java’:
<source path='' > <exclude name="**/ForJre.java" /> </source>