I fixed my problems!!!!!!!!!!!!!!!!!!!!!!!! GWT change the Properties
class to com.google.gwt.i18n.rebind.format.PropertiesFormat. That is
why I cannot generate the properties file in the extras.  I think they
should change the documentation in the Java. :/  Thanks everybody for
your help! :)

On Apr 13, 9:23 am, Soon Fatt Hoo <[email protected]> wrote:
> The on is a typo. My code doesn't have the 'on'.  The error message
> is
>
> [ERROR] @Generate class com.google.gwt.i18n.rebind.format.Properties
> not found
>
> On Apr 13, 4:05 am, Martin Trummer <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > ? try to delete the line that says 'on'
> > if this doesn't help: what's the compiler error-message?
>
> > for more info on java-annotations 
> > see:http://download.oracle.com/javase/1.5.0/docs/guide/language/annotatio...
>
> > On Apr 12, 3:23 pm, Soon Fatt Hoo <[email protected]> wrote:
>
> > > 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.

Reply via email to