[
https://issues.apache.org/jira/browse/KARAF-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet updated KARAF-2044:
-----------------------------------
Fix Version/s: 2.4.0
> 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: 2.4.0, 3.0.0
>
> Attachments: KARAF-2044-2.patch, KARAF-2044-karaf_2_3_x.patch,
> KARAF-2044-karaf_trunk.patch, KARAF-20441.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 was sent by Atlassian JIRA
(v6.1.4#6159)