protected void setConfiguration(ILaunchConfiguration config, String mode,
IProgressMonitor monitor)
- // protected void setConfigIfNotFromShortcut(ILaunchConfiguration config,
- // String mode, IProgressMonitor monitor)
throws CoreException {
installPackages(config, mode, monitor);
}
import org.tizen.nativecommon.launch.TizenLaunchMessages;
import org.tizen.nativeplatform.build.PlatformConfigurationManager;
import org.tizen.nativeplatform.launch.ITizenLaunchConfigurationConstants;
+import org.tizen.nativeplatform.launch.PlatformLaunchMessages;
import org.tizen.nativeplatform.launch.wizards.PlatformAttachLaunchWizard;
import org.tizen.nativeplatform.launch.wizards.PlatformLaunchUtils;
import org.tizen.nativeplatform.launch.wizards.PlatformLaunchWizardDialog;
DialogUtil.openErrorDialog(TizenLaunchMessages.CANNOT_CONNECT_TO_DEVICE);
return;
}
+ if (!device.isRoot()) {
+ DialogUtil.openErrorDialog(PlatformLaunchMessages.DEVICE_IS_NOT_ROOT_ON);
+ return;
+ }
if (elements != null && elements.length > 0) {
int nElements = elements.length;
import org.tizen.nativecommon.launch.TizenLaunchMessages;
import org.tizen.nativeplatform.build.PlatformConfigurationManager;
import org.tizen.nativeplatform.launch.ITizenLaunchConfigurationConstants;
+import org.tizen.nativeplatform.launch.PlatformLaunchMessages;
import org.tizen.nativeplatform.launch.wizards.PlatformLaunchUtils;
import org.tizen.nativeplatform.launch.wizards.PlatformLaunchWizard;
import org.tizen.nativeplatform.launch.wizards.PlatformLaunchWizardDialog;
DialogUtil.openErrorDialog(TizenLaunchMessages.CANNOT_CONNECT_TO_DEVICE);
return;
}
+ if (!device.isRoot()) {
+ DialogUtil.openErrorDialog(PlatformLaunchMessages.DEVICE_IS_NOT_ROOT_ON);
+ return;
+ }
if (elements != null && elements.length > 0) {
int nElements = elements.length;