[ https://issues.apache.org/jira/browse/SLING-8495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls resolved SLING-8495. ------------------------------- Resolution: Fixed Thanks [~krystian], I merged the PR. > Make FSClassLoader its cache location root directory configurable > ----------------------------------------------------------------- > > Key: SLING-8495 > URL: https://issues.apache.org/jira/browse/SLING-8495 > Project: Sling > Issue Type: Improvement > Components: Commons > Affects Versions: File System ClassLoader 1.0.10 > Reporter: Krystian Nowak > Assignee: Karl Pauls > Priority: Major > Fix For: File System ClassLoader 1.0.12 > > Time Spent: 20m > Remaining Estimate: 0h > > Currently FSClassLoader's cache location is on the bundle persistent storage > area. > In cases when it would make more sense to externalize it to a different > location, file system cache location root directory needs to be configurable. > For that > [https://github.com/apache/sling-org-apache-sling-commons-fsclassloader/blob/master/src/main/java/org/apache/sling/commons/fsclassloader/impl/FSClassLoaderProvider.java#L108] > needs to be made parametrized to have its "root" directory configurable. > Also: > * > [https://github.com/apache/sling-org-apache-sling-commons-fsclassloader/blob/master/src/main/java/org/apache/sling/commons/fsclassloader/impl/FSClassLoaderWebConsole.java#L95] > * > [https://github.com/apache/sling-org-apache-sling-commons-fsclassloader/blob/master/src/main/java/org/apache/sling/commons/fsclassloader/impl/FSClassLoaderMBeanImpl.java#L79] > * > [https://github.com/apache/sling-org-apache-sling-commons-fsclassloader/blob/master/src/main/java/org/apache/sling/commons/fsclassloader/impl/FSClassLoaderMBeanImpl.java#L109] > should be changed accordingly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)