This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how can one recognize that a CCS v4 build has failed if called from command line?

Other Parts Discussed in Thread: CCSTUDIO

Hi,

my autobuild machine compiles the DSP firmware automatically on a new SVN commits by batch file processing. I want to process the result of the command line CCS v4 compiling (just to signal compile errors to the batch caller). I just want a "true" or "false" to distinguish compile errors from compiling success.

How do I do that?

The way I go at present is to look at the return value of the jre\bin\java call but that does always return "true" even if compiling failed with compiler/linker errors.

My DOS batch file is like this:

...

cd C:\Programme\CCStudio_v4.2.1\ccsv4\eclipse

jre\bin\java -jar startup.jar -data "%PROJECTSDIR%\Foo\src" -application com.ti.ccstudio.apps.projectBuild -ccs.projects core -ccs.configuration Release

set RETVAL=%ERRORLEVEL%

Thanks in advance.

  • Hello,

    Unfortunately this is something that has not really been supported.  Please see this post with further information and the work around (check the build artifacts like the .out file).  An enhancement request has been added for future versions.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/161312.aspx#586883

    Please keep us informed whether this helps you out.

    Best Regards,

    Lisa

  • Thanks for your reply, I hope CCSv5.2.0 will be available soon. I wished the return value would be the error count, I mean e.g. 77 compile errors is equal to return value 77. Meanwhile I check the existence of the output file(s).