<?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>Classic/Legacy CodeWarrior中的主题 Re: Target corruption?</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130540#M461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Have you used the target column in the Project window, Files view, to assign/deassign files as part of the target build?&lt;BR /&gt;&lt;BR /&gt;Example: if you're building two targets, A and B, you'd select target A from the Drop-down menu in the Project window. Then go the Target column (the column with the little target icon), and click in there to make the file assignment. If there's a black dot in the column, the file is part of the build. If the dot is absent, the IDE ignores that file during the build. After you've selected your files for target A, choose target B from the drop-down menu and make your file assignments with the target column. You can exclude files or share files for each target this way. HTH,&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by J2MEJediMaster on &lt;SPAN class="date_text"&gt;2007-04-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:39 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2007 22:38:39 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2007-04-13T22:38:39Z</dc:date>
    <item>
      <title>Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130539#M460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;I'm rying to create another target under the master project. I create a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;target and clone another to avoid all that ugly typing. (This has worked&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;reasonably well in the past...)&amp;nbsp; Then I switch to the new target, set the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;target name etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to delete the old files (from the original target) to create&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a new file group for the new target, I'm told that I can't delete the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;files, because then the file wouldn't be contained in a target. The&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;original target builds fine, so it knows where the files are even though&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;they aren't, apparently, in that target's file group. If I try to add the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;old files to the old target's file group (so the files aren't "orphaned" ),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get a gripe that everything is multiply defined. If I simply try to add&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the new files to the new target's new file group, I get a gripe that there&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are multiple main()s - one from the old target that was cloned, and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;one from the new target's main().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I'm sort of stuck using real makefiles and building programs outside&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the IDE, which pretty much leaves me without a debugger because I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;haven't figured out cross-platform dbg.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to examine the project to find out where the targets'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;information is held? Can I clean this up so that the targets don't&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;interfere with one another? Is there an easier way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JohnnyG&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 22:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130539#M460</guid>
      <dc:creator>JohnnyG</dc:creator>
      <dc:date>2007-04-13T22:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130540#M461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Have you used the target column in the Project window, Files view, to assign/deassign files as part of the target build?&lt;BR /&gt;&lt;BR /&gt;Example: if you're building two targets, A and B, you'd select target A from the Drop-down menu in the Project window. Then go the Target column (the column with the little target icon), and click in there to make the file assignment. If there's a black dot in the column, the file is part of the build. If the dot is absent, the IDE ignores that file during the build. After you've selected your files for target A, choose target B from the drop-down menu and make your file assignments with the target column. You can exclude files or share files for each target this way. HTH,&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by J2MEJediMaster on &lt;SPAN class="date_text"&gt;2007-04-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:39 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 22:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130540#M461</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2007-04-13T22:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130541#M462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks, Tom. That's precisely where I have the trouble. I clone TargetA to make TargetB. TargetA, in the Target column, has nothing selected - &lt;B&gt;but&lt;/B&gt; TargetA's files are selected for TargetB.&lt;BR /&gt;&lt;BR /&gt;If I try to remove the files from TargetB, I get a gripe indicating that I can't remove the file - it would otherwise not have an associated target. If I then try to add the file to TargetA so I can remove it from TargetB, TargetA complains that the file is there multiple times. Since the file appears to be there whether or not there's a dot in the Target column, I'm sort of stuck.&lt;BR /&gt;&lt;BR /&gt;And the files from TargetA cannot be removed from the cloned TargetB. Doubly stuck.&lt;BR /&gt;&lt;BR /&gt;The symptoms vary slightly from try to try, as I have attempted to approach this from as many angles as possible. I typically end up just copying back an archive of the project file to recover.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I suspect that the project file has become corrupted over time, either due to a bug in the IDE or some corruption from source control, but in any event, it's apparently impossible to add targets to it in its current state, which leaves me no option but to write Makefiles and use make, which makes debugging difficult.&lt;BR /&gt;&lt;BR /&gt;JohnnyG&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 23:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130541#M462</guid>
      <dc:creator>JohnnyG</dc:creator>
      <dc:date>2007-04-13T23:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130542#M463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;That is a problem if that target feature doesn't work. The only thing I can suggest is:&lt;BR /&gt;&lt;BR /&gt;1) Make a copy of the project's directory (that is, the directory enclosing the project file, its source files and all of the supporting files/sub-directories.&lt;BR /&gt;2) In the duplicate directory, delete the _Data directory. That is, if your project is named junk, with junk.mcp, delete the&amp;nbsp; folder junk_Data.&lt;BR /&gt;3) Now launch the IDE. Issue the following commands:&lt;BR /&gt;Project | Remove Object Code...&lt;BR /&gt;Project | Re-search for File&lt;BR /&gt;Project | Reset Project Entry Paths&lt;BR /&gt;This, along with deletng the _Data folder, are as close as you can get to a complete lobotomy of the project without losing all of your settings.&lt;BR /&gt;4) See if the target column works now.&lt;BR /&gt;&lt;BR /&gt;Since you're working with a copy, if that doesn't work, you can fall back on your original.&lt;BR /&gt;&lt;BR /&gt;The only other course of action is that you start with a new project, add your files, and modify your settings. If it is a corrupted project file, that will clear the problem. Yeah, right, it's a pain in the posterior doing that all over, but it can't be any worse than writing build scripts.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2007 00:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130542#M463</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2007-04-14T00:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130543#M464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks - not sure I'm up for that on a Friday afternoon &lt;I&gt;before a long weekend&lt;/I&gt; but if I get bored later in the day...&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2007 01:03:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130543#M464</guid>
      <dc:creator>JohnnyG</dc:creator>
      <dc:date>2007-04-14T01:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130544#M465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Well, Tom, that seems to have taken care of the problem. Thanks very much!! (and it wasn't as dreadful a process as it initially sounded...)&lt;BR /&gt;John&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2007 02:00:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130544#M465</guid>
      <dc:creator>JohnnyG</dc:creator>
      <dc:date>2007-04-14T02:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130545#M466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;John:&lt;BR /&gt;&lt;BR /&gt;Thanks for the feedback. Was it the four steps i suggested or rebuilding the project file from scratch that did the trick?&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2007 03:58:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130545#M466</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2007-04-14T03:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130546#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I only had to whack the _Data directory, then it rebuilt itself quite nicely...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 23:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130546#M467</guid>
      <dc:creator>JohnnyG</dc:creator>
      <dc:date>2007-04-20T23:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130547#M468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Do I correctly infer that I need not save the .tdt files in source control? Not that a lot of my time is spent locking and checking in these files, but anything we can do to make John's life easier, you know?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2007 00:03:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130547#M468</guid>
      <dc:creator>JohnnyG</dc:creator>
      <dc:date>2007-04-21T00:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130548#M469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Check this forum &lt;A href="http://forums.freescale.com/freescale/board/message?board.id=CWCOMM&amp;amp;message.id=1796&amp;amp;query.id=10771#M1796" target="_blank"&gt;thread&lt;/A&gt; to see if it answers your question. If not, do a forum search with the search box at the lower left for the words "source control". HTH.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 21:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130548#M469</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2007-04-23T21:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Target corruption?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130549#M470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;That was good, Tom. Thanks&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 19:46:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Target-corruption/m-p/130549#M470</guid>
      <dc:creator>JohnnyG</dc:creator>
      <dc:date>2007-04-26T19:46:32Z</dc:date>
    </item>
  </channel>
</rss>

