How can I know the path of my resource file. For example in my plugin skeleton I have a properties file such jtt.properties, when I upload this plugin to any jira instance, how can I know the path of my propertis file.
Thanks for help.
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.
From “Practical JIRA Plugins”, O’Reilly:
The full name of the properties file is the plugin src/main/resources directory plus the location value with periods replaced by directory separators and .properties appended,
i.e. src/main/resources/com/mycompany/jira/plugins/i18n/en_US.properties