enyojs/ares-project — pull request #339 by adicherafik (2013-06-10 13:49:40+00:00)
Title: ENYO-2405: Download built application from Phongap build  

ENYO-2405: By tapping on "Project - Build" after the selection of a project, Ares lookup for the status of each build, as the status of the build is "complete" a get() request is sent to grap the file and store it in the './target/Phonega build' directory.
Currently, a problem occures when using the API-Phonegap-build to download the packaged file. So, until this issue is treated, another code is used to simulate the whole process. Unstead of storing the built project, another random file is created with the name of the project (title+version) with the extension of the targeted platform (the code relaying on the API-Phonegap-build is commented in "bdPhonegap.js")

ENYO-2404: by tapping on "Project - Build Status..." after the selection of a project, a Pop-up appears after a timeout to indicate the build status of the project for each targeted platform. by Tapping in any status label, a new browser window appears, this window point the the url : https://build.phonegap.com/apps/xxxxx/builds where xxxxx is the AppID. In this view, it's possible to check the status of the application in each platform and it allows to download the built packages if the status is "complete"
Note that the status informations in the Pop-up are note automaticly refreshed

Ready for review

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