<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting build errors and warnings externally in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Getting-build-errors-and-warnings-externally/m-p/132552#M604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to automate a project build from outside CodeWarrior. I can use "cmdide /b" from the command line to do the build, and it works fine but if there are errors or warnings I don't see them. Errors cause the build to fail and an exit code of 8, but in this case I want the external script to be able to access the errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are build errors/warnings stored somewhere predictable? Is there a way to make them show up on stdout for cmdide? I'm puzzled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a suspicion that I may be missing something obvious, but I've perused the help files and this forum without finding the answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Oct 2006 11:19:16 GMT</pubDate>
    <dc:creator>jonathang</dc:creator>
    <dc:date>2006-10-07T11:19:16Z</dc:date>
    <item>
      <title>Getting build errors and warnings externally</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Getting-build-errors-and-warnings-externally/m-p/132552#M604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to automate a project build from outside CodeWarrior. I can use "cmdide /b" from the command line to do the build, and it works fine but if there are errors or warnings I don't see them. Errors cause the build to fail and an exit code of 8, but in this case I want the external script to be able to access the errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are build errors/warnings stored somewhere predictable? Is there a way to make them show up on stdout for cmdide? I'm puzzled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a suspicion that I may be missing something obvious, but I've perused the help files and this forum without finding the answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2006 11:19:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Getting-build-errors-and-warnings-externally/m-p/132552#M604</guid>
      <dc:creator>jonathang</dc:creator>
      <dc:date>2006-10-07T11:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting build errors and warnings externally</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Getting-build-errors-and-warnings-externally/m-p/132553#M605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;FONT face="Arial"&gt;One way to use the CodeWarrior IDE to automate builds and retrieve the resultant build status messages, warnings, errors, etc. in a machine readable format is to use the COM/OLE interface.&amp;nbsp; This is documented in the "CodeWarrior Development Studio IDE 5.6 Windows Automation Guide."&lt;BR /&gt;(http://www.freescale.com/files/soft_dev_tools/doc/user_guide/IDE_5.6_Automation_Guide.pdf)&lt;BR /&gt;&lt;BR /&gt;Using the COM/OLE interface, you can write a script to control the CW IDE and retrieve build results in perl, Visual Basic, Ruby, Python, etc.&amp;nbsp; The Automation Guide mentioned above has a number of examples that are pretty much plug and play, if you are a perl programmer.&amp;nbsp; If not, I found them easily translated into ruby.&lt;BR /&gt;&lt;BR /&gt;I haven't found a Freescale document of the COM/OLE API.&lt;BR /&gt;If anyone knows of one, please let me know.&amp;nbsp; I used the Microsoft OLE/COM Object Viewer.&lt;BR /&gt;(http://www.microsoft.com/downloads/details.aspx?familyid=5233b70d-d9b2-4cb5-aeb6-45664be858b6)&lt;BR /&gt;I found it to be a little difficult to use due to the fact that items are not alphabetized, but was able to locate the API information I needed with it.&amp;nbsp; Follow the instructions in the Automation Guide.&lt;BR /&gt;&lt;BR /&gt;Hope this information helps.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2007 23:10:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Getting-build-errors-and-warnings-externally/m-p/132553#M605</guid>
      <dc:creator>morrisrd</dc:creator>
      <dc:date>2007-06-28T23:10:06Z</dc:date>
    </item>
  </channel>
</rss>

