<?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 Programmatically modifying the config.&amp;lt;platform&amp;gt;.xml files? in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113023#M73035</link>
    <description>&lt;P&gt;Are you allowed to programmatically modify the config.xml files that I assume control the builds? &amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have a grunt script I use to compile all the client files, but want to have that process increment the app version codes in the config files. &amp;nbsp;Is that allowed? &amp;nbsp;Will XDK pick up those changes and use them? &amp;nbsp;Or does it regenerate that file each time you build, so if you modify it it makes no difference? &amp;nbsp;&lt;/P&gt;

&lt;P&gt;I don't want to have to manually increment those numbers for each platform every time I want to do a new build. It's quite annoying.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2016 13:43:25 GMT</pubDate>
    <dc:creator>Geoff_B_</dc:creator>
    <dc:date>2016-03-16T13:43:25Z</dc:date>
    <item>
      <title>Programmatically modifying the config.&lt;platform&gt;.xml files?</title>
      <link>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113023#M73035</link>
      <description>&lt;P&gt;Are you allowed to programmatically modify the config.xml files that I assume control the builds? &amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have a grunt script I use to compile all the client files, but want to have that process increment the app version codes in the config files. &amp;nbsp;Is that allowed? &amp;nbsp;Will XDK pick up those changes and use them? &amp;nbsp;Or does it regenerate that file each time you build, so if you modify it it makes no difference? &amp;nbsp;&lt;/P&gt;

&lt;P&gt;I don't want to have to manually increment those numbers for each platform every time I want to do a new build. It's quite annoying.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 13:43:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113023#M73035</guid>
      <dc:creator>Geoff_B_</dc:creator>
      <dc:date>2016-03-16T13:43:25Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113024#M73036</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Yes you can modify config.xml manually.&lt;/P&gt;

&lt;P&gt;Please refer to this documentation:&amp;nbsp;https://software.intel.com/en-us/xdk/docs/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 18:54:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113024#M73036</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2016-03-16T18:54:16Z</dc:date>
    </item>
    <item>
      <title>Thanks, that's helpful.  I</title>
      <link>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113025#M73037</link>
      <description>&lt;P&gt;Thanks, that's helpful. &amp;nbsp;I still don't see a way to update the version codes though. &amp;nbsp;I can add new parameters, but how do you update an existing tag in the platform specifix XML? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 20:23:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113025#M73037</guid>
      <dc:creator>Geoff_B_</dc:creator>
      <dc:date>2016-03-16T20:23:47Z</dc:date>
    </item>
    <item>
      <title>You can go to the code view</title>
      <link>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113026#M73038</link>
      <description>&lt;P&gt;You can go to the code view and do it manually.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 22:21:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113026#M73038</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2016-03-16T22:21:38Z</dc:date>
    </item>
    <item>
      <title>I know that.  That's not what</title>
      <link>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113027#M73039</link>
      <description>I know that.  That's not what I'm asking, did you read my question?  I'm trying to take the manual step of entering the data for each platform.  Our version number is based on a revision and I just want to automatically populate that from my grunt build by updating some file.</description>
      <pubDate>Wed, 16 Mar 2016 22:31:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113027#M73039</guid>
      <dc:creator>Geoff_B_</dc:creator>
      <dc:date>2016-03-16T22:31:26Z</dc:date>
    </item>
    <item>
      <title>Using the technique described</title>
      <link>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113028#M73040</link>
      <description>&lt;P&gt;Using the technique described at the very bottom of the page I gave you allows you to change everything except the version string and version code &amp;nbsp;because the mechanism used doesn't allow for changing the widget tag. Yes, those files are automatically generated each time you do a build (except the ADDITIONS file).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I will put this as a feature request for the future versions.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2016 22:44:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113028#M73040</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2016-03-17T22:44:00Z</dc:date>
    </item>
    <item>
      <title>@Amrita, thanks.  That would</title>
      <link>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113029#M73041</link>
      <description>&lt;P&gt;@Amrita, thanks. &amp;nbsp;That would be a very useful feature for my automation process. &amp;nbsp;I guess I'll just update it manually for my builds now. &amp;nbsp;Not great but I'll deal for the time being.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 12:15:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Programmatically-modifying-the-config-lt-platform-gt-xml-files/m-p/1113029#M73041</guid>
      <dc:creator>Geoff_B_</dc:creator>
      <dc:date>2016-03-18T12:15:14Z</dc:date>
    </item>
  </channel>
</rss>

