Hi all, Following the documentation at:
http://karaf.apache.org/manual/latest-2.2.x/developers-guide/shell-syntax.html I'm trying to access System.currentTimeMillis in order to get a timestamp for a script execution time. Neither addcomand nor loadClass are available in my system (servicemix). I've walked the mailing list archive without much success. Are they removed from karaf or maybe it is a servicemix thing? I've found this issue: https://issues.apache.org/jira/browse/FELIX-1473 But it is hard from me to deduce syntax and behaviour from there. I got until here, but I don't really understand the error: OpenNaaS>system = <java.lang.System> <java.lang.System> OpenNaaS>$system currentTimeMilis Error executing command: Cannot coerce currenttimemilis() to any of [] OpenNaaS>$system . currentTimeMilis Error executing command: Cannot coerce currenttimemilis() to any of [] OpenNaaS>$system currentTimeMilis() Error executing command: Cannot coerce currenttimemilis()() to any of [] Any hints? Best regards, Pau