Fixed eclipse bug on windows when not run from command prompt.

Change-Id: I5e908e163f13e79d4714bcf6243ebe17e3f767e7
This commit is contained in:
Alex Henning
2014-06-20 14:23:15 -07:00
parent 801efe601a
commit 08ed0b2869

View File

@@ -227,7 +227,7 @@ public class NewProjectMainPage extends WizardPage {
}
public String getWorld() {
return worldText.getText().replace(System.getenv("HOME"), "${user.home}");
return worldText.getText().replace(System.getProperty("user.home"), "${user.home}");
}
public void setShowPackage(boolean bool) {