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 14C00108C9 for ; Fri, 20 Dec 2013 16:51:12 +0000 (UTC) Received: (qmail 87400 invoked by uid 500); 20 Dec 2013 16:50:45 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 87276 invoked by uid 500); 20 Dec 2013 16:50:41 -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 87226 invoked by uid 99); 20 Dec 2013 16:50:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 16:50:39 +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 agrieve@google.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pb0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 16:50:33 +0000 Received: by mail-pb0-f43.google.com with SMTP id rq2so2824621pbb.30 for ; Fri, 20 Dec 2013 08:50:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=EHEFlOd0G+J9jHQYRnY9W2cqinh/hEiZJm6+GbtUC8U=; b=FgUaUNNaC4hmR098DtxwUoMYU5k8NbTmw2AvYSEZ3174ElbtCUcYR2cpr4nNG6qYT2 WIXX7bAMQ9WReNkRgmKo6hezQ/ejHAW1uVZ11xiiCKwySFBgerkvYXMmDwgXqVItxNfb LiDGS8kJG4DhdRBrMAT2ACfsVuSyY1cdbahkWjeuVUhYkThPRZECJQmu6iV+lJz925Zo saoHIVauixOTBsImT6GVeAClwH+FHyDjKAo/Nv7yZbUI394EG5vPAf0wURV1gBIS9uDT nnzI2HkZCfgML6kVkZJ5gzEFM/Z5n0ZKByr12wCzRK3+x8MCUsUaGwxKLBultOZv+ZJy Sa2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=EHEFlOd0G+J9jHQYRnY9W2cqinh/hEiZJm6+GbtUC8U=; b=GfAM31RsL0TKNL/VXgBCNtlNB3jBWgt++y9uqTnrxc3C9JcOc03OTdiCq1yplCv3V6 22DnNUbx/7Aty7NL+10DS8I8re+JZPeQ5BIjrlDybyqpF9z+fYpeRtS7P9kMN7NRxEnJ FCS+uEug8n2IEiEXXvPOJO3hbKS/cdfzoKToI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=EHEFlOd0G+J9jHQYRnY9W2cqinh/hEiZJm6+GbtUC8U=; b=WRLftshLPW9Dy1YnAw5MYNMCwDXEjV29rqp0P75LbQjNqi5k2cQvzdaBWoVDg9M+7P bLP38fPzWhrGYt9oSBUOQGWZMYEuy7iGXV0OcbjaXZ/bc7bmAYsYIAKo1Br3rucXJUn8 Rbtd/OYrxnOhpqc3eM++ZItTvXr8x6vO1jHrse32pPAlC3jip8R2xMYJ0tvaDTfCG8iV N/2YFMmHG3WnLuXO7Sfxg87ZfYT+KB8eRx2A7Wfd30HFflQXjkGXHhfufdZYz8ll80Wf jjgo/BnLGQKFdWMDFLqxzAKWzx1AQPmRKlX7yImqYVX445Memv5PPK2pBKG36KUuxQDa hWjQ== X-Gm-Message-State: ALoCoQnYgjHp76V3jFChauS40VHyh/Q3XoRLjKGluLy2jUV2iMDcdlY7QiqxLvkThFqRKMOQMpT9vCZzGwf1f3d3FIUxzlL4Lk7muVLz4kVAXwdZxJA64Zi41hkm06an78wusLKopjC9R8PPkLEgq4RLR9JdK/BeEDpniOOpTcS80gtsS5pcn9s6UKe9cUk5foAtII9/A1uYF3AHhRO0IbGK6RQ66zYwjw== X-Received: by 10.68.139.100 with SMTP id qx4mr9686064pbb.144.1387558212800; Fri, 20 Dec 2013 08:50:12 -0800 (PST) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.68.136.35 with HTTP; Fri, 20 Dec 2013 08:49:51 -0800 (PST) In-Reply-To: References: From: Andrew Grieve Date: Fri, 20 Dec 2013 11:49:51 -0500 X-Google-Sender-Auth: yEX0IWRqRv6dFCQZsvoN9xCyGJw Message-ID: Subject: Re: Cordova 3.3.1-0.1.2 doesn't load javascript for plugins To: dev , "bowserj@apache.org" Cc: Braden Shepherdson Content-Type: multipart/alternative; boundary=001a11c361d2612e3404edfa125a X-Virus-Checked: Checked by ClamAV on apache.org --001a11c361d2612e3404edfa125a Content-Type: text/plain; charset=UTF-8 CLI is released on its own as well as when we do a platforms release. I believe this is a pretty minor bug though, since running prepare again fixes things (which happens when you run "cordova build"). On Fri, Dec 20, 2013 at 11:39 AM, Joe Bowser wrote: > Is the CLI released along with the platforms? Today is kind of a bad > day to release anything, as this is the last working day of Adobe for > the year, and over half our team is already on PTO. I'm sure others > are in the same boat. > > On Fri, Dec 20, 2013 at 7:30 AM, Andrew Grieve > wrote: > > I'm seeing the same thing. > > > > However: > > $ cat platforms/ios/.staging/www/cordova_plugins.js > > shows the correct info, and if I run "cordova prepare", then > > $ cat ./platforms/ios/www/cordova_plugins.js > > shows the right stuff. > > > > I hit this bug last week, and Braden figured out that the fix for CB-5579 > > had a side-effect of causing CLI to put things in .staging that should > > actually go straight in www/. > > > > Braden - did you ever file this bug? > > > > > > > > > > On Fri, Dec 20, 2013 at 9:35 AM, Don Coleman > wrote: > > > >> *device.name *was a bad example. > >> > >> The problems I'm seeing is that *device* doesn't exist. This also > happens > >> with other plugins I've tried. The plugin gets installed but the > js-module > >> code doesn't. > >> > >> $ cat ./platforms/ios/www/cordova_plugins.js > >> cordova.define('cordova/plugin_list', function(require, exports, > module) { > >> module.exports = []; > >> module.exports.metadata = > >> // TOP OF METADATA > >> {} > >> // BOTTOM OF METADATA > >> }); > >> > >> > >> On Thu, Dec 19, 2013 at 7:39 PM, Shazron wrote: > >> > >> > device.name has been deprecated for some time, and probably has been > >> > removed (but doc not updated) > >> > > >> > just repro'ed your steps with 3.3.1-0.1.2 > >> > if you tried device.model - it should work > >> > > >> > > >> > On Thu, Dec 19, 2013 at 3:49 PM, Don Coleman > >> > wrote: > >> > > >> > > I upgraded to 3.3.1-0.1.2 and iOS isn't working anymore. > >> > > > >> > > Based on Greg's bug report it looks like Android has a similar > problem > >> > > https://issues.apache.org/jira/browse/CB-5647 > >> > > > >> > > I'm using Cordova 3.3.1-0.1.2 on OS X 10.9.1, Xcode 5.0.2 (5A3005), > >> Node > >> > > v0.10.22 > >> > > $ cordova create foo com.example.foo Foo > >> > > $ cd foo > >> > > $ cordova platform add ios > >> > > $ cordova plugin add org.apache.cordova.device > >> > > > >> > > add the following to app.deviceReady in www/js/index.js > >> > > > >> > > alert("Device Name " + device.name); > >> > > > >> > > device.name fails > >> > > cordova_plugins.js doesn't contain any plugins > >> > > > >> > > >> > --001a11c361d2612e3404edfa125a--