- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you allowed to programmatically modify the config.xml files that I assume control the builds?
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. Is that allowed? Will XDK pick up those changes and use them? Or does it regenerate that file each time you build, so if you modify it it makes no difference?
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.
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Amrita, thanks. That would be a very useful feature for my automation process. I guess I'll just update it manually for my builds now. Not great but I'll deal for the time being.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes you can modify config.xml manually.
Please refer to this documentation: https://software.intel.com/en-us/xdk/docs/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, that's helpful. I still don't see a way to update the version codes though. I can add new parameters, but how do you update an existing tag in the platform specifix XML?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can go to the code view and do it manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 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).
I will put this as a feature request for the future versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Amrita, thanks. That would be a very useful feature for my automation process. I guess I'll just update it manually for my builds now. Not great but I'll deal for the time being.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page