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 3B8E8102EA for ; Tue, 18 Jun 2013 01:24:42 +0000 (UTC) Received: (qmail 13640 invoked by uid 500); 18 Jun 2013 01:24:42 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 13621 invoked by uid 500); 18 Jun 2013 01:24:42 -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 13613 invoked by uid 99); 18 Jun 2013 01:24:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 01:24:41 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,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.219.49 as permitted sender) Received: from [209.85.219.49] (HELO mail-oa0-f49.google.com) (209.85.219.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 01:24:36 +0000 Received: by mail-oa0-f49.google.com with SMTP id n9so4237621oag.22 for ; Mon, 17 Jun 2013 18:24:15 -0700 (PDT) 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 :x-google-sender-auth:message-id:subject:to:content-type; bh=nFpG6U0Pui6RE1QJi8DUe5LA75Qu3LjouXzPtvwuqyM=; b=huXP0UbCddslxjQRCuvgBl9Y4Y/tI0X7Kn/b8LL8Wuheaa1p6QAyFQT82DAhqOmVXz b58DcXvPg87gQQMTQI2HA6cSJtlblMLFjd2YNsWVY472+WssGaMArgO+OdO0Bhks4OqE uZYKANKxL1ah8nZekYfxwdYDQc33OnCQsudL4DF/FPMYpTO5D3dfjjPF8AtflQKiaKZq KO28nD6J3GQSv9Vb++Tf1fjovHZDMPLZmsFY0XvnASHN9p0ZdhnI5YH51vW9d0DEGRCg 1FbfTkmSO+CcXiX7TgQtGZq72lOOysGS3v+UmJjPbeFwT6I/GXcr1jTFOPBrcZMeLpqS pRaQ== 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 :x-google-sender-auth:message-id:subject:to:content-type; bh=nFpG6U0Pui6RE1QJi8DUe5LA75Qu3LjouXzPtvwuqyM=; b=atXp6acxoZX2DZS4WIfFWL50n+NjmWmPfzkV3QDcTEqfvblgaReyW5m5twwQXnWdCh 9QAysW1JOOitciGRrZdQERSGCmxAxWTi39j125r4cYTEIIg5emWAu0QMBn9yuBejuUo5 GsCfMFheSz6K65CNRu/fHWPi1TJyQnmeeSIsI= X-Google-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 :x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=nFpG6U0Pui6RE1QJi8DUe5LA75Qu3LjouXzPtvwuqyM=; b=jFG8i+r8GHMf0yfZ8+0As1S285EjqDFPExVHOBATDJxBwqAIhUmU/1xCGtHTvnvqFZ SLbCLDv+xPEyT9Cepd+OzE31usgiaA1VTRTjpSz8YMEsYqk7gBpV3YKevvJZ4TiMtLIo GxCk1ZkvFI0MjxsW0gqY20wueP9SZvC5KWrqQ2tQKFWke9rm0BvdpM6gpGG5zWDXpFQi auHp02HgU5juvlws/C4yA6zQfSGHh+QCo3QUsMIkziUvOLW5g+Y2Y/Oxfj0w0UsJq2Il 391nlGUz8PaAZ6UQny6J0Ox7KdOFSzkX9tMmNyebEyEQa/wQkxYnIKWyWxZb3T4IIj/8 1TZA== X-Received: by 10.60.164.6 with SMTP id ym6mr1757189oeb.122.1371518654753; Mon, 17 Jun 2013 18:24:14 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.182.176.66 with HTTP; Mon, 17 Jun 2013 18:23:54 -0700 (PDT) In-Reply-To: <6E27BA2B-A21C-4AAE-B8DE-10E1F03DC533@gmail.com> References: <6E27BA2B-A21C-4AAE-B8DE-10E1F03DC533@gmail.com> From: Andrew Grieve Date: Mon, 17 Jun 2013 21:23:54 -0400 X-Google-Sender-Auth: 5DtPd_RwQ25pwODrt-GSflxvIno Message-ID: Subject: Re: Android: Use source files instead of .jar file To: dev Content-Type: multipart/alternative; boundary=047d7b2ed7c1384c1d04df639259 X-Gm-Message-State: ALoCoQndA3JSej5EnoDljeULR4gBFlATHTaISX2N0Nobq6XnuYEfsSYrd07gKj+big8cW3dXd7Ynd0SOzVvL2KtDoAgD987kMkm3yXQSAIcEc+RjHEpWd4dcWe07f5XKXflEnrKAfM/12RbyQBCq0DoUZFdrca0LdmdsE1OYnSeVH/J3ajTPDS+hdbXet2gccTPg1/AwsM1f X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2ed7c1384c1d04df639259 Content-Type: text/plain; charset=ISO-8859-1 I don't think it's caused any issues on iOS, and it definitely has improved bug reports. That's because you get better stack traces on iOS though, I don't think the same is true for Android. I'll also point out that with 3.0, the majority of the code will already be in the form of source files since plugin code will not be in the form of jars. There have been several times on Android where I've had back-and-forth on a JIRA issue where I say "Hey - can you trying changing this line to that and see what happens" and their reply is "I have a JAR and so can't do that". If they have the source, then this flow works. Joe (or anyone else who thinks this is not a good idea) - I'd like to hear more about why you think this will cause things to break? On Mon, Jun 17, 2013 at 6:07 PM, Kerri Shotts wrote: > We surely have data on this, since iOS has transitioned; how many issues > have been raised on iOS because someone mucked around where they shouldn't > have? Perhaps not directly applicable to Android, but it would perhaps be a > rough estimate. > > > ___________________________________ > Kerri Shotts > photoKandy Studios, LLC > > On the Web: http://www.photokandy.com/ > > Social Media: > Twitter: @photokandy, http://twitter.com/photokandy > Tumblr: http://photokandy.tumblr.com/ > Github: https://github.com/kerrishotts > https://github.com/organizations/photokandyStudios > CoderWall: https://coderwall.com/kerrishotts > > Apps on the Apple Store: > > https://itunes.apple.com/us/artist/photokandy-studios-llc/id498577828 > > Books: > > http://www.packtpub.com/phonegap-2-mobile-application-hotshot/book > http://www.packtpub.com/phonegap-social-app-development/book > > > > On Jun 17, 2013, at 16:37, Joe Bowser wrote: > > > My bet is six months > > > > On Mon, Jun 17, 2013 at 2:32 PM, Filip Maj wrote: > >> I'm ambivalent on this issue. > >> > >> To play devil's advocate, Joe, it hasn't been an issue on iOS or Windows > >> Phone, so any speculation that this _will_ be an issue in the future is > >> just that: speculation. > >> > >> If anything we should set an over/under on how long it will take after > >> introducing this change before we get "Hey gaiz I changed > >> CordovaWebView.java and now nothing works!" issues ;) > >> > >> My bet is: a long time. > >> > >> On 6/17/13 2:11 PM, "Benn Mapes" wrote: > >> > >>> +1 > >>> I really like having source code. On Windows Phone we have moved from a > >>> pre-compiled .dll to just the source as well. Like Kerri said, it is > very > >>> helpful when stepping through your application and debugging any > problems > >>> you might have, as well as getting more people looking at the code and > >>> understanding it better. > >>> > >>> If users don't want to look at the source at all they can just treat > the > >>> cordovaLib folder like it's a .jar and not touch it. > >>> > >>> > >>> On Mon, Jun 17, 2013 at 1:04 PM, Joe Bowser wrote: > >>> > >>>> -1 > >>>> > >>>> This only caters to a minority of our users. Most of our users can't > >>>> debug > >>>> Cordova, since they can't write Java (or even Javascript) well. > >>>> > >>>> I think this will have far more things break and we'll have a huge > >>>> backlash > >>>> from our mainstream users, just like when we deprecated plugins. > >>>> On Jun 17, 2013 12:48 PM, "Andrew Grieve" > wrote: > >>>> > >>>>> I'd like to propose that instead of having the create script compile > a > >>>>> version of Cordova into a .jar, that instead it copies over the > source > >>>>> files instead. > >>>>> > >>>>> My main motivation is that doing so will make debugging native code > >>>> much > >>>>> easier since the source code will show up in Eclipse / Android Studio > >>>> by > >>>>> default instead of needing to reconfigure your project to get this to > >>>> work. > >>>>> > >>>>> We did the same change on iOS a while ago (moving from a precompiled > >>>>> framework library to just copying over source files), and I think the > >>>>> results were quite positive. It helps users file better bug reports, > >>>> and > >>>> I > >>>>> think also encourages them to submit bug fixes. It will also make it > >>>> easier > >>>>> for Plugin developers to figure out our APIs since they'll be able to > >>>> see & > >>>>> tweak the code. > >>>>> > >>>>> Agree / object? > >> > --047d7b2ed7c1384c1d04df639259--