Details
-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
%
Description
In the non-Fabric patch service, the local repository path is determined using this snippet of code:
File localRepoPath = new File(System.getProperty("karaf.base"), "system");
There are two problems with this:
- the repository path should start at karaf.home instead of karaf.base since it is shared between a container an its child instances
- the system part is hard-coded, but it can actually be configured through the karaf.default.repository system property so we should use that instead