06-27-2013 08:00 AM
when I try to sign my app using command line 'blackberry-signer'
I got this error : command not recognized as an internal or external command !
can someone please tell me how to fix it ?
Solved! Go to Solution.
06-27-2013 12:03 PM
Are you running this from the bin subfolder of your SDK installation? Example:
C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 188.8.131.52\dependencies\tools\bin
By default, that folder is not added to the PATH of your command lines, so you will actually need to be in that folder in order for the command line to recognize the command.
06-27-2013 03:51 PM
2nd try at answering... (PC died)
I suggest using batch files and relative paths as this makes your life MUCH simpler
My build directory is C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 184.108.40.206\dependencies\bars
I open a command prompt there and use the following batch files
..\..\bbwp %1.zip -d -v -g <signingKeyPass> -b %2
Drop the -v for release builds - I call that one rbuild.bat
Now simply by dropping newapp.zip in my bars directory I can build and sign it using the following command
build newapp 1
The 1 @ end is the build number
A variant is not signing for quick checks of new code
Similarly I use install scripts so when the build has worked I can put it on a device
instz.bat (install it in my Z10)
..\tools\bin\blackberry-deploy -installApp -device <IPAddress> -password <devicePass> device\%1.bar
For a simulator build replace device\%1.bar with simulator\%1.bar
This then lets you use something like
There are many things you can do simply by adapting these simple examples to do what you want that make development extremely rapid and easy
You can also automate debug token generation and installation and many other handy things