You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2012/12/03 11:19:58 UTC
[jira] [Updated] (KARAF-2044) Provide the ability to edit text
resources from the Karaf shell
[ https://issues.apache.org/jira/browse/KARAF-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos updated KARAF-2044:
------------------------------------
Attachment: KARAF-2044.patch
I am attaching a really early draft of the implementation for anyone that's eager to try it out.
> Provide the ability to edit text resources from the Karaf shell
> ---------------------------------------------------------------
>
> Key: KARAF-2044
> URL: https://issues.apache.org/jira/browse/KARAF-2044
> Project: Karaf
> Issue Type: New Feature
> Components: karaf-shell
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 3.0.0
>
> Attachments: KARAF-2044.patch
>
>
> It would be awesome if we could edit text resources from inside the Karaf shell.
> Why?
> i) Because I won't have to quit the console, or open a new term/ssh session to modify the resource.
> ii) Editing config files via config:edit or jaas:manage, is workable but not perfect.
> iv) Configs are not only cfg files, in many cases we also have xml (jetty.xml, broker.xml, hazelcast.xml).
> iv) Integrating such feature with the url handlers would just rock (e.g. modify the content of cloud blob or a zookeeper znode, without having to manually copy the content locally edit and reupload).
>
> How?
> I haven't found so far a decent oss console based editor in java. So, our best bet is to integrate with console editors already present in the system (e.g. vi, nano, emacs, edit etc).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira