I’m developing a custom plugin which has a property file in it under
I would like to get the absolute path of this property file. This is only work for me locally.
When I upload the plugin jar to my jira test server, the path returned is just a relative path
/myPropertyFile.properties and it can’t locate the file.
Could someone tell me how I can get the absolute path of a file which works both locally and on a test server?