Revision: 6835
Author: [email protected]
Date: Wed Nov 11 07:10:41 2009
Log: r6834 broke the -gen option since GeneratedUnitWithFile delegates to  
its supertype, which always requires the DiskCache to be available.

Patch by: bobv
Review by: scottb (TBR)
http://code.google.com/p/google-web-toolkit/source/detail?r=6835

Modified:
  /trunk/dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java

=======================================
---  
/trunk/dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java      
 
Tue Nov 10 20:42:30 2009
+++  
/trunk/dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java      
 
Wed Nov 11 07:10:41 2009
@@ -242,7 +242,7 @@
      this.genDir = genDir;
      this.generatorResourcesDir = generatorResourcesDir;
      this.allGeneratedArtifacts = allGeneratedArtifacts;
-    if (genDir == null && diskCache == null) {
+    if (diskCache == null) {
        diskCache = new DiskCache();
      }
    }

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to