08-12-2012 11:42 AM - edited 08-12-2012 12:03 PM
I use command line scripts to build, sign, and deploy apps (&debug tokens) to my devices but depending where I am (home/work/remote office) and depending on the device (3 PlayBooks, a BB10 dev alpha, and soon a BB10 phone, 4G LTE PlayBook?) deploying to the right device is challenging.
Does anyone have a script (batch, powershell, python, etc.) that will scan the local network 192.168.x.x for blackberry devices?
I'm just trying to automate as much of my dev process as possible to be able to spend more time productively coding apps.
08-13-2012 12:22 AM
08-13-2012 01:04 AM
My build/deploy flow is all Windows batch files. While I don't auto detect the addresses, I do have all of my scripts call a common one line script to set the IP address of the deploy target, so I can set it once per development session and in one and only one place. I will have to think of something else if in the future I want to deploy to multiple devices in one dev session.
08-13-2012 09:51 PM
08-13-2012 09:55 PM
08-20-2012 04:28 AM
I configure my various devices with fixed IP addresses on my wifi network. Then, on my development workstation, I add them to the hosts file with meaningful names.