alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (Collect.gwt.xml)

This example Java source code file (Collect.gwt.xml) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

atomiclongmaptest, guava, gwt, hack, java, our, that, the, this

The Collect.gwt.xml Java example source code

<?xml version="1.0" encoding="utf-8"?>
<!-- semi-autogenerated module descriptor -->
<module>
   
  <source path="">
     
    <!-- Hack to keep collect from hiding collect.testing supersource: -->
     
    <exclude name="**/testing/**"/>
     
  </source>
    
  <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package: http://goo.gl/CO7dLB The summary is that it ignores one file in favor of the other. util.concurrent, like nearly all our packages, has two .gwt.xml files: one for prod and one for tests. util.concurrent, unlike our other packages, has, as of this writing, test supersource but no prod supersource. GWT happens to use the prod .gwt.xml, so it looks for no supersource for tests, either. This causes it to fail to find AtomicLongMapTest. Our workaround is to tell GWT that util.concurrent and all other packages have prod supersource, even if they have none. GWT is happy to ignore us when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) -->
   
  <super-source path="super"/>
   
  <inherits name="com.google.gwt.user.User"/>
   
  <inherits name="com.google.common.annotations.Annotations"/>
   
  <inherits name="com.google.common.base.Base"/>
   
  <inherits name="com.google.common.math.Math"/>
   
  <inherits name="com.google.common.primitives.Primitives"/>
   
  <inherits name="java.lang.Lang"/>
   
  <inherits name="java.util.Util"/>
     
  <inherits name="com.google.gwt.core.Core"/>
   
</module>

Other Java examples (source code examples)

Here is a short list of links related to this Java Collect.gwt.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.