[Title]fix baseimage path when has argument
authormunkyu.im <munkyu.im@samsung.com>
Sun, 18 Mar 2012 12:20:45 +0000 (21:20 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Sun, 18 Mar 2012 12:20:45 +0000 (21:20 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

src/org/tizen/emulator/manager/tool/FileIO.java

index ea434f3..2811399 100644 (file)
@@ -4,6 +4,7 @@ import java.io.File;
 import java.net.URISyntaxException;
 
 import org.tizen.emulator.manager.EmulatorManager;
+import org.tizen.emulator.manager.vms.EmulatorVMs;
 
 public class FileIO {
        private final static String arch_suffix = File.separator +"x86";
@@ -74,7 +75,7 @@ public class FileIO {
                
                x86KernelPath = dataPath + x86_kernel_suffix;
                biosPath = dataPath + bios_suffix;
-               vmsPath = System.getProperty("user.home") + vms_suffix;
+               vmsPath = EmulatorVMs.getInstance().getVMsBaseDirectory();
                vmsArchPath = vmsPath + arch_suffix;
                //testPrintPath();
        }