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 9D00717743 for ; Wed, 4 Feb 2015 01:04:45 +0000 (UTC) Received: (qmail 26898 invoked by uid 500); 4 Feb 2015 01:04:37 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 26865 invoked by uid 500); 4 Feb 2015 01:04:37 -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 26840 invoked by uid 99); 4 Feb 2015 01:04:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 01:04:36 +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 bowserj@gmail.com designates 209.85.213.178 as permitted sender) Received: from [209.85.213.178] (HELO mail-ig0-f178.google.com) (209.85.213.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Feb 2015 01:04:11 +0000 Received: by mail-ig0-f178.google.com with SMTP id hl2so578387igb.5 for ; Tue, 03 Feb 2015 17:04:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=J5nNLGr/yFFSU0WMl0nSPqhXRWzc1ZctSeIJM9uDmyk=; b=Xv3bYtS8VYrd7z6N/yai+kXNN5d2Gs7pT3AlIAJxMFiqXAIS1ebt9qBDlCiUEJFWqV cB4vOKl6MGNPwQHz5BbN0sZKyKTGz+cp/keOG0VNpFURv4/vP78xKRIcA9QCbTAIo1wa OVmsnuQP520uy+Eirhd3/6Cjwubta5SaK9cz0aDnrVJwFiv0j+kU6Nl/0OiLb92AbwsL YxVoZEEIbDUyD3vzxDLFImIJyAbWayHk5cJp5O1yQjeB6fZKsYkDf11hrDpqT33yJNmE Gk4cSekyvGaIepur2/R5AvAXLFc8rJNLS9Hsj0TKXXgSrfB4HjjV0oLuD5B1uoCocM7Z 7XUA== X-Received: by 10.107.168.33 with SMTP id r33mr20255284ioe.60.1423011849221; Tue, 03 Feb 2015 17:04:09 -0800 (PST) MIME-Version: 1.0 References: From: Joe Bowser Date: Wed, 04 Feb 2015 01:04:08 +0000 Message-ID: Subject: Re: Found a regression in cordova-android@3.7.0 To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a11427bccc8c05a050e38c384 X-Virus-Checked: Checked by ClamAV on apache.org --001a11427bccc8c05a050e38c384 Content-Type: text/plain; charset=UTF-8 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 >>> > > 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. >>> > > > >>> > > >>> > >>> >> --001a11427bccc8c05a050e38c384--