<?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 Using differencing tool to compare RAppID autogenerated code in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Using-differencing-tool-to-compare-RAppID-autogenerated-code/m-p/626273#M13625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm experimenting with the TRK-MCP&lt;STRONG&gt;5606B&lt;/STRONG&gt; kit using CodeWarrior MCU (V10.6 Eclipse) and RAppID for peripheral setup.&amp;nbsp; Since I'm changing the peripheral functioning, I want to see the differences in the generated code, but all of the files are different because of the date/time stamp built into the Block Comments "/* */".&amp;nbsp; I typically use KDiff3, but I've also tried DiffMerge and WinMerge and I've not been able to configure any of these to ignore &lt;STRONG&gt;block comments&lt;/STRONG&gt;, (and I search google for options to setup these tools, none of the options worked for multi-line comment blocks).&amp;nbsp; The "SED" script for ignoring comments only works on a single line and I need to ignore &lt;STRONG&gt;multi-line comment.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is, does anyone having a suggestion (free, without installing Perl or stripping the comments from the files using a tool like stripcmt), for ignoring block comments when doing a diff? &amp;nbsp; I'm guessing this has been done and&amp;nbsp; I'm just missing the correct filter script.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/tags/#/?tags=rappid"&gt;rappid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/tags/#/?tags=kdiff3"&gt;kdiff3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/tags/#/?tags=diff"&gt;diff&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 16:59:17 GMT</pubDate>
    <dc:creator>duanemattern</dc:creator>
    <dc:date>2016-09-16T16:59:17Z</dc:date>
    <item>
      <title>Using differencing tool to compare RAppID autogenerated code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Using-differencing-tool-to-compare-RAppID-autogenerated-code/m-p/626273#M13625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm experimenting with the TRK-MCP&lt;STRONG&gt;5606B&lt;/STRONG&gt; kit using CodeWarrior MCU (V10.6 Eclipse) and RAppID for peripheral setup.&amp;nbsp; Since I'm changing the peripheral functioning, I want to see the differences in the generated code, but all of the files are different because of the date/time stamp built into the Block Comments "/* */".&amp;nbsp; I typically use KDiff3, but I've also tried DiffMerge and WinMerge and I've not been able to configure any of these to ignore &lt;STRONG&gt;block comments&lt;/STRONG&gt;, (and I search google for options to setup these tools, none of the options worked for multi-line comment blocks).&amp;nbsp; The "SED" script for ignoring comments only works on a single line and I need to ignore &lt;STRONG&gt;multi-line comment.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is, does anyone having a suggestion (free, without installing Perl or stripping the comments from the files using a tool like stripcmt), for ignoring block comments when doing a diff? &amp;nbsp; I'm guessing this has been done and&amp;nbsp; I'm just missing the correct filter script.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/tags/#/?tags=rappid"&gt;rappid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/tags/#/?tags=kdiff3"&gt;kdiff3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/tags/#/?tags=diff"&gt;diff&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 16:59:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Using-differencing-tool-to-compare-RAppID-autogenerated-code/m-p/626273#M13625</guid>
      <dc:creator>duanemattern</dc:creator>
      <dc:date>2016-09-16T16:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using differencing tool to compare RAppID autogenerated code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Using-differencing-tool-to-compare-RAppID-autogenerated-code/m-p/626274#M13626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Duane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe, you should use Git, which is quite powerful for this kind of work. Also it has strong community, which is usable if you have any problem with the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at the following link:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://git-scm.com/" title="https://git-scm.com/"&gt;Git&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 07:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Using-differencing-tool-to-compare-RAppID-autogenerated-code/m-p/626274#M13626</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-09-19T07:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using differencing tool to compare RAppID autogenerated code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Using-differencing-tool-to-compare-RAppID-autogenerated-code/m-p/626275#M13627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using SourceTree as a GIT GUI with my repo on Bitbucket.&amp;nbsp; Right now, I'm only experimenting and I don't want to muck up my repo.&amp;nbsp; I suppose I could create a branch for experimenting, but while I'm not a GIT expert, even if I used GIT for this diff-ing purpose, I'd still have to configure GIT to ignore block comments, which brings me back to the original question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does raise the issue of autogenerated code with date/time stamps and how to keep those files that haven't changed from having to be updated in your repo. I'm not a big fan of date/time stamps within a file for this reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:31:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Using-differencing-tool-to-compare-RAppID-autogenerated-code/m-p/626275#M13627</guid>
      <dc:creator>duanemattern</dc:creator>
      <dc:date>2016-09-20T13:31:28Z</dc:date>
    </item>
  </channel>
</rss>

