import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.tizen.common.ui.view.console.ConsoleManager;
+import org.tizen.common.util.log.UserLogger;
import org.tizen.nativeplatform.pkg.commander.ICommandStatus;
import org.tizen.nativeplatform.pkg.commander.IPkgCommander;
import org.tizen.nativeplatform.pkg.model.Package;
import org.tizen.nativeplatform.repo.model.Repository;
import org.tizen.nativeplatform.types.PkgInstallTypes;
import org.tizen.nativeplatform.util.CharacterStripper;
+import org.tizen.nativeplatform.util.PlatformUserInteraction;
public abstract class RpmCommanderCommon implements IPkgCommander {
if (monitor != null) {
monitor.beginTask("", 1);
}
-
+ UserLogger.start(PlatformUserInteraction.COPY_PKG);
ICommandStatus status = copyFilesToTmpDir(files);
if (status == null) {
return null;
logger.error(status.getMessage(), status.getException());
return status;
}
+ UserLogger.end(PlatformUserInteraction.COPY_PKG);
List<String> value = status.getValues();
if (value != null && value.size() > 0) {
changeUpdateMode();
+ UserLogger.start(PlatformUserInteraction.INSTALL_PKG);
if (type == TOOL.RPM) {
String command = makeCommand(getResetRpmDb(),
RpmTool.installCommand(value.toArray(new String[0])));
status = execute(command, 50000, monitor);
}
}
+ UserLogger.end(PlatformUserInteraction.INSTALL_PKG);
}
if (monitor != null) {