private final static String log_suffix = File.separator +"logs";
private final static String x86_kernel_suffix = File.separator +"kernel-img";
private final static String skin_suffix = File.separator + "skins";
-
+ private final static String arch_extension = ".x86";
private static String currentPath;
private static String emulatorPath;
private static String sdkPath;
public String getVirtualTargetPath(String name) {
return getTizenVmsArchPath() + File.separator + name;
}
+
+ public String getVirtualTargetImagePath(String name) {
+ return getTizenVmsArchPath() + File.separator + name + File.separator + "emulimg-" + name + arch_extension;
+ }
public String getVirtualTargetLogPath(String name) {
return getVirtualTargetPath(name) + log_suffix;
if(!vmprocess.checkIfRunning(property))
{
MessageBox alert = new MessageBox(shell, SWT.OK);
- alert.setMessage("Can not execute emulator.\n Emulator instance with the same name is running now.");
+ alert.setMessage("Can not execute emulator.\nEmulator instance with the same name is running now.");
alert.open();
return;
}
if(isLinux > -1) {
while ((line = stdOut.readLine()) != null) {
- if(line.contains(FileIO.getInstance().getVirtualTargetPath(property.getName()))) {
- //System.out.println("exist in"+ line);
+ if(line.contains(FileIO.getInstance().getVirtualTargetImagePath(property.getName()))) {
+ //System.out.println("exist in "+ line);
stdOut.close();
return false;
}