You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/04/17 23:45:17 UTC

[jira] [Resolved] (CB-3026) When debugging/developing in browser using Ripple Chromium extension - HTTP 404 on cordova_plugins.json

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

Filip Maj resolved CB-3026.
---------------------------

    Resolution: Not A Problem

This is not an issue with any particular platform implementation, rather with cordova.js.

Plugin tooling that we are currently working on (see cordova-plugman) will generate a cordova_plugins.json file as you consume plugin tooling to add/remove cordova plugins. cordova.js then attempts to load this file on startup, to inject the cordova plugins' JavaScript files into your application's HTML file.

It is safe to ignore the 404, it should not affect behaviour in your application. If cordova_plugins.json does not exist it, all that means is cordova.js will not load any other cordova-compatible JavaScript for plugins outside of what is bundled inside your cordova.js file.

If it is causing your application to malfunction in some way then if you can provide a description on how your application fails, and we start to get to the bottom of a potential error, then great. Otherwise, this is not a problem (and I have marked it as such).
                
> When debugging/developing in browser using Ripple Chromium extension - HTTP 404 on cordova_plugins.json
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CB-3026
>                 URL: https://issues.apache.org/jira/browse/CB-3026
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 2.6.0
>         Environment: (arch)Linux, 64-bit, Android SDK v21~
>            Reporter: Nik Smile
>            Assignee: Filip Maj
>            Priority: Minor
>              Labels: build, javascript, patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Whenever the page loads it throws that 404: not found error, I'm assuming it's because it's a file that get's generated for the actual build(.jar file), which is missing when I debug/develop in browser - since it doesn't seem to throw that error when in Android Emulator. Would it be possible to just create an empty ({}) json file, perhaps by default( on ./cordova/create)? Or will that break things?

--
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