Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0826D913 for ; Wed, 14 Nov 2012 23:19:48 +0000 (UTC) Received: (qmail 56468 invoked by uid 500); 14 Nov 2012 23:19:48 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 56335 invoked by uid 500); 14 Nov 2012 23:19:48 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 56327 invoked by uid 99); 14 Nov 2012 23:19:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 23:19:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gtanner@gmail.com designates 209.85.219.47 as permitted sender) Received: from [209.85.219.47] (HELO mail-oa0-f47.google.com) (209.85.219.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 23:19:40 +0000 Received: by mail-oa0-f47.google.com with SMTP id h1so1050790oag.6 for ; Wed, 14 Nov 2012 15:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=soA/fh9I5oKH2chZgV8v9nuNu8+6juAp9fekkz6FyP8=; b=T6tvjgRBitikBx/3r704iXsWJXM15B2mtZhPeRcybuvPFCWc4zjC3K9CGP/izAaTQQ 76pijOYyh3nsLU3vXJY5C+VVujFlHb8xZgxDgDKlXf92EdGLQ51nJofmCzEVZKgLkIpM 1x4+lIKnnctNgVpL7YU5ACFDJg0f6cvIDh7z4kzTB4QtfER8KZJTB2xAePQy03PD6+wy bmpUTkEZAbU13E65wgnua+McaYFrct9XxAu0GA6WvT+KYzRbNFvYCqIMLsXTpPhnBHm2 Z6yarYUlCKk/QTJjQm7IcBs220wvlOrOpnLytrwDMnbrWtoHPQYNuEqVbmVlQFW9ZdEg ZOVw== Received: by 10.60.31.105 with SMTP id z9mr22163894oeh.116.1352935159284; Wed, 14 Nov 2012 15:19:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.174.7 with HTTP; Wed, 14 Nov 2012 15:18:59 -0800 (PST) In-Reply-To: References: From: Gord Tanner Date: Wed, 14 Nov 2012 18:18:59 -0500 Message-ID: Subject: Re: RIM/BlackBerry folk: please help To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1f21692c5a304ce7cc33f X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1f21692c5a304ce7cc33f Content-Type: text/plain; charset=ISO-8859-1 Signing worked for me with my super epic script: var sys = require('sys') var exec = require('child_process').exec; exec("ant qnx load-device", function (error, stdout, stderr) { sys.print('stdout: ' + stdout); sys.print('stderr: ' + stderr); if (error !== null) { console.log('exec error: ' + error); } }); I think your main issue is the version number and buildId hackery for signing. On Wed, Nov 14, 2012 at 5:38 PM, Filip Maj wrote: > That's not what happens though. > > When I create a fresh project, the name and version are always the same. > > When I run the signing via node, it fails. > > Then I'll CD into this exact same project folder and run the signing > manually. It works. > > I'll also create a new project manually with that same version and app > name. If I sign it via command line it works. If I do it via my node > script it fails. > > On 11/14/12 2:32 PM, "Tim Kim" wrote: > > >The reason why you keep getting signing failures even with a fresh project > >is that you already did it once. ie, in your config.xml, the widget > >version > >is set to "1.0.0.0" and the name attribute is "cordovaExample". So the > >first time should work, but every new fresh project there after will have > >the same values. > > > >I would recommend updating the version number every time you deploy and > >not > >worry about that debug-token business - I've never used it. > > > >-- > >Timothy Kim > > --e89a8fb1f21692c5a304ce7cc33f--