use of org.jetbrains.kotlin.android.tests.run.RunResult in project kotlin by JetBrains.
the class AntRunner method installApplicationOnEmulator.
public void installApplicationOnEmulator() {
System.out.println("Installing apk...");
RunResult result = RunUtils.execute(generateCommandLine("installt"));
String resultOutput = result.getOutput();
if (!isInstallSuccessful(resultOutput)) {
installApplicationOnEmulator();
return;
} else {
if (result.getStatus()) {
System.out.println(resultOutput);
}
}
OutputUtils.checkResult(result);
}
use of org.jetbrains.kotlin.android.tests.run.RunResult in project kotlin by JetBrains.
the class AntRunner method cleanOutput.
/* Clean output directory */
public void cleanOutput() {
System.out.println("Clearing output directory...");
RunResult result = RunUtils.execute(generateCommandLine("clean"));
OutputUtils.checkResult(result);
}
use of org.jetbrains.kotlin.android.tests.run.RunResult in project kotlin by JetBrains.
the class AntRunner method packLibraries.
/* Pack compiled sources on first step to one jar file */
public void packLibraries() {
System.out.println("Pack libraries...");
RunResult result = RunUtils.execute(generateCommandLine("pack_libraries"));
OutputUtils.checkResult(result);
}
Aggregations