You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "James Dubee (JIRA)" <ji...@apache.org> on 2016/02/12 20:46:18 UTC

[jira] [Commented] (CB-10604) resource-file tag in plugin.xml for cordova-windows generates incorrect link

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

James Dubee commented on CB-10604:
----------------------------------

Proposed change:

Set link.text in addResourceFileToProject() in JsproManager.js to relPath.split('/').pop();.

> resource-file tag in plugin.xml for cordova-windows generates incorrect link
> ----------------------------------------------------------------------------
>
>                 Key: CB-10604
>                 URL: https://issues.apache.org/jira/browse/CB-10604
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>            Reporter: James Dubee
>
> When using the resource-file tag in plugin.xml for cordova-windows, the link tag generated in the .jsproj has the wrong value.
> plugin.xml example:
>         <resource-file src="src/windows/buildtarget/ARM/msvcr110.dll" device-target="win"  target="plugins/cordova-plugin-mfp-jsonstore/win/ARM/msvcr110.dll" custom="true" arch="ARM" />
> .jsproj file content:
> <ItemGroup>
>         <Content Condition="'$(Platform)'=='ARM'" Include="plugins/cordova-plugin-mfp-jsonstore/win/ARM/sqlite3.dll">
>             <Link>plugins/cordova-plugin-mfp-jsonstore/win/ARM/sqlite3.dll</Link>
>             <CopyToOutputDirectory>Always</CopyToOutputDirectory>
>         </Content>
>     </ItemGroup> 
> Wanted .jsproj content:
> <ItemGroup>
>         <Content Condition="'$(Platform)'=='ARM'" Include="plugins/cordova-plugin-mfp-jsonstore/win/ARM/sqlite3.dll">
>             <Link>sqlite3.dll</Link>
>             <CopyToOutputDirectory>Always</CopyToOutputDirectory>
>         </Content>
>     </ItemGroup> 



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