<?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: Git and the .cproject file in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540356#M6898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by epilonsonia on Wed Oct 08 14:40:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Look up Git Ignore : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fhelp.github.com%2Farticles%2Fignoring-files%2F" rel="nofollow" target="_blank"&gt;https://help.github.com/articles/ignoring-files/&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:49:43 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:49:43Z</dc:date>
    <item>
      <title>Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540355#M6897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by KevinWMatthews on Fri Dec 06 10:17:55 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just upgraded from Red Suite 5 to LPCXpresso v6.1.0 [Build 164] [2013-10-21]. I have been using Git to keep track of each of my projects and have had Git track the .cproject files in the hopes that project settings would travel with the repository. This seemed to work without issue in Red Suite 5 but in LPCXpresso 6 the .cproject file is reordered during the first debug session each time I open the compiler. The file seems to alternate between two states. There doesn't seem to be a difference in function (only whitespace differences as far as I can tell) and the differences will cancel out every other debug. Is there any way that I can stop the .cproject file from being rearranged? It makes version control a bit more cumbersome. Or should I be tracking this file at all?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540355#M6897</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540356#M6898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by epilonsonia on Wed Oct 08 14:40:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Look up Git Ignore : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fhelp.github.com%2Farticles%2Fignoring-files%2F" rel="nofollow" target="_blank"&gt;https://help.github.com/articles/ignoring-files/&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540356#M6898</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540357#M6899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Wed Oct 08 15:01:55 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't talk rubbish. The .cproject file is an important part of the project and must be checked in.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540357#M6899</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540358#M6900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by epilonsonia on Wed Oct 08 15:24:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for this info though. I was certain that a .cproject file was always regenerated hence making it obselete for commits. Could you tell us, though, why this is necessary please?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540358#M6900</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540359#M6901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Thu Oct 09 02:06:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The .cproject file contains all the settings for a C project. It is NOT regenerated automatically and is an essential part of any C (or C++) project. If your are use Source Control, it must be checked in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540359#M6901</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540360#M6902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robin48gx on Tue Dec 02 04:53:44 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also using git.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to know which files I should save in order to define an LPCXpresso project (i.e. be able to import it to another machine).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I am having to `scp -r' to get things copied across.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have `.cproject'&amp;nbsp; `.project' `.settings/language.settings.xml' in it along with my src/ directory with its C files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This still does not give a complete definition of the project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which other files or directories should I be including into my source code control system?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This information would make LPCXpresso projects more portable as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be useful to be able to zip them and email them etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540360#M6902</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540361#M6903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 02 05:03:51 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I recommend that you use the eGit plugin for Eclipse - this integrates source code control directly into the IDE. You will be able to checkin/checkout/commit/etc. See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fusing-version-control-within-ide" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/using-version-control-within-ide&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the only files (apart from your sources) that need to be under source control are .cproject and .project. You do not need the Debug/Release directories. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540361#M6903</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540362#M6904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robin48gx on Tue Dec 02 05:18:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK. How should I import this then. If I have the git directory with .cproject and .project and a /src directory with C code, is there anything else I should do when importing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I define debug and release configurations? Are there any other settings held by eclipse?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540362#M6904</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540363#M6905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robin48gx on Tue Dec 02 05:19:55 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I get this from the compiler:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nothing to build for project LPCXpresso_MagneticSensor&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540363#M6905</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540364#M6906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 02 05:25:45 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea what you have done wrong. Look at ANY of the examples and you will see what is exported/imported to create a complete project definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are copying files into a running LPCXpresso system, then you are going to run into trouble. A Refresh may help, but I don't think this will work if you are updating .cproject or .project files while the project is open.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said, I really recommend that you use eGit, which is designed to do this for you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540364#M6906</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540365#M6907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robin48gx on Tue Dec 02 05:27:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to run some kind of re-indexer or makefile builder?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It simply does not produce the axf file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540365#M6907</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540366#M6908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 02 05:43:31 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are going to have to explain exactly what you have done. For example, is LPCXpresso running while you are copying files about? What files are you copying and when?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I will not be able to offer much help, beyond what I have already suggested.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540366#M6908</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540367#M6909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robin48gx on Tue Dec 02 07:22:30 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I really want to understand this so that I know exactly what and what not&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to put in git.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are the Debug and Release configurations stored in .cproject or .project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or are they separate from these configuration files?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540367#M6909</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Git and the .cproject file</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540368#M6910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Dec 02 07:44:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How many times do I have to say this? The ONLY configuration files you need are the .cproject and the .project files. Everything you need to transfer a project from one machine to another is contained within those two files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said, if you don't believe me, look in any of the Example .zip files&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:49:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Git-and-the-cproject-file/m-p/540368#M6910</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:49:50Z</dc:date>
    </item>
  </channel>
</rss>

