1<module> 2<source path=""> 3 <!-- Hack to keep collect from hiding collect.testing supersource: --> 4 <exclude name="**/testing/**"/> 5</source> 6 7<!-- 8 We used to set this only for packages that had manual supersource. That 9 worked everywhere that I know of except for one place: when running the GWT 10 util.concurrent tests under Guava. 11 12 The problem is that GWT responds poorly to two .gwt.xml files in the same 13 Java package; see https://goo.gl/pRV3Yn for details. 14 15 The summary is that it ignores one file in favor of the other. 16 util.concurrent, like nearly all our packages, has two .gwt.xml files: one 17 for prod and one for tests. However, unlike our other packages, as of this 18 writing it has test supersource but no prod supersource. 19 20 GWT happens to use the prod .gwt.xml, so it looks for no supersource for 21 tests, either. This causes it to fail to find AtomicLongMapTest. 22 23 Our workaround is to tell GWT that util.concurrent and all other packages 24 have prod supersource, even if they have none. GWT is happy to ignore us 25 when we specify a nonexistent path. 26 27 (I hope that this workaround does not cause its own problems in the future.) 28--> 29<super-source path="super"/> 30 31<inherits name="com.google.common.annotations.Annotations" /> 32<inherits name="com.google.common.base.Base" /> 33<inherits name="com.google.common.collect.Collect" /> 34<inherits name="com.google.common.primitives.Primitives" /> 35<inherits name="com.google.common.testing.Testing" /> 36<inherits name="com.google.gwt.core.Core" /> 37<inherits name="com.google.gwt.junit.JUnit" /> 38<inherits name="com.google.gwt.user.User" /> 39</module> 40