I have a GWT application currently made with GWT 1.4 something. now I
upgraded to GWT 1.5.2 and I get many warnings about deprecated
annotations for the internationalization.

[TRACE] Checking for deprecated metadata
[WARN] Deprecated metadata found on Intl.addRSSInstructions;svn use
annotations instead

after that I tried to change the annotation from:
/**
 * @gwt.key Tooltip.addRSSInstructions
 */
String addRSSInstructions();

to:

/**
 * @Key(Tooltip.addRSSInstructions)
*/
String addRSSInstructions();

which gave me this error:
[TRACE] Generating method body for addRSSInstructions()
[ERROR] No resource found for key 'addRSSInstructions'
com.google.gwt.i18n.rebind.AbstractResource$MissingResourceException:
No resource found for key 'addRSSInstructions'
        at com.google.gwt.i18n.rebind.AbstractResource
$ResourceList.getRequiredStringExt(AbstractResource.java:206)
........

Although the key exists in the *.properties file for the translations.
I actually tried through different forms but none of them worked:
@Key(addRSSInstructions)
@Key(Tooltip)
@Key Tooltip.addRSSInstructions
@Key addRSSInstructions
@Key Tooltip

does anyone have a hint for me how to make this work?
thanks in advance.
dominik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to