Talk:I18n

From OpenI Wiki

(Redirected from Talk:Main Page)


unit testing - resource bundle locations

When I run unit tests, the resource bundles are sometimes needed. They are currently located in web/WEB-INF/classes/org/openi.

I will move these to src/org/openi/ and adjust the build. In fact everything in web/WEB-INF/classes needs to be moved to src/

I would put this on sf.net forum, but they are down right now.

web/WEB-INF/classes/springapp-views.properties
web/WEB-INF/classes/messages.properties
web/WEB-INF/classes/log4j.properties
web/WEB-INF/classes/org/openi/toolbar/resources.properties
web/WEB-INF/classes/org/openi/userguide_es.properties
web/WEB-INF/classes/org/openi/labels_es.properties
web/WEB-INF/classes/org/openi/userguide.properties
web/WEB-INF/classes/org/openi/labels_en.properties

now lives in

./src/springapp-views.properties
./src/messages.properties
./src/log4j.properties
./src/org/openi/toolbar/resources.properties
./src/org/openi/userguide_es.properties
./src/org/openi/labels_es.properties
./src/org/openi/userguide.properties
./src/org/openi/labels_en.properties

The build could already handle copying these files and making them part of the openi.war