You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2013/06/13 04:17:20 UTC
[jira] [Commented] (CB-3784) PluginManager missing configuration
file error is out-of-date
[ https://issues.apache.org/jira/browse/CB-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681850#comment-13681850 ]
Peter commented on CB-3784:
---------------------------
There are also other out-dated comments in the same file such as
{code}
// If first time, then load plugins from plugins.xml file
{code}
and
{code}
* Load plugins from res/xml/plugins.xml
{code}
> PluginManager missing configuration file error is out-of-date
> -------------------------------------------------------------
>
> Key: CB-3784
> URL: https://issues.apache.org/jira/browse/CB-3784
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.7.0
> Reporter: Peter
> Assignee: Joe Bowser
> Priority: Minor
>
> The PluginManager loadPlugins() method logic prefers to load from *config.xml*, and says the *plugins.xml* will be deprecated.
> This is not consistent with the error message in pluginConfigurationMissing().
> {code}
> private void pluginConfigurationMissing() {
> LOG.e(TAG, "=====================================================================================");
> LOG.e(TAG, "ERROR: plugin.xml is missing. Add res/xml/plugins.xml to your project.");
> LOG.e(TAG, "https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=blob;f=framework/res/xml/plugins.xml");
> LOG.e(TAG, "=====================================================================================");
> }
> {code}
>
> The error message should say the config.xml file is missing; not the plugins.xml file. The referenced link is also out-of-date.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira