cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Soref (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6140) Plugman allows deletion of dependencies
Date Tue, 18 Mar 2014 00:21:43 GMT

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

Josh Soref commented on CB-6140:
--------------------------------

Using [~jbondc]'s fix for CB-6272, 

$ PATH=$PATH:/Cordova/cordova-cli/bin:/adt-bundle-mac-x86_64-20130917/sdk/tools:~/apache-ant-1.9.2/bin
sh -c 'cordova create yip; cd yip; cordova platform add android ios blackberry10; cordova
plugin add org.cordova.mobile-spec-dependencies --searchpath  ~/Cordova/cordova-mobile-spec;
cordova plugin remove org.cordova.mobile-spec-dependencies; cordova plugin'

Creating a new cordova project with name "HelloCordova" and id "io.cordova.hellocordova" at
location "...yip"
Creating android project...
Creating Cordova project for the Android platform:
...
Creating ios project...
Creating blackberry10 project...
...
Installing "org.apache.cordova.test.echo" for ios
Uninstalling 20 dependent plugins.
Uninstalling org.apache.cordova.battery-status from android
...
Uninstalling org.cordova.mobile-spec-dependencies from android
Uninstalling 20 dependent plugins.
Uninstalling org.apache.cordova.battery-status from blackberry10
...
Uninstalling org.cordova.mobile-spec-dependencies from blackberry10
Uninstalling 20 dependent plugins.
Uninstalling org.apache.cordova.battery-status from iOS
...
Uninstalling org.cordova.mobile-spec-dependencies from ios
Removing "org.cordova.mobile-spec-dependencies"
[ 'com.blackberry.pim.lib', 'com.blackberry.utils' ]

$ cordova plugin
[ 'com.blackberry.pim.lib', 'com.blackberry.utils' ]
$ cordova plugin rm com.blackberry.pim.lib
Uninstalling com.blackberry.pim.lib from android
Uninstalling com.blackberry.pim.lib from blackberry10
Uninstalling com.blackberry.pim.lib from ios
Removing "com.blackberry.pim.lib"
$ cordova plugin 
[ 'com.blackberry.utils' ]
$ cordova plugin rm com.blackberry.utils
Uninstalling com.blackberry.utils from android

q/q.js:126
                    throw e;
                          ^
Error: ENOENT, no such file or directory 'yip/plugins/com.blackberry.pim.lib/plugin.xml'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at Object.module.exports.parseElementtreeSync (cordova-plugman/src/util/xml-helpers.js:119:27)
    at cordova-plugman/src/util/dependencies.js:40:35
    at Array.forEach (native)
    at Object.module.exports.package.generate_dependency_info (cordova-plugman/src/util/dependencies.js:39:45)
    at runUninstallPlatform (cordova-plugman/src/uninstall.js:173:53)
    at Function.module.exports.uninstallPlatform (cordova-plugman/src/uninstall.js:55:12)
    at cordova-cli/src/plugin.js:173:58
    at _fulfilled (q/q.js:798:54)

...

> Plugman allows deletion of dependencies
> ---------------------------------------
>
>                 Key: CB-6140
>                 URL: https://issues.apache.org/jira/browse/CB-6140
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Plugman
>    Affects Versions: 3.4.0
>            Reporter: Bryan Higgins
>
> plugman 0.20.1 / CLI 3.4.0-0.1.2
> After a dependency was automatically added for me, I am able to remove it.
> "prepare" then complains about a missing plugin.xml file
> I used the following plugin, but I suspect this behaviour would occur for all with a
top-level dependency:
> https://github.com/blackberry/cordova-blackberry-plugins/blob/master/plugin/com.blackberry.sensors/plugin.xml



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

Mime
View raw message