The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Can a properties file be shared among v2 custom plugins? If so, where should the properties file be placed and how do I access it from the plugin code?
Community moderators have prevented the ability to post new answers.
If the property file is something that needs to be retained for an upgrade, it is better to go into the home directory.
You should be able to add property files in WEB-INF/classes folder and access it like this.
InputStream iStream = ClassLoaderUtils.getResourceAsStream("xx.properties", this.getClass()); .... p = new Properties(); p.load(iStream);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are sharing mini new cloud roundups by use case to celebrate the Atlassian Marketplace's 10th Anniversary! This mini roundup is the fourth in a series of six. Check out others in the series based ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.