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 01637DEF1 for ; Mon, 19 Nov 2012 23:46:11 +0000 (UTC) Received: (qmail 95447 invoked by uid 500); 19 Nov 2012 23:46:10 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 95424 invoked by uid 500); 19 Nov 2012 23:46:10 -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 95416 invoked by uid 99); 19 Nov 2012 23:46:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 23:46:10 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.189 as permitted sender) Received: from [64.18.1.189] (HELO exprod6og105.obsmtp.com) (64.18.1.189) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 23:46:02 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob105.postini.com ([64.18.5.12]) with SMTP ID DSNKUKrEpLEHXSoXmEDNUpioIokfePbum8aD@postini.com; Mon, 19 Nov 2012 15:45:41 PST Received: from inner-relay-1.corp.adobe.com (inner-relay-1.sea.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qAJNjcHP003112 for ; Mon, 19 Nov 2012 15:45:39 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qAJNjaNi027604 for ; Mon, 19 Nov 2012 15:45:38 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Mon, 19 Nov 2012 15:45:06 -0800 From: Filip Maj To: "dev@cordova.apache.org" Date: Mon, 19 Nov 2012 15:45:02 -0800 Subject: Re: RIM/BlackBerry folk: please help Thread-Topic: RIM/BlackBerry folk: please help Thread-Index: Ac3Gr+bJqDRzDZ7PTZqC5KGTK6jz+g== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.4.120824 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hey Gord, This is awesome! Thank you. Indeed this is exactly what I wanted. Now for the CI setup I no longer have to worry about debug tokens expiring. Unfortunately no matter how I package my webworks app, when I launch the app a black BlackBerry loading screen comes up on my dev alpha A device and doesn't go any further :( Any debugging approach you can recommend ? On 11/18/12 7:19 AM, "Gord Tanner" wrote: > I updated the ant scripts for blackberry to support debug tokens when >debugging on a device: > >https://git-wip-us.apache.org/repos/asf?p=3Dincubator-cordova-blackberry-w= eb >works.git;a=3Dcommitdiff;h=3D9c1edccf60b48e1914f4b7093cf00d477908a05d > >If you fill in the qnx.device.pin value in project.properties it will now >create and load a debug token on your device and load unsigned when using >the debug-device command. > >I hope this is a little closer for your CI stuff. > > >On Thu, Nov 15, 2012 at 8:49 AM, Nukul Bhasin wrote: > >> I agree with Gord's evaluation of the problem, >> The error you are getting is often because of buildId not getting >> incrementing >> >> Setting up debug tokens can really suck, but its the reality of where we >> are today. If you use QNX momentics (NDK tooling) it will hide all the >> ugliness for you. >> Command Line tools are lagging in bringing the same experience but >>Signing >> improvements are on the roadmap, no landing date yet though but its >>being >> re-thought completely. >> >> >> On Wed, Nov 14, 2012 at 6:26 PM, Filip Maj wrote: >> >> > Whatever. I gave up and used debug tokens. IT was fucking difficult to >> get >> > working but am now at a barely-workable level. >> > >> > On 11/14/12 3:18 PM, "Gord Tanner" wrote: >> > >> > >Signing worked for me with my super epic script: >> > > >> > >var sys =3D require('sys') >> > >var exec =3D require('child_process').exec; >> > > >> > >exec("ant qnx load-device", function (error, stdout, stderr) { >> > > sys.print('stdout: ' + stdout); >> > > sys.print('stderr: ' + stderr); >> > > if (error !=3D=3D 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 >> > >> >> > >> >> > >> > >> >> >> -- >> *Nukul Bhasin* >> *Computer Engineer, B.Eng* >> *10 Queens Quay W, suite#1710* >> *Toronto, ON, Canada* >> *Ph: 416 508 3157* >>