I\'m trying to get the constants (ConstantsWithLookup) stored in the client side in my server side, but it can\'t figure out how to do it. I have my constants interface and
I'm using Hermes with GWT 2.5.0.rc1, and it works fine. Usage:
MyConstantsWithLookup my = Hermes.get(MyConstantsWithLookup.class, "de");
String string = my.getString(key);
MyConstantsWithLookup.properties
must exist in the same package as MyConstantsWithLookup.java
, even if that properties file is empty (which might be the case if you're using @DefaultStringValue etc.)MyConstantsWithLookup_de.properties
etc.