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

ASF GitHub Bot commented on CB-10710:
-------------------------------------

Github user dblotsky commented on the pull request:

    https://github.com/apache/cordova-android/pull/267#issuecomment-191535809
  
    Are there tests for this? I don't know how to test this to verify that the 
fix works.


> --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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to