You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2015/01/29 13:15:55 UTC

[jira] [Created] (CB-8377) tag in Plugin.xml aren't parsed properly

Alexander Sorokin created CB-8377:
-------------------------------------

             Summary: <runs> tag in Plugin.xml aren't parsed properly
                 Key: CB-8377
                 URL: https://issues.apache.org/jira/browse/CB-8377
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
    Affects Versions: Master
            Reporter: Alexander Sorokin
            Priority: Critical


With the example of mobile-spec on windows:

1. cordova-mobile-spec/createmobilespec/createmobilespec.cmd --windows mobilespec
2. go to \mobilespec\platforms\windows\www and open cordova_plugins.js

Expected result
there must be a section with "runs" element
{code:title=cordova_plugins.js|borderStyle=solid}
    {
        "file": "plugins/org.apache.cordova.globalization/src/windows/GlobalizationProxy.js",
        "id": "org.apache.cordova.globalization.GlobalizationProxy",
        "runs": true
    },
{code}
Actual result
There is a section without "runs" element
{code:title=cordova_plugins.js|borderStyle=solid}
    {
        "file": "plugins/org.apache.cordova.globalization/src/windows/GlobalizationProxy.js",
        "id": "org.apache.cordova.globalization.GlobalizationProxy"
    },
{code}
This indicates that globalization plugin's Plugin.xml was not parsed properly:

{code:title=Plugin.xml|borderStyle=solid}
    <!-- windows -->
    <platform name="windows">
        <js-module src="src/windows/GlobalizationProxy.js" name="GlobalizationProxy">
            <runs />
        </js-module>
        <framework src="src/Windows/GlobalizationProxy.winmd" custom="true"/>
    </platform>
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org