enyojs/ares-project — pull request #429 by adicherafik (2013-07-29 14:35:06+00:00)
Title: ENYO-2588: Fix on the enabling/disabling the minification

This pull request fix the bugs mentionned in :
* https://enyojs.atlassian.net/browse/ENYO-2588
* https://enyojs.atlassian.net/browse/ENYO-1767

How to test

ENYO-2588
1 - clone the application "Tip Calc" from the repository https://github.com/hp-ws/TipCalc
2 - In the file line 559 of the file "services/source/phonegap/Build.js" put the value of "debug" to true to deactivate the minification
3 - Run the build
4 - If the build succeed, you should get in the directory ~/TipCalc/target/phonegap of the project 4 files :
com.ydm.tipcalc_1.0.0.apk : 3 838 KB
com.ydm.tipcalc_1.0.0.ipk : 10 006 KB
com.ydm.tipcalc_1.0.0.wgz : 3 309 KB
com.ydm.tipcalc_1.0.0.xap : 3 434 KB

5 - In the file line 559 of the file "services/source/phonegap/Build.js" put the value of "debug" to true to deactivate the minification
6 - Run the build
7 - if the build succeed, you should get in the directory ~/TipCalc/target/phonegap of the project 4 files :
com.ydm.tipcalc_1.0.0.apk : 970 KB
com.ydm.tipcalc_1.0.0.ipk : 7 747 KB
com.ydm.tipcalc_1.0.0.wgz : 575 KB
com.ydm.tipcalc_1.0.0.xap : 788 KB
6 - Run the android application (com.ydm.tipcalc_1.0.0.apk) to check if it's installed correctly

ENYO-1767
1 - Open the ".apk" file mentioned in the previous step 4
2 - in the directory ./assets/www/lib/onyx you should find the following files :
./www/lib/onyx/samples/ToolbarSample.html
./www/lib/onyx/samples/ToolbarSample.js
./www/lib/onyx/samples/TooltipSample.html
./www/lib/onyx/samples/TooltipSample.js
./www/lib/onyx/source
./www/lib/onyx/source/Button.js
./www/lib/onyx/source/Checkbox.js
./www/lib/onyx/source/DatePicker.js
./www/lib/onyx/source/design.js
./www/lib/onyx/source/Drawer.js
..
3- Open the ".apk" file mentioned in the previous step 7
2 - in the directory ./assets/www/lib/onyx you should find only the directory "images" and the file "LICENSE-2.0.txt"

Tested on Chrome (Windows 7)
Enyo-DCO-1.1-Signed-off-by: Rafik Adiche mahmoud-rafik.adiche@hp.com