[yocto] [eclipse][PATCH 3/4] plugins/cmake: Use generic output stream
Timo Mueller
mail at timomueller.eu
Thu May 22 02:58:21 PDT 2014
From: Timo Mueller <timo.mueller at bmw-carit.de>
This enables logging the process output to something other than a
eclipse console. e.g. a log file or string that can be reused for
dialogs and messages.
Signed-off-by: Timo Mueller <timo.mueller at bmw-carit.de>
---
.../src/org/yocto/cmake/managedbuilder/job/ExecuteConfigureJob.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/org.yocto.cmake.managedbuilder/src/org/yocto/cmake/managedbuilder/job/ExecuteConfigureJob.java b/plugins/org.yocto.cmake.managedbuilder/src/org/yocto/cmake/managedbuilder/job/ExecuteConfigureJob.java
index 354d930..f90a2d7 100644
--- a/plugins/org.yocto.cmake.managedbuilder/src/org/yocto/cmake/managedbuilder/job/ExecuteConfigureJob.java
+++ b/plugins/org.yocto.cmake.managedbuilder/src/org/yocto/cmake/managedbuilder/job/ExecuteConfigureJob.java
@@ -11,6 +11,7 @@
package org.yocto.cmake.managedbuilder.job;
import java.io.IOException;
+import java.io.OutputStream;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
@@ -157,7 +158,7 @@ public class ExecuteConfigureJob extends Job {
}
private IStatus buildProject(IProgressMonitor monitor,
- IOConsoleOutputStream cos) throws IOException, InterruptedException {
+ OutputStream cos) throws IOException, InterruptedException {
monitor.subTask(
YoctoCMakeMessages.getString("ExecuteConfigureJob.buildingMakefile")); //$NON-NLS-1$
configureProcess.start(cos);
--
1.9.0
More information about the yocto
mailing list