I used the -extra extras when I compile gwt project but it does not
generate the properties file for me. The only properties generated
was UI binding properties. I think I don't quite understand how I use
the @generate annotation. I try to use @Generate as following code
but it fail compile. Thanks
@Generate(format = "com.google.gwt.i18n.rebind.format.Properties")
on
public interface ExampleConstants extends ConstantsWithLookup {
@DefaultStringValue("Address Line 2")
String addressLine2();
}
On Apr 12, 4:24 am, Thomas Broyer <[email protected]> wrote:
> When you compile your project, pass the -extra argument with a folder path
> (e.g. -extra extras), GWT will generate the *.properties there.
> You might have to add a few annotations to your interface though, such as @
> Generate<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/googl...>
> .
> See
> alsohttp://code.google.com/webtoolkit/doc/latest/DevGuideI18n.html#DevGui...
--
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.