mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
edits
This commit is contained in:
parent
9a2fe3cfb1
commit
eccad44dff
@ -66,7 +66,6 @@ public class TryIt {
|
|||||||
osSuffix = System.getProperty(Constants.OS_NAME_PROPERTY).toLowerCase();
|
osSuffix = System.getProperty(Constants.OS_NAME_PROPERTY).toLowerCase();
|
||||||
userHome = System.getProperty(Constants.USER_HOME_PROPERTY);
|
userHome = System.getProperty(Constants.USER_HOME_PROPERTY);
|
||||||
workingDirectory = System.getProperty(Constants.USER_DIRECTORY_PROPERTY);
|
workingDirectory = System.getProperty(Constants.USER_DIRECTORY_PROPERTY);
|
||||||
|
|
||||||
if (osSuffix.contains(Constants.WINDOWS_OS)) {
|
if (osSuffix.contains(Constants.WINDOWS_OS)) {
|
||||||
osSuffix = Constants.WINDOWS_OS;
|
osSuffix = Constants.WINDOWS_OS;
|
||||||
}
|
}
|
||||||
@ -318,7 +317,6 @@ public class TryIt {
|
|||||||
createAvdProcessBuilder.redirectOutput(ProcessBuilder.Redirect.INHERIT);
|
createAvdProcessBuilder.redirectOutput(ProcessBuilder.Redirect.INHERIT);
|
||||||
Process createAvdProcess = createAvdProcessBuilder.start();
|
Process createAvdProcess = createAvdProcessBuilder.start();
|
||||||
createAvdProcess.waitFor();
|
createAvdProcess.waitFor();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ProcessBuilder createAvd = new ProcessBuilder(androidPath, "create", "avd", "-n",
|
ProcessBuilder createAvd = new ProcessBuilder(androidPath, "create", "avd", "-n",
|
||||||
Constants.WSO2_AVD_NAME, "-t", "android-23");
|
Constants.WSO2_AVD_NAME, "-t", "android-23");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user