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 334F317758 for ; Wed, 4 Feb 2015 01:08:15 +0000 (UTC) Received: (qmail 35704 invoked by uid 500); 4 Feb 2015 01:08:16 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 35670 invoked by uid 500); 4 Feb 2015 01:08:15 -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 35651 invoked by uid 99); 4 Feb 2015 01:08:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 01:08:15 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stevengill97@gmail.com designates 209.85.216.171 as permitted sender) Received: from [209.85.216.171] (HELO mail-qc0-f171.google.com) (209.85.216.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 01:08:11 +0000 Received: by mail-qc0-f171.google.com with SMTP id s11so38453954qcv.2 for ; Tue, 03 Feb 2015 17:06:20 -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=PJkyqscw6DYsiyyJB1S4jC8uJSQO4vruudrtIm9TTSQ=; b=K9n0aQEX2pYD7lbhVCaapcg+xjF2p2HteLUHAA0H+mK/bc42Qjo04s1Pl11fOCVpbw jzTPTRiQjSQjKcWhIB8BMfyb3UgyPkWBF0nA4i0NBOWA8yG3I1pkQGrFAkXPR06QG3m9 Fh3pJEEXXGvzBtEw7d11yhlxV7faXUXa37NDD0c2HJtaF5oVVwaJ6WvMQT0n4NZoOt9e OoAkbLbnBZF2ZAj0YeMkwNQTTIlJUNv7qHqayH+ni5t60ZDl3Xz4mdKlXH6ndCPYaa6K PbYKlgE73WlfPGF5dgaahPW5a+Fd97HFe7b5Ly99eQm6zRchzXTclQZb+LBHzkvXYRfp rwjg== X-Received: by 10.229.51.201 with SMTP id e9mr15678410qcg.4.1423011980355; Tue, 03 Feb 2015 17:06:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.40.200 with HTTP; Tue, 3 Feb 2015 17:06:00 -0800 (PST) In-Reply-To: References: From: Steven Gill Date: Tue, 3 Feb 2015 17:06:00 -0800 Message-ID: Subject: Re: Found a regression in cordova-android@3.7.0 To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=089e0168133e99c5a8050e38cb21 X-Virus-Checked: Checked by ClamAV on apache.org --089e0168133e99c5a8050e38cb21 Content-Type: text/plain; charset=ISO-8859-1 Cool. Thanks for looking into this Joe. I will get the vote thread for 3.7.1 started tomorrow. -Steve On Tue, Feb 3, 2015 at 5:04 PM, Joe Bowser wrote: > BTW: This works fine on 3.7.x, the issue was on master. I reverted > CordovaActivity.java only so that master now builds again, but master and > 4.0.x have now merged. We can proceed with doing a 3.7.1 release. > > On Tue Feb 03 2015 at 4:55:18 PM Joe Bowser wrote: > > > OK, I see what happened. I think we outsmarted ourselves. I'm going to > > revert the API change that Andrew and I talked about this morning, since > it > > seems that's currently what's breaking on master. This is why we need to > > make sure we run a sanity check every time we do a commit, since we could > > shoot ourselves in the foot, like what happened here. > > > > On Tue Feb 03 2015 at 4:41:32 PM Joe Bowser wrote: > > > >> Is this an issue on master, or on 3.7.x. If it's only master, it > >> shouldn't hold up the .1 release. > >> > >> Also, Andrew, you didn't even build before committing this? > >> > >> On Tue Feb 03 2015 at 3:38:25 PM Steven Gill > >> wrote: > >> > >>> Nice catch. I will patiently wait until this is ready before I move on > >>> this > >>> release (release issue: https://issues.apache.org/jira/browse/CB-8415) > >>> > >>> On Tue, Feb 3, 2015 at 3:31 PM, Murat Sutunc > >>> wrote: > >>> > >>> > Looks like this fix broke `cordova build` for windows: > >>> > > >>> > :CordovaLib:compileDebugJava > >>> > C:\dev\test\platforms\android\CordovaLib\src\org\apache\cord > >>> ova\CordovaActivity.java:151: > >>> > error: method init in interface CordovaWebView cannot be applied to > >>> given > >>> > types; > >>> > appView.init(this, pluginEntries, internalWhitelist, > >>> > externalWhitelist, preferences); > >>> > ^ > >>> > required: > >>> > CordovaInterface,List,Whitelist,Whitelist,Cordo > >>> vaPreferences > >>> > found: > >>> > CordovaActivity,ArrayList,Whitelist,Whitelist,C > >>> ordovaPreferences > >>> > reason: actual argument CordovaActivity cannot be converted to > >>> > CordovaInterface by method invocation conversion > >>> > C:\dev\test\platforms\android\CordovaLib\src\org\apache\cord > >>> ova\CordovaActivity.java:217: > >>> > error: cannot find symbol > >>> > return ret; > >>> > ^ > >>> > symbol: variable ret > >>> > location: class CordovaActivity > >>> > Note: Some input files use or override a deprecated API. > >>> > Note: Recompile with -Xlint:deprecation for details. > >>> > 2 errors > >>> > :CordovaLib:compileDebugJava FAILED > >>> > > >>> > FAILURE: Build failed with an exception. > >>> > > >>> > * What went wrong: > >>> > Execution failed for task ':CordovaLib:compileDebugJava'. > >>> > > Compilation failed; see the compiler error output for details. > >>> > > >>> > * Try: > >>> > Run with --stacktrace option to get the stack trace. Run with --info > or > >>> > --debug option to get more log output. > >>> > > >>> > BUILD FAILED > >>> > > >>> > Total time: 3.117 secs > >>> > > >>> > C:\dev\test\platforms\android\cordova\node_modules\q\q.js:126 > >>> > throw e; > >>> > ^ > >>> > Error code 1 for command: cmd with args: /s /c > >>> > "C:\dev\test\platforms\android\gradlew cdvBuildDebug -b > >>> > C:\dev\test\platforms\android\build.gradle -Dorg.gradle.daemon=true" > >>> > ERROR building one of the platforms: Error: > >>> > C:\dev\test\platforms\android\cordova\build.bat: Command failed with > >>> exit > >>> > code 8 > >>> > You may not have the required environment or OS to build this project > >>> > > >>> > -----Original Message----- > >>> > From: Joe Bowser [mailto:bowserj@gmail.com] > >>> > Sent: Tuesday, February 3, 2015 1:41 PM > >>> > To: dev@cordova.apache.org > >>> > Subject: Re: Found a regression in cordova-android@3.7.0 > >>> > > >>> > Was the plugin using public APIs? I'm fine with a 3.7.1, but I am > less > >>> OK > >>> > with calling this a regression if we never supported this. > >>> > > >>> > On Tue, 3 Feb 2015 1:38 pm Steven Gill > wrote: > >>> > > >>> > > Okay, lets get android 3.7.1 vote started, update blog post for > 3.7.1 > >>> > > and publish it when vote is successful. Do tools release following > >>> > > completion of 3.7.1 vote with 3.7.1 pinned. > >>> > > > >>> > > On Tue, Feb 3, 2015 at 1:09 PM, Andrew Grieve < > agrieve@chromium.org> > >>> > > wrote: > >>> > > > >>> > > > Regression: https://issues.apache.org/jira/browse/CB-8411 > >>> > > > > >>> > > > Already applied the fix to the 3.7.x branch (and to master). > >>> > > > > >>> > > > Question is whether we should skip pinning of 3.7.0, and go > >>> straight > >>> > > > to 3.7.1? Wouldn't take much extra effort, but we should hold off > >>> > > > the blog post though. > >>> > > > > >>> > > > The bug breaks Telerik's NativePageTransitions plugin ( > >>> > > > > https://github.com/Telerik-Verified-Plugins/NativePageTransitions) > >>> > > > and potentially others? > >>> > > > > >>> > > > Thoughts? > >>> > > > > >>> > > > > >>> > > > The good news is that I found the bug by adding a > >>> > > > --thirdpartyplugins > >>> > > flag > >>> > > > to createmobilespec.js, which just adds in a bunch of other > popular > >>> > > plugins > >>> > > > to the project. So, finding these sorts of breakages in the > future > >>> > > > will > >>> > > be > >>> > > > easier. > >>> > > > > >>> > > > >>> > > >>> > >> > --089e0168133e99c5a8050e38cb21--