Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78650FC27 for ; Mon, 13 May 2013 22:44:09 +0000 (UTC) Received: (qmail 43635 invoked by uid 500); 13 May 2013 22:44:09 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 43618 invoked by uid 500); 13 May 2013 22:44:09 -0000 Mailing-List: contact commits-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 commits@cordova.apache.org Received: (qmail 43610 invoked by uid 99); 13 May 2013 22:44:09 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 May 2013 22:44:09 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1C40C790F; Mon, 13 May 2013 22:44:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Message-Id: <1d829fce9a8442d4b1a66d74f5596ec2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ios commit: [CB-3166] Add deprecation notice for use of in config.xml in iOS Date: Mon, 13 May 2013 22:44:09 +0000 (UTC) Updated Branches: refs/heads/master 236e12e95 -> 4b672e022 [CB-3166] Add deprecation notice for use of in config.xml in iOS Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/4b672e02 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/4b672e02 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/4b672e02 Branch: refs/heads/master Commit: 4b672e02277f1666c260dbf089fbde1492df31f5 Parents: 236e12e Author: Shazron Abdullah Authored: Mon May 13 15:44:08 2013 -0700 Committer: Shazron Abdullah Committed: Mon May 13 15:44:08 2013 -0700 ---------------------------------------------------------------------- CordovaLib/Classes/CDVConfigParser.m | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/4b672e02/CordovaLib/Classes/CDVConfigParser.m ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/CDVConfigParser.m b/CordovaLib/Classes/CDVConfigParser.m index 2b8722a..23ae401 100644 --- a/CordovaLib/Classes/CDVConfigParser.m +++ b/CordovaLib/Classes/CDVConfigParser.m @@ -56,6 +56,13 @@ if ([@"true" isEqualToString : attributeDict[@"onload"]]) { [self.startupPluginNames addObject:name]; } + NSLog(@"\nUse of the tag has been deprecated. Use a tag instead. Change:\n" + @" \n" + @"To:\n" + @" \n" + @" \n" + @" \n" + , attributeDict[@"name"], attributeDict[@"value"], attributeDict[@"name"], attributeDict[@"value"]); } else if ([elementName isEqualToString:@"feature"]) { // store feature name to use with correct parameter set featureName = [attributeDict[@"name"] lowercaseString]; } else if ((featureName != nil) && [elementName isEqualToString:@"param"]) {