By this link, it seems to me that to use karaf command while using Eclipse,
we may need to start OH2 running instance outside Eclipse.
To start to start OH2 running instance outside Eclipse, for SNAPSHOT version, we can just type in
$./start.sh or $./start_debug.sh
However, in openhab-distro, which is part of the OH2 Eclipse IDE set up,
it seems I can not start OH2 running instance by a command like OH2 snapshot. For now I can only start it within Eclipse.
Can somebody shed some light whether it is possible to do this?
If so, then I can attach the running OH2 instance from Eclipse, as the link above described.
Thank you very much.