<?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 Re: Customize IDE commands in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Customize-IDE-commands/m-p/172806#M3537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Have you considered running the tools directly from the command line, where you could then use a .bat file to handle the build? Consult the &lt;I&gt;Targeting_56800E.pdf&lt;/I&gt; manual, located in CodeWarrior's&amp;nbsp; \Help directory. Chapter thirteen shows how to use the command line tools.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2008 22:22:43 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2008-07-16T22:22:43Z</dc:date>
    <item>
      <title>Customize IDE commands</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Customize-IDE-commands/m-p/172805#M3536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to add a new custom command to the IDE using "Customize IDE command" option. I have successfully added a command to run a batch file and it runs ok. However, if I use the predefined variables such as %projectFileDir, to specify a directory, it does not run my batch file. I think this is because the expanded value is surrounded in double quotes (".." ) , and Windows doesn't handle that. This also prevents me specifying files on the command line using the predefined variables. This makes the predefined variables a lot less useful than they could be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way around this problem, or am I stuck with it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using CW v5.6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by bobc on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-07-14&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;05:20 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 23:18:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Customize-IDE-commands/m-p/172805#M3536</guid>
      <dc:creator>bobc</dc:creator>
      <dc:date>2008-07-14T23:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Customize IDE commands</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Customize-IDE-commands/m-p/172806#M3537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Have you considered running the tools directly from the command line, where you could then use a .bat file to handle the build? Consult the &lt;I&gt;Targeting_56800E.pdf&lt;/I&gt; manual, located in CodeWarrior's&amp;nbsp; \Help directory. Chapter thirteen shows how to use the command line tools.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2008 22:22:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Customize-IDE-commands/m-p/172806#M3537</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2008-07-16T22:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Customize IDE commands</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Customize-IDE-commands/m-p/172807#M3538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Sure, but nowadays the preferred interface is the GUI.&lt;BR /&gt;&lt;BR /&gt;What I really wanted was to have custom postlink processing performed automatically when the user hits "Make", but I already found that can't be done.&lt;BR /&gt;&lt;BR /&gt;The workaround I have is to pass the variables into the batch file, strip the quotes, then change directory inside the batch file. This means that there must be a batch file on the path (or fixed location), which requires extra setup, but it works.&lt;BR /&gt;&lt;BR /&gt;I might rewrite the batch file as a .exe, but the same method could be used.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 19:43:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Customize-IDE-commands/m-p/172807#M3538</guid>
      <dc:creator>bobc</dc:creator>
      <dc:date>2008-07-17T19:43:45Z</dc:date>
    </item>
  </channel>
</rss>

