cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [1/2] android commit: CB-3165: Deprecation Notice
Date Thu, 18 Apr 2013 21:52:24 GMT
Updated Branches:
  refs/heads/master c798d131b -> 025676d6e


CB-3165: Deprecation Notice


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/aad396ae
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/aad396ae
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/aad396ae

Branch: refs/heads/master
Commit: aad396ae38d84088d96e34d368ad573d13136a99
Parents: bf3e024
Author: Joe Bowser <bowserj@apache.org>
Authored: Thu Apr 18 14:44:00 2013 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Thu Apr 18 14:44:00 2013 -0700

----------------------------------------------------------------------
 .../src/org/apache/cordova/api/PluginManager.java  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/aad396ae/framework/src/org/apache/cordova/api/PluginManager.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/api/PluginManager.java b/framework/src/org/apache/cordova/api/PluginManager.java
index 774b21c..7d823cd 100755
--- a/framework/src/org/apache/cordova/api/PluginManager.java
+++ b/framework/src/org/apache/cordova/api/PluginManager.java
@@ -119,6 +119,7 @@ public class PluginManager {
                     service = xml.getAttributeValue(null, "name");
                     pluginClass = xml.getAttributeValue(null, "value");
                     // System.out.println("Plugin: "+name+" => "+value);
+                    Log.d(TAG, "<plugin> tags are deprecated, please use <features>
instead. <plugin> will no longer work as of Cordova 3.0");
                     onload = "true".equals(xml.getAttributeValue(null, "onload"));
                     entry = new PluginEntry(service, pluginClass, onload);
                     this.addService(entry);


Mime
View raw message