Hello,
In S32DS 3.5, I'm using a custom build command by calling a ".bat" file (instead of the classic build).
In addition to compiling / linking my code, tThe .bat execute addtional pre and post build steps.
It's working OK.
If I have some coding error, S32DS catch the error and indicates in the console that the build failed.
My issue is that whenever an error occurs during the post and pre build actions, I fire a error in the .bat (exit code != 0).
ex: "exit /b 2"
This error is not interpreted correctly by eclipse. The build stops, but it doesn't indicate that the build failed. Thus the coder doesn't see directly that is an error, without looking at the console.
What can I do in S32DS to mark the build as failed in this case ?
Thank you