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

ASF subversion and git services commented on CB-7004:
-----------------------------------------------------

Commit b01b43b883fbfe696a203403e0f5b2209fd278cb in cordova-lib's branch 
refs/heads/master from [~kamrik]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=b01b43b ]

CB-7004: Uninstall of mobilespec's dependencies plugin fails

It was trying to uninstall BlackBerry specific plugin from Android:
Error: ENOENT, no such file or directory
'.../mobilespec/plugins/com.blackberry.utils/plugin.xml'

This is due to a recent commit
c7f4f7fc1f60357900ecf98a30c0f0969bc07e68

Added a simple check to just return if a the plugin dir exists.


> Uninstall of mobilespec's dependencies plugin doesn't work
> ----------------------------------------------------------
>
>                 Key: CB-7004
>                 URL: https://issues.apache.org/jira/browse/CB-7004
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>
> {code}
> cordova-mobile-spec/createmobilespec/createmobilespec.js --android --ios
> cd mobilespec
> cordova plugin remove org.cordova.mobile-spec-dependencies
> {code}
> Results in:
> {quote}
> Uninstalling 22 dependent plugins.
> Uninstalling org.apache.cordova.battery-status from android
> Uninstalling org.apache.cordova.file from android
> Uninstalling org.apache.cordova.media-capture from android
> Uninstalling org.apache.cordova.media from android
> Uninstalling org.apache.cordova.file-transfer from android
> Uninstalling org.apache.cordova.camera from android
> Uninstalling org.apache.cordova.console from android
> Error: ENOENT, no such file or directory 
> '/Users/agrieve/git/cordova/mobilespec/plugins/com.blackberry.utils/plugin.xml'
>     at Error (native)
>     at Object.fs.openSync (fs.js:443:18)
>     at Object.fs.readFileSync (fs.js:309:15)
>     at Object.module.exports.parseElementtreeSync 
> (/Users/agrieve/git/cordova/cordova-lib/cordova-lib/src/util/xml-helpers.js:121:27)
>     at runUninstallPlatform 
> (/Users/agrieve/git/cordova/cordova-lib/cordova-lib/src/plugman/uninstall.js:192:36)
>     at 
> /Users/agrieve/git/cordova/cordova-lib/cordova-lib/src/plugman/uninstall.js:228:24
>     at Array.map (native)
>     at runUninstallPlatform 
> (/Users/agrieve/git/cordova/cordova-lib/cordova-lib/src/plugman/uninstall.js:220:22)
>     at Function.module.exports.uninstallPlatform 
> (/Users/agrieve/git/cordova/cordova-lib/cordova-lib/src/plugman/uninstall.js:78:12)
>     at 
> /Users/agrieve/git/cordova/cordova-lib/cordova-lib/src/cordova/plugin.js:187:58
> {quote}



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

Reply via email to