[
https://issues.apache.org/jira/browse/CB-4943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783623#comment-13783623
]
ASF subversion and git services commented on CB-4943:
-----------------------------------------------------
Commit 4ea41d2f612094144c0119f28c7082a3a1539fb2 in branch
refs/heads/cordova-3.1.x from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=4ea41d2 ]
[windows8][CB-4943] .appxmanifest should be treated like .xml, not like a
plist-xml
> Error removing plugin using cordova-cli for Windows8 3.1.x
> ----------------------------------------------------------
>
> Key: CB-4943
> URL: https://issues.apache.org/jira/browse/CB-4943
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Plugman, Windows 8
> Affects Versions: 3.1.0
> Environment: windows8
> cordova-cli branch 3.1.x +
> pull request
> https://github.com/apache/cordova-cli/pull/44
> cordova-windows branch 3.1.x
> Reporter: Carlos Santana
> Assignee: Jesse MacFadyen
>
> cordova platform add windows8
> cordova platform rm windows8
> cordova platform add windows8
> cordova plugin add Z:\Documents\cordova-3.1.x\cordova-plugin-file -d
> cordova plugin add Z:\Documents\cordova-3.1.x\cordova-plugin-camera -d
> But it failed on "cordova plugin rm org.apache.cordova.camera -d"
> Error: malformed document. First element should be <plist> wtf?
> C:\Users\Carlos\Desktop\Win8-0928> node
> Z:\Documents\cordova-3.1.x\cordova-cli\bin\cordova plugin rm
> org.apache.cordova.camera -d
> Calling plugman.uninstall on plugin "org.apache.cordova.camera" for platform
> "windows8"
> Uninstalling org.apache.cordova.camera...
> Beginning processing of action stack for windows8 project...
> Parsing windows8 project files...
> Parsing Windows8 project files...
> creating jsproj from project at :
> C:\Users\Carlos\Desktop\Win8-0928\platforms\windows8\CordovaApp.jsproj
> Action stack processing complete.
> Writing out windows8 project files...
> Preparing windows8 project...
> Processing configuration changes for plugins.
> Error: malformed document. First element should be <plist>
> at Object.exports.parseStringSync
> (Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plist\lib\plist.js:80:10)
> at Object.exports.parseFileSync
> (Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plist\lib\plist.js:19:19)
> at
> Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:254:67
> at Array.forEach (native)
> at
> Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:221:67
> at Array.forEach (native)
> at
> Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:219:49
> at Array.forEach (native)
> at Object.module.exports.remove_plugin_changes
> (Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:201:35)
> at
> Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:414:28
--
This message was sent by Atlassian JIRA
(v6.1#6144)