[
https://issues.apache.org/jira/browse/CB-7420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122570#comment-14122570
]
Sergey Grebnov commented on CB-7420:
------------------------------------
Temporary workaround here could be using the following value for target dir. In
this case plugin won't be stored in `www` so won't be removed
{code}
<source-file src="some_file" target-dir="..\..\..\plugins\plugin_id"/>
{code}
> 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.3.4#6332)