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 15:33:35 UTC

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

    [ https://issues.apache.org/jira/browse/CB-8377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296937#comment-14296937 ] 

Alexander Sorokin commented on CB-8377:
---------------------------------------

I'll send a PR for this tomorrow.

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