Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

Use the BlackBerry Signature Tool from a command line

by Retired ‎02-17-2010 11:07 AM - edited ‎02-19-2010 01:40 PM (12,723 Views)


This article applies to the following:

  • BlackBerry® Java® Development Environment (BlackBerry JDE)


The BlackBerry Signature Tool contains a command line version. Running the BlackBerry Signature Tool directly from the command line allows you to add extra parameters to speed up the signing process if desired. In BlackBerry JDE 4.3 and later you can add the -p <password> flag (along with -a -C) to completely automate the processes. For security reasons, this is not recommended.

The command line usage is described below:

java -jar SignatureTool.jar [-p <password>][-a][-c][-C][-f [-d] inputFile][-r directory ][-help] ( codFile (codFile) ... | csiFile )

There are several command line parameters available.

Value  Description 
-p password The BlackBerry Signature Tool password - used to include your BlackBerry Signature Tool password when you request signatures automatically*
-a Used when you want the program to automatically request for signatures
-c Used when you want the program to close after requesting signatures if no errors occurred
-C Used when you want the program to close regardless of its success
-s Print code signing statistics on the number of signatures received and the number of signatures requested
-r Used when you want to recurse through a directory grabbing all .cod files in the underlying directories
-f Used when you want to use a file to specify which .cod files to load instead of using the command line
-d Used in conjunction with the -f option to delete the temporary file passed in as part of the -f option

For more information, see the BlackBerry Signature Tool Developer Guide.

* This feature is available in the BlackBerry Signature Tool in BlackBerry JDE 4.3 or later and the BlackBerry JDE Component Package 4.3 or later.

Users Online
Currently online: 18 members 1,422 guests
Please welcome our newest community members: