[
https://issues.apache.org/jira/browse/KARAF-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ioannis Canellos updated KARAF-167:
-----------------------------------
Attachment: KARAF-167.patch
I am attaching a patch that changes org.apache.karaf.shell.config.Properties,
so that it does not attempt to load non existent files. Also it adds 2 null
checks when retrieving Layouts.
This way a user can create a new config, like this:
ka...@root> config:edit my.non.existent.file
ka...@root> config:propset key value
ka...@root> config:update
and the file is created.
I hope this is enough
> Creating a new config using the shell commands lead to a
> FileNotFoundException instead of the file being created
> ----------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-167
> URL: https://issues.apache.org/jira/browse/KARAF-167
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Guillaume Nodet
> Attachments: KARAF-167.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.