cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Sorokin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-8377) <runs> tag in Plugin.xml aren't parsed properly
Date Thu, 29 Jan 2015 12:15:55 GMT
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


Mime
View raw message