cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7420) Windows. Plugin <resource-file>s are removed from platform during prepare
Date Thu, 28 Aug 2014 12:18:08 GMT

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

Sergey Grebnov updated CB-7420:
-------------------------------

    Description: 
As per current implementation plugins <source-file> are placed to www folder on Windows
so removed during prepare step.

Looks like we have not seen this issue before since core plugins don't use source-file on
Windows - on windows we mostly use js-module elements.

The difference between js-module and source-file is that js-module content is supposed to
be js code only and is wrapped in special way before placing to platform. Source-file could
be anything which should be added as Content, for example Windows Store package resource file
(.pri) - http://msdn.microsoft.com/en-us/library/windows/apps/hh694557.aspx

  was:
As per current implementation plugins <source-file> are placed to www folder on Windows
so removed during prepare step.

Looks like we have not seen this issue before since core plugins don't use resource-file on
Windows - on windows we mostly use js-module elements.

The difference between js-module and source-file is that js-module content is supposed to
be js code only and is wrapped in special way before placing to platform. Source-file could
be anything which should be added as Content, for example Windows Store package resource file
(.pri) - http://msdn.microsoft.com/en-us/library/windows/apps/hh694557.aspx


> Windows. Plugin <resource-file>s are removed from platform during prepare
> -------------------------------------------------------------------------
>
>                 Key: CB-7420
>                 URL: https://issues.apache.org/jira/browse/CB-7420
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, Windows 8
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>              Labels: cordova-lib, windows
>
> As per current implementation plugins <source-file> are placed to www folder on
Windows so removed during prepare step.
> Looks like we have not seen this issue before since core plugins don't use source-file
on Windows - on windows we mostly use js-module elements.
> The difference between js-module and source-file is that js-module content is supposed
to be js code only and is wrapped in special way before placing to platform. Source-file could
be anything which should be added as Content, for example Windows Store package resource file
(.pri) - http://msdn.microsoft.com/en-us/library/windows/apps/hh694557.aspx



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

Mime
View raw message