You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/01/22 03:21:20 UTC

[jira] [Reopened] (CB-5647) cordova_plugins.js folder not populated with clobbers for Android

     [ https://issues.apache.org/jira/browse/CB-5647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve reopened CB-5647:
-------------------------------


The root cause of the issue is that when you install a plugin from CLI, it's putting files into a platforms/FOO/.staging directory instead of in your platforms/FOO/www directory. Running `cordova prepare` will copy the files from .staging -> www, so the problem goes away with an extra `cordova prepare`.

Note that `prepare` gets run with pretty much every CLI command (compile, run, emulate, etc), so this goes mostly unnoticed by those using CLI to build.

> cordova_plugins.js folder not populated with clobbers for Android 
> ------------------------------------------------------------------
>
>                 Key: CB-5647
>                 URL: https://issues.apache.org/jira/browse/CB-5647
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 3.3.0
>            Reporter: Greg
>
> If you try to run any plugin command using PhoneGap CLI, such as:
> phonegap local plugin add org.apache.cordova.splashscreen
> The cordova_plugins.js does not get updated and the JS file doesn't get added to the www/ section. Native hooks are added, but not the JS side.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)