The offending message in Messages.properties looks like this:
widget_recordEditor_info_recordsDeletedConcise = {0,number,integer}
{1} deleted.
And here's the output from the gwt compiler:
[INFO] Compiling module org.rhq.enterprise.gui.coregui.CoreGUI
[INFO] Scanning for additional dependencies: file:/home/ips/
Projects/rhq/modules/enterprise/gui/coregui/src/main/java/org/rhq/
enterprise/gui/coregui/client/CoreGUI.java
[INFO] Computing all possible rebind results for
'org.rhq.enterprise.gui.coregui.client.Messages'
[INFO] Rebinding
org.rhq.enterprise.gui.coregui.client.Messages
[INFO] Invoking
com.google.gwt.dev.javac.standardgeneratorcont...@447bc5da
[INFO] Processing interface
org.rhq.enterprise.gui.coregui.client.Messages
[INFO] Generating method body for
widget_recordEditor_info_recordsDeletedConcise()
[INFO] [ERROR] Illegal argument type for number
format
[INFO] [ERROR] Errors in 'file:/home/ips/Projects/rhq/modules/
enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/
client/CoreGUI.java'
[INFO] [ERROR] Line 129: Failed to resolve
'org.rhq.enterprise.gui.coregui.client.Messages' via deferred binding
I have tried a bunch of other variations too (e.g. {0,number,#,##0})
to no avail. Is there any way to specify a message parameter is an
integer for formatting purposes (and so the generated method takes an
int, rather than String, parameter), or is it just not possible? I'm
using gwt 2.0.4 and the gwt maven plugin to invoke the gwt compiler.
Thanks,
Ian
--
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.