BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-02-2010, 11:31 AM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Model: curve
PIN: N/A
Carrier: tmobile
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question BB Ant Tools and Code Signing

Please Login to Remove!

I've followed the directions on "How to - Protect persistent objects from access by unauthorized applications" in rims knowledge base and it all works when I build my .cod with Eclipse and the Blackberry developer tools for eclipse.
I'm not allowed to post links to the doc

In my code I have the following as documented at the url above
Code:
int moduleHandle = ApplicationDescriptor.currentApplicationDescriptor().getModuleHandle();
CodeSigningKey codeSigningKey = CodeSigningKey.get( moduleHandle, "MDW" );
When i run my eclipse builds i get a valid codeSigningKey but when i run the bb ant builds the codeSigningKey is NULL.

Has anyone ran into this problem ?
As far as i can tell eclipse and RAPC are doing some magic when they see the .key file in my src directory.

thanks for any help
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

BLOOM DAILY PLANNERS Vintage Floral Weekly Planner Jan - Dec 2018 AND PEN
$19.99
BLOOM DAILY PLANNERS Vintage Floral Weekly Planner Jan - Dec 2018 AND PEN pictureAshcroft Paper Tester, Pat. Dec. 31,1912, Vintage, Antique
$39.0
Ashcroft Paper Tester, Pat. Dec. 31,1912, Vintage, Antique pictureVintage REED Mfg Co. No. 31 Swivel Bench Vise Pat. Dec 24, 1912 Wt 47 lb, 3.5"
$72.0
Vintage REED Mfg Co. No. 31 Swivel Bench Vise Pat. Dec 24, 1912  Wt 47 lb, 3.5VINTAGE DEC 5016674-01C1 CONTROLLER CARD * USED *
$92.0
VINTAGE DEC 5016674-01C1 CONTROLLER CARD * USED * pictureVINTAGE DEC DIGITAL PBA 611466-002 IFW 1094 BOARD / CARD W/ INTEL PROCESSOR CPU
$15.0
VINTAGE DEC DIGITAL PBA 611466-002 IFW 1094 BOARD / CARD W/ INTEL PROCESSOR CPU picture






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