It's all about the answers!

Ask a question

Question on Build scripts & RTC Build


Karthik Krishnan (8898122164) | asked Jul 15 '11, 8:18 a.m.
Hi all

I have a batch file which is calling CMake which also does some functionality

I want to call this batch file for Build.

If for some reason, CMake fails and throws error the same is not reported as failure in RTC. If my understanding is correct RTC is calling the Batch file and the Batch file calls CMake. The execution of batch file is successful and hence it is reported as success.

But I want the RTC to report CMake is failed which is called via Batch files

How can i achieve this?

I was looking at creating Ant tasks but don't have one proper example

thank you

Karthik

Accepted answer


permanent link
Karthik Krishnan (8898122164) | answered Nov 28 '14, 4:36 a.m.
I solved this by using ANT. In the ANT, based on the targets I report to the build whether its a Success or Failure
Ralph Schoon selected this answer as the correct answer

One other answer



permanent link
yanlai wang (11) | answered Nov 24 '14, 9:16 p.m.

RTC only can detect the errors from the BAT file output,

Or else, only you can do is using the RTC engine to check the build result.

What's more, the other solution is that you should creat new BAT file to output the build result.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.