[
https://issues.apache.org/jira/browse/KARAF-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900676#action_12900676
]
Oliver Deak commented on KARAF-143:
-----------------------------------
As for Utils.getKarafDirectory(), a simple fix would be to just do "new
File(path)" if validate == false for both the system property and env variable
cases. Other than that I don't see much use in the case "validate == false &&
create == true"...
> Setting "karaf.instances" system property has no effect
> -------------------------------------------------------
>
> Key: KARAF-143
> URL: https://issues.apache.org/jira/browse/KARAF-143
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Oliver Deak
> Priority: Minor
> Fix For: 2.2.0
>
> Attachments: KARAF-143.patch
>
>
> I'm trying to separate the static files from the dynamic ones in a karaf
> deployment but setting the "karaf.instances" system property is ignored
> (karaf 2.0.0).
> This is because in Main.java on line 191, validate=false when calling
> Utils.getKarafDirectory(...) so it always revert to the default
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.