[ 
https://issues.apache.org/jira/browse/SLING-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057505#comment-13057505
 ] 

Justin Edelson commented on SLING-2089:
---------------------------------------

Carsten - I'm not sure what your actual concern is about this method. 
SlingSettingService already has getSlingHome and getSlingHomeURL methods. The 
purpose of this new method is just to make using those existing methods easier. 
I'm happy to roll this change back, but I don't think that's going to stop 
people from putting state in the file system directly :)

We should set a good example in the Sling project and use methods like this 
judiciously and prefer the use of repository-based or bundle data where it 
makes sense.

> 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

        

Reply via email to