2021-02-25 07:40 PM
Hello, for static code analysis I need the output from the clean/build process. So I searched how to build my project via command line and found the headless-build.bat (I use windows 10). After some problems with the syntax I finally got it running. The only problem is, that when I want to clean the project (-clean), it automatically builds the project afterwards. I didn’t find anything how to stop this process after cleaning - do you have any idea?
Thanks and best regards
Solved! Go to Solution.
2021-03-01 03:25 AM
Hello, thanks for your answer. I found a solution to omiut the first step of cleaning in my tool, so I'm fine with using the clean build as the second build step. But it's good to know the reason!
Thanks and best regards!
2021-03-01 03:17 AM
Hello COste!
This use case is not supported as of today and the issue is upstream in Eclipse. "Clean" does two different things depending on if it's used "inside" CubeIDE or if you run the command through headless build.
What's the specific use case for your static code analysis? Does this block you?
2021-03-01 03:25 AM
Hello, thanks for your answer. I found a solution to omiut the first step of cleaning in my tool, so I'm fine with using the clean build as the second build step. But it's good to know the reason!
Thanks and best regards!