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.standardgeneratorcont...@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)
        at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.process(AbstractCompiler.java:200)
        at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:
444)
        at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:123)
        at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox
$CompilerImpl.compile(AbstractCompiler.java:234)
        at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access
$200(AbstractCompiler.java:109)
        at com.google.gwt.dev.jdt.AbstractCompiler.compile
(AbstractCompiler.java:522)
        at
com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations
(BasicWebModeCompiler.java:112)
        at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations
(WebModeCompilerFrontEnd.java:47)
        at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
(JavaToJavaScriptCompiler.java:421)
        at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile
(JavaScriptCompiler.java:32)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:522)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
        at com.google.gwt.dev.Compiler.run(Compiler.java:201)
        at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
        at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
87)
        at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:81)
        at com.google.gwt.dev.Compiler.main(Compiler.java:159)
                     [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

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to