entaxy:update-get = { karafRoot = ((($.context bundle) loadClass java.lang.System) getProperty 'karaf.home') cd $karafRoot source scripts/update/update-get $args } entaxy:update-prepare = { karafRoot = ((($.context bundle) loadClass java.lang.System) getProperty 'karaf.home') cd $karafRoot source scripts/update/update-prepare $args } entaxy:update-info = { karafRoot = ((($.context bundle) loadClass java.lang.System) getProperty 'karaf.home') cd $karafRoot source scripts/update/update-info $args } entaxy:update-list = { karafRoot = ((($.context bundle) loadClass java.lang.System) getProperty 'karaf.home') cd $karafRoot source scripts/update/update-list $args } entaxy:update-install = { karafRoot = ((($.context bundle) loadClass java.lang.System) getProperty 'karaf.home') cd $karafRoot __ORIGIN_ARGS__ = "${args}" source scripts/update/update-install $args } __get_loaded_updates = { list = [] fsref = ($.context getServiceReference org.apache.karaf.features.FeaturesService) fs = ($.context getService $fsref) _features = ($fs getFeatures "entaxy-update-configuration") each $_features { $list add ($it getVersion) } $.context ungetService $fsref $list } complete -c entaxy:update-prepare -e complete -c entaxy:update-prepare -d "Prepare update for installation" complete -c entaxy:update-prepare -a '__get_loaded_updates'