Reviewers: bobv, jat,

Description:
This patch adds a new method to GeneratorContext that makes a new
ResourceOracle available specifically to generators.  This
ResourceOracle contains all of the resources on the classpath that are
associated with source files on the sourcepath.  Certain generators,
such as i18n, can use this to operate much more quickly than doing lots
of lookups through ClassLoader.getResourceAsStream().

Please review this at http://gwt-code-reviews.appspot.com/40801

Affected files:
   dev/core/src/com/google/gwt/core/ext/GeneratorContext.java
   dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
   dev/core/src/com/google/gwt/dev/resource/impl/ResourceOracleImpl.java
   dev/core/src/com/google/gwt/dev/shell/StandardGeneratorContext.java
   dev/core/test/com/google/gwt/dev/shell/StandardGeneratorContextTest.java
   user/src/com/google/gwt/i18n/rebind/CachedGeneratorContext.java



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

Reply via email to