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

[jira] [Updated] (CB-10710) --www ignored in plugman 1.1.0

     [ https://issues.apache.org/jira/browse/CB-10710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Khandelwal updated CB-10710:
-----------------------------------
    Labels: triaged  (was: )

> --www ignored in plugman 1.1.0
> ------------------------------
>
>                 Key: CB-10710
>                 URL: https://issues.apache.org/jira/browse/CB-10710
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>    Affects Versions: 1.1.0
>         Environment: Mac OS 10.11.3
>            Reporter: Jacob Weber
>            Assignee: Vladimir Kotikov
>              Labels: triaged
>
> I recently upgraded to Plugman 1.1.0 from a previous version (not sure which).
> It seems like the --www argument is now ignored when installing/removing a plugin, even though it's still documented (and still useful).
> Instead, it's always using the default location (e.g. android/assets/www/plugins).
> For example, my project is structured like this:
> {code}
> /myproject
>     /android (android Cordova project)
>     /www
>         index.html
>         /cordova
>             /android
> {code}
> Here's what happened when I removed and re-installed a plugin:
> {code}
> $ cd /myproject
> $ plugman -d uninstall --platform android --project android --plugin "cordova-plugin-statusbar" --www www/cordova/android/
> Running command: /myproject/android/cordova/version 
> Command finished with error code 0: /myproject/android/cordova/version 
> Executing "before_plugin_uninstall"  hook for "cordova-plugin-statusbar" on android.
> Uninstalling cordova-plugin-statusbar from android
> Beginning processing of action stack for android project...
> Action stack processing complete.
> Removing "cordova-plugin-statusbar"
> Deleted "cordova-plugin-statusbar"
> $ plugman -d install --platform android --project android --plugin "cordova-plugin-statusbar" --www www/cordova/android/
> Fetching plugin "cordova-plugin-statusbar" via npm
> Copying plugin "/home/.npm/cordova-plugin-statusbar/2.1.1/package" => "/myproject/android/cordova/plugins/cordova-plugin-statusbar"
> Installing "cordova-plugin-statusbar" for android
> Running command: /myproject/android/cordova/version 
> Command finished with error code 0: /myproject/android/cordova/version 
> Executing "before_plugin_install"  hook for "cordova-plugin-statusbar" on android.
> Install start for "cordova-plugin-statusbar" on android.
> Beginning processing of action stack for android project...
> Action stack processing complete.
> Install complete for cordova-plugin-statusbar on android.
> Executing "after_plugin_install"  hook for "cordova-plugin-statusbar" on android.
> {code}
> The files in www weren't touched.



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