You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Shawn Jiang <ge...@gmail.com> on 2011/02/18 04:34:28 UTC
Do we want to pull karaf dev:xxx command in geronimo ?
I just found there are some diagnose command in karaf. Some of them are
quite useful. Do we want to add the module to geronimo ?
Karaf_SRC\shell\dev\src\main\resources\OSGI-INF\blueprint\shell-dev.xml
<command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.0.0">
<command name="dev/show-tree">
<action class="org.apache.karaf.shell.dev.ShowBundleTree"/>
</command>
<command name="dev/framework">
<action class="org.apache.karaf.shell.dev.FrameworkOptions" />
</command>
<command name="dev/dynamic-import">
<action class="org.apache.karaf.shell.dev.DynamicImport" />
</command>
<command name="dev/print-stack-traces">
<action class="org.apache.karaf.shell.dev.PrintStackTraces" />
</command>
<command name="dev/restart">
<action class="org.apache.karaf.shell.dev.Restart" />
</command>
</command-bundle>
--
Shawn
Re: Do we want to pull karaf dev:xxx command in geronimo ?
Posted by Kevan Miller <ke...@gmail.com>.
On Feb 17, 2011, at 10:34 PM, Shawn Jiang wrote:
> I just found there are some diagnose command in karaf. Some of them are quite useful. Do we want to add the module to geronimo ?
>
> Karaf_SRC\shell\dev\src\main\resources\OSGI-INF\blueprint\shell-dev.xml
>
> <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.0.0">
> <command name="dev/show-tree">
> <action class="org.apache.karaf.shell.dev.ShowBundleTree"/>
> </command>
> <command name="dev/framework">
> <action class="org.apache.karaf.shell.dev.FrameworkOptions" />
> </command>
> <command name="dev/dynamic-import">
> <action class="org.apache.karaf.shell.dev.DynamicImport" />
> </command>
> <command name="dev/print-stack-traces">
> <action class="org.apache.karaf.shell.dev.PrintStackTraces" />
> </command>
> <command name="dev/restart">
> <action class="org.apache.karaf.shell.dev.Restart" />
> </command>
> </command-bundle>
Yes. Jarek told me about those commands, last week. I've found dev:show-tree to be useful.
My question is who needs the commands? Users or geronimo developers? Personally, installing and starting the resulting bundle is not a big hardship:
> install http://repo2.maven.org/maven2/org/apache/karaf/shell/org.apache.karaf.shell.dev/2.1.3/org.apache.karaf.shell.dev-2.1.3.jar
> start xxx
--kevan