karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " Jean-Baptiste Onofré" ...@nanthrax.net>
Subject Re: Discover Karaf version
Date Thu, 07 Jul 2011 13:26:15 GMT
Easier, just type:

karaf@root> info
Karaf
  Karaf version               2.2.2

or with grepping:

karaf@root> info | grep "Karaf version"

Regards
JB

On Thu 07/07/11 15:16 , chicagozer  wrote::

Hi, is the same possible with the console? I tried

karaf@root> addcommand system (loadClass java.lang.System)
karaf@root> system:getproperties

but the loadClass statement threw an exception. I have not been able to find
much information about using reflection in the console.

Thanks!!

Jim

--
View this message in context: http://karaf.922171.n3.nabble.com/Discover-Karaf-version-tp3122975p3148153.html
Sent from the Karaf - User mailing list archive at Nabble.com.




Mime
View raw message