karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioannis Canellos (JIRA)" <j...@apache.org>
Subject [jira] Updated: (KARAF-167) Creating a new config using the shell commands lead to a FileNotFoundException instead of the file being created
Date Thu, 26 Aug 2010 08:43:57 GMT

     [ 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:
karaf@root> config:edit my.non.existent.file
karaf@root> config:propset key value
karaf@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.


Mime
View raw message