I'm using the command line interface to do a build. However, if I get compiler errors, a dialog box pops up. I don't want this since I am trying to automate the build process and want my script to handle the issue and continue on.
eclipsec -noSplash -data C:/test_workspace -application com.ti.ccstudio.apps.projectBuild -ccs.projects "proj_lab01" -ccs.configuration Debug -ccs.buildType full
Is there a way to suppress the dialog box popup?
Can you try adding this argument to your command line, "--launcher.suppressErrors".
That worked! Thanks for the quick response.
On further examination, I still have an issue. Your suggestion certainly stops the modal dialog from popping up, but it also suppresses *ALL* output from the build command. I need the output so I can post-process it (actually slurp it into a log file).
What I really want is all the build output, just not the dialog. The dialog seems to be generated just because the java command returned a "1" which I assume is because the build had compiler errors.
I retract my last post due to "stupid user" error.
Patrick's original answer is correct.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.