<?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: [bug] command line building option -cleanBuild clean the different configuration in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527633#M573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tinyusb on Tue Apr 22 02:47:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: lpcxpresso-support&lt;/STRONG&gt;&lt;BR /&gt;Works perfectly for me with 7.1.1.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad to hear you fix that in 7.1.1, I will try to update later on and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alter the configuration a few times to test with.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:41:30 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:41:30Z</dc:date>
    <item>
      <title>[bug] command line building option -cleanBuild clean the different configuration</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527627#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tinyusb on Mon Apr 21 21:47:24 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hi there, while working lpcxpresso command line &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%2Fbuilding-projects-command-line%3Fdestination%3Dnode%252F1107252" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/building-projects-command-line?destination=node%2F1107252&lt;/A&gt;&lt;SPAN&gt;. I found out that the -cleanBuild option disregard the configuration passed from command line as follows:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- it will clean the current active configuration (I guess) in the project&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- however still build the correct configuration passed from command line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for example&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;lpcxpressoc -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -cleanBuild my_project/config1 -data C:/my_workspace&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;will clean other configuration and build the config1 of my_project, this can be monitored via the console output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my lpcxpresso version is 7.0.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527627#M567</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: [bug] command line building option -cleanBuild clean the different configuration</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527628#M568</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 Apr 22 00:11:01 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The parameter to the cleanBuild option is defined as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{project_name_reg_ex{/config_reg_ex} | all}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]project_name_reg_ex is a regular expression that matches the projects you wish to build. ".*" is a regular expression that matches every project name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]config_reg_ex is a regular expression for the build configurations. If you wanted to build both Debug and Release, you would use "(Debug|Release)"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, your command line is trying to build the "config1" buildconfiguration of the project "my_project". Did you really mean that? Or did you mean "my_project/Release"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:41:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527628#M568</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: [bug] command line building option -cleanBuild clean the different configuration</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527629#M569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tinyusb on Tue Apr 22 00:20:51 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, I try to clean then build the "config1". Let's say the project has the standard "Release" &amp;amp; "Debug" configuration, the -cleanBuild option may clean the Release and build the Debug with&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;-cleanBuild my_project/Debug&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have several configuration in my project and encounter this. I guess it will only clean the current active configuration. You probably see it on the console if trying to alter the configuration from Debug to Release with the same command line.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527629#M569</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: [bug] command line building option -cleanBuild clean the different configuration</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527630#M570</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 Apr 22 01:27:15 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but I have no idea what you are talking about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please provide an example project that shows the problem, together with instructions on how to reproduce it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527630#M570</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: [bug] command line building option -cleanBuild clean the different configuration</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527631#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tinyusb on Tue Apr 22 02:02:11 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry for not giving out any sense previously. This example should be easier to understand, here I use the cmsis project of lpc800 which has 2 build configuration Release and Debug. And I execute the command that I expect it to clean then build (rebuild) the project with Release configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;C:\Users\hathach\Dropbox\tinyusb\workspace\tinyusb\demos&amp;gt;C:\nxp\LPCXpresso_7.0.0_92\lpcxpresso\lpcxpressoc -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -cleanBuild &lt;STRONG&gt;CMSIS_CORE_LPC8xx/Release&lt;/STRONG&gt; -data C:\Users\hathach\Dropbox\tinyusb\workspace7&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the console out indicates that it clean the &lt;/SPAN&gt;&lt;STRONG&gt;Debug&lt;/STRONG&gt;&lt;SPAN&gt; configuration instead. if I re-enter the command again, it will not rebuild the Release configuration (obviously since it clean the wrong configuration). I hope these would make a bit more sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Fcleanbuild_0.png%5B%2Fimg%5D"&gt;http://www.lpcware.com/system/files/cleanbuild_0.png[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2Fcleanbuild2.png%5B%2Fimg%5D"&gt;http://www.lpcware.com/system/files/cleanbuild2.png[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:41:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527631#M571</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: [bug] command line building option -cleanBuild clean the different configuration</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527632#M572</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 Apr 22 02:41:53 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Works perfectly for me with 7.1.1. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527632#M572</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: [bug] command line building option -cleanBuild clean the different configuration</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527633#M573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tinyusb on Tue Apr 22 02:47:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: lpcxpresso-support&lt;/STRONG&gt;&lt;BR /&gt;Works perfectly for me with 7.1.1.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad to hear you fix that in 7.1.1, I will try to update later on and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alter the configuration a few times to test with.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/bug-command-line-building-option-cleanBuild-clean-the-different/m-p/527633#M573</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:41:30Z</dc:date>
    </item>
  </channel>
</rss>

