cordova build --device should not build a desktop package as well

Bug #1396095 reported by David Barth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cordova Ubuntu
In Progress
Medium
Jean-Francois Moy

Bug Description

When asking for a device build, cordova also tries to generate a desktop build as well. This is a bit confusing. It should only build for the specified target, like 'cordova run' does.

dbarth@thinkpad:~/devel/vivid/test-app$ cordova build --device
missing icon element in config.xml
missing icon element in config.xml
missing icon element in config.xml
Running command: /home/dbarth/devel/vivid/test-app/platforms/ubuntu/cordova/build --device
Building Phone Application...
(EMAIL NEEDS HUMAN REVIEW) email domain too long '<email address hidden>' for app name 'io.cordova.hellocordova'
'qmlscene' specified as icon in .desktop file for app 'cordova', which is not available in the click package.
http://askubuntu.com/questions/417369/what-does-desktop-icon-mean/417370
Building Desktop Application...
In order to build debian package, execute:
cd /home/dbarth/devel/vivid/test-app/platforms/ubuntu/native/io.cordova.hellocordova; debuild

David Barth (dbarth)
Changed in cordova-ubuntu:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Jean-Francois Moy (jfmoy) wrote :

Fixed in the device-build branch available at : https://github.com/cordova-ubuntu/cordova-ubuntu/tree/device-build

Changed in cordova-ubuntu:
assignee: nobody → Jean-Francois Moy (jfmoy)
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.