From 4687b295eb2c933a7171283d53b3ce184cf6c5dc Mon Sep 17 00:00:00 2001 From: "yongsung1.kim" Date: Wed, 5 Jun 2013 21:26:08 +0900 Subject: [PATCH] [Title] Modify default SDK data path on windows.(c:\\tizen-sdk-data) [Desc.] [Issue] Change-Id: Ib0f5b4f6679de531707523232e3c17921f3d5c02 --- .../org/tizen/installmanager/ui/page/SetInstallDirectoryPage.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/InstallManager_java/src/org/tizen/installmanager/ui/page/SetInstallDirectoryPage.java b/InstallManager_java/src/org/tizen/installmanager/ui/page/SetInstallDirectoryPage.java index eba32f9..38e4e90 100644 --- a/InstallManager_java/src/org/tizen/installmanager/ui/page/SetInstallDirectoryPage.java +++ b/InstallManager_java/src/org/tizen/installmanager/ui/page/SetInstallDirectoryPage.java @@ -71,6 +71,7 @@ public class SetInstallDirectoryPage extends PageTemplate { private static final String STRING_TITLE = "Location"; private static final String STRING_SUBTITLE = "Select the installation location."; private static final String WINDOWS_DEFAULT_TARGET_PATH = "C:\\tizen-sdk"; + private static final String WINDOWS_DEFAULT_DATA_PATH = "C:\\tizen-sdk-data"; private Text installDirectoryText; private Label installDirectoryLabel; @@ -117,7 +118,11 @@ public class SetInstallDirectoryPage extends PageTemplate { * Set default configuration directory depends on platform. */ private void setConfigDirectory() { - sdkWorkSpaceText.setText(Config.getConfigHome()); + if (Platform.isLinux() || Platform.isMacOS()) { + sdkWorkSpaceText.setText(Config.getConfigHome()); + } else { + sdkWorkSpaceText.setText(WINDOWS_DEFAULT_DATA_PATH); + } } /** -- 2.7.4