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

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

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-android/pull/267

    CB-10710 Respect plugman's www option when installing plugins

    JIRA [CB-10710](https://issues.apache.org/jira/browse/CB-10710)
    
    This change returns back an ability to specify alternative destination for 
`www` files when installing plugin using Plugman CLI.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-android CB-10710

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/267.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #267
    
----
commit 13d332d090102724af6e3730cae84fc9d538b536
Author: Vladimir Kotikov <[email protected]>
Date:   2016-03-02T10:26:01Z

    CB-10710 Respect plugman's www option when installing plugins

----


> --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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to