You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nadav Greenberg (JIRA)" <ji...@apache.org> on 2014/04/02 08:56:14 UTC

[jira] [Created] (CB-6386) plugin.xml config-file's target requires suffix of xml\plist

Nadav Greenberg created CB-6386:
-----------------------------------

             Summary: plugin.xml config-file's target requires suffix of xml\plist
                 Key: CB-6386
                 URL: https://issues.apache.org/jira/browse/CB-6386
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 3.4.0, 3.3.0, 3.2.0
            Reporter: Nadav Greenberg


When adding a plugin with config-file element, where the target attribute points to a file without a suffix, that file is assumed to be ".plist" and installation fails (as it is not a valid plist file).

This prevents usage of the config-file element in many cases (the one I can across was adding attributes to .classpath).

This used to work in Cordova 3.0, but now the plugin installation breaks, throwing a cryptic "malformed document. first element should be plist" error.

I suspect this is related to the fix of issue #CB-4943



--
This message was sent by Atlassian JIRA
(v6.2#6252)