[yocto] [eclipse][PATCH 0/4] Add cmake error to build failure dialog

Zhang, Jessica jessica.zhang at intel.com
Thu May 22 11:03:51 PDT 2014


Pulled into eclipse-poky-kepler master.  Thanks for the contribution!  - Jessica

-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Timo Mueller
Sent: Thursday, May 22, 2014 2:58 AM
To: yocto at yoctoproject.org
Cc: Timo Mueller
Subject: [yocto] [eclipse][PATCH 0/4] Add cmake error to build failure dialog

From: Timo Mueller <timo.mueller at bmw-carit.de>

Hi,

when problems occured during configuring the project with CMake we showed a messge dialog with a generic 'build failed' method. In parallel the reason for the error was captured in the configuration console. But as the dialog did not contain any note on the existence of this console the user might end up with no hint on what went wrong and how he can fix it.

To help the user fix syntax errors or other errors with CMake the error is captured and added to the message dialog. While complete CMake log is still available in the configuration console, the dialog now contains all information on what went wrong, e.g.
CMake Error at CMakeLists.txt:8 (include_directoriesBOGUS):
  Unknown CMake command "include_directoriesBOGUS".

01..03: Enable logging the stderr from CMake to a console while capturing it in a string
04: Add the reported CMake error to the configuration error dialog

Best regards,
Timo

Timo Mueller (4):
  plugins/cmake: Allow multiple targets when logging process output
  plugins/cmake: Enable separate capturing of cmake stderr
  plugins/cmake: Use generic output stream
  plugins/cmake: Add cmake error message to error dialog

 .../managedbuilder/YoctoCMakeMessages.properties   |  2 +-
 .../managedbuilder/job/ExecuteConfigureJob.java    | 12 +++++---
 .../cmake/managedbuilder/util/SystemProcess.java   | 34 ++++++++++++++++++----
 3 files changed, 38 insertions(+), 10 deletions(-)

--
1.9.0

--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list