enyojs/ares-project — pull request #445 by adicherafik (2013-08-09 09:16:49+00:00)
Title: ENYO-2822: Rearrangement of the panel "Phonegap Build".

ENYO-2822 : A modification is made in the panel "Phonegap Build" to let the Ares developer enable/disable the "config.xml" generation in a less misleading way: when the auto-generation of this file is disabled, the other drawers are hidden, so that, the user will have to open the file "config.xml" in order to edit the Phonegap build configuration.

This commit add also in the UI a new row to enable/disable the minification. This checkbox row is not functionnal yet, the implementation will be followed in the JIRA ticket https://enyojs.atlassian.net/browse/ENYO-2820

How to test :
1 - Import any project in Ares
2 - In the panel "Phonegap Build", enable the checkbox "Generate config.xml file when building" in the drawer "Build option"
3 - Select a set of parameters in any other drawer
4 - Validate the changes
5 - Run the build
6 - Check the config.xml file in the project : the xml tags should be the same as selected from the panel "Phonegap Build'.
7 - In the panel "Phonegap Build", disable the checkbox "Generate config.xml file when building" in the drawer "Build option"
8 - All the drawers except "Build option" should now be hidden
9 - Validate the change
10 - Open the file "config.xml" and change the attribute of any tag, for example you can put the the value of Phonegap version to 3.0.0
11 - save the changes in the file.
12 - Run a build
13 - The value of the changes should stay the same, in this case the phonegap version should be 3.0.0

Tested on Chrome (Windows 7)

Enyo-DCO-1.1-Signed-off-by: Rafik Adiche mahmoud-rafik.adiche@hp.com