[ 
https://issues.apache.org/jira/browse/CB-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688727#comment-13688727
 ] 

Filip Maj commented on CB-2975:
-------------------------------

So I have two recommendations for this script.

One that I've employed in medic is to [scan an IP 
range|https://github.com/filmaj/medic/blob/master/src/build/makers/blackberry/devices.js].
 One downside is that tt can take a while to complete, depending on the IP 
range being scanned.

Another is to look at the number of targets defined in the {{project.json}} 
file in the root of a generated cordova-blackberry project.
                
> Add a ./cordova/lib/list-devices project-level helper script to BlackBerry
> --------------------------------------------------------------------------
>
>                 Key: CB-2975
>                 URL: https://issues.apache.org/jira/browse/CB-2975
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: BlackBerry
>            Reporter: Filip Maj
>            Assignee: Lorin Beer
>             Fix For: 2.9.0
>
>
> Lists out attached/connected devices.
> The script should print out, at a minimum, one device ID per line. If a 
> description of the device is available, each line should be in the form ID 
> DESCRIPTION. Other tooling can then use the first space as a delimiter.
> If no devices are connected, the script should print out nothing and exit 
> with code 0.
> If it is not possible to implement this script on the platform, the script 
> script should print an appropriate error message and exit with code 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to