BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-24-2008, 03:35 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2008
Model: 8820
PIN: N/A
Carrier: at&t
Posts: 40
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Getting Ant to Sign

Please Login to Remove!

I've nearly got Ant setup to work with Ganymede, and it does invoke the SignatureTool.jar and sign stuff. But, if I run Ant -v, I get this:

Code:
sign:                                           
  [sigtool] Finding Files...                    
  [sigtool] Loading Files: 0%Loading Files: 100%
     [echo] Code signing complete.
Which has the loading line somewhat screwed up. Is this just a bug in that it is not overwriting the line properly?

Everything seems fine, but this just bothers me.
Offline  
Old 07-27-2008, 01:26 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Apr 2006
Location: Boston
Model: 8900
Carrier: AT&T
Posts: 98
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just curious: does the COD file actually get signed?

If it does --> Great! You're Done! Ignore what Ant says!

If it does not --> then you're probably going to have track down the problem. Last I knew, the Signature Tool needed a human in the loop to operate - the app was UI-based, and requires a password for you to get RIM to sign your COD file, which made it unusable via Ant.

Cheers,

karl
__________________
Karl G. Kowalski
---------------
Owns a RAZR
Develops for BlackBerry
So next phone will be........an iPhone 3G!
Offline  
Old 07-27-2008, 02:41 PM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2008
Location: Columbia, MD
Model: 8130
PIN: N/A
Carrier: verizon
Posts: 95
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

This code works for me

Code:
	<!-- digitally sign the cod for blackberry -->
	<target name="sign" depends="build">
		<sigtool codfile="${build.dir}/${cod.name}.cod" 
			password="mypassword"/>
	</target>
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.