[ https://issues.apache.org/jira/browse/SLING-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055522#comment-13055522 ]
Carsten Ziegeler commented on SLING-2089: ----------------------------------------- Other bundles like the ConfigAdmin or the OSGi installer use a bundle property, e.g. we have in sling.properties: felix.cm.dir = ${sling.home}/config sling.installer.dir = ${sling.home}/installer If the property is available the path is used, if not something inside the bundle data file is created. > add a getAbsolutePath(String) method to SlingSettingsService > ------------------------------------------------------------ > > Key: SLING-2089 > URL: https://issues.apache.org/jira/browse/SLING-2089 > Project: Sling > Issue Type: Improvement > Components: Extensions > Reporter: Justin Edelson > Assignee: Justin Edelson > Fix For: Extensions Settings 1.0.4 > > > We should encourage developers to put state under ${sling.home}. Although > there's already a method which can get the sling home path, we can make it > even easier by adding a method getAbsolutePath(String) in > SlingSettingsService. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira