Is it possible to specify another path than the classpath for the properties files of Vaadin MVP plugin?
My main objective is to try to decouple these properties files at e.g. live deployment of the product being developed.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The plugin uses
ResourceBundle.getBundle(baseName, locale)internally in theResourceBundleUiMessageSourceclass. This means that it only looks at the class path and you cannot specify arbitrary locations externally.However, all source code is included with the plugin, so you can extend it to use
PropertyResourceBundle. See this question for more details.