Since upgrading to 2.0, I can no longe compile my i18n files as well.
The compiler complains for a missing key, although the interface/
properties files have not been altered and have worked under 1.5/1.6
and the latest 1.7.1 version. I basically cannot compile my app with
2.0.
Here is the error from the compiler:
Compiling module my.package.gwt.Main
Scanning for additional dependencies: file:/my/path/my/package/util/
Constants.java
Computing all possible rebind results for
'my.package.gwt.i18n.Messages'
Rebinding my.package.gwt.i18n.Messages
Invoking
com.google.gwt.dev.javac.StandardGeneratorContext@3b776b
Processing interface my.package.gwt.i18n.Messages
Generating method body for enterprise()
[ERROR] No resource found for key 'enterprise'
com.google.gwt.i18n.rebind.AbstractResource$MissingResourceException:
No resource found for key 'enterprise'
at com.google.gwt.i18n.rebind.AbstractResource
$ResourceList.getRequiredStringExt(AbstractResource.java:246)
at com.google.gwt.i18n.rebind.SimpleValueMethodCreator.createMethodFor
(SimpleValueMethodCreator.java:95)
at
com.google.gwt.i18n.rebind.AbstractLocalizableImplCreator.delegateToCreator
(AbstractLocalizableImplCreator.java:313)
at com.google.gwt.i18n.rebind.ConstantsImplCreator.emitMethodBody
(ConstantsImplCreator.java:163)
at com.google.gwt.user.rebind.AbstractGeneratorClassCreator.genMethod
(AbstractGeneratorClassCreator.java:265)
at
com.google.gwt.user.rebind.AbstractGeneratorClassCreator.emitMethods
(AbstractGeneratorClassCreator.java:233)
at com.google.gwt.user.rebind.AbstractGeneratorClassCreator.emitClass
(AbstractGeneratorClassCreator.java:116)
at
com.google.gwt.i18n.rebind.AbstractLocalizableImplCreator.generateConstantOrMessageClass
(AbstractLocalizableImplCreator.java:133)
at com.google.gwt.i18n.rebind.LocalizableGenerator.generate
(LocalizableGenerator.java:121)
at com.google.gwt.i18n.rebind.LocalizableGenerator.generate
(LocalizableGenerator.java:98)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator
(StandardGeneratorContext.java:418)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize
(RuleGenerateWith.java:38)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind
(StandardRebindOracle.java:108)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind
(StandardRebindOracle.java:54)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind
(StandardRebindOracle.java:154)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind
(StandardRebindOracle.java:143)
at com.google.gwt.dev.Precompile
$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers
(Precompile.java:317)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds
(WebModeCompilerFrontEnd.java:95)
[WARN] Searched the following resources:
[WARN] For the following type(s), generated source was never
committed (did you forget to call commit()?)
[WARN] my.package.gwt.i18n.Messages_
[ERROR] Errors in 'file:/my/path/my/package/util/Constants.java'
[ERROR] Line 20: Failed to resolve
'my.package.gwt.i18n.Messages' via deferred binding