cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9617) Add plugin or platform doesn't create www/plugins folder
Date Fri, 11 Sep 2015 13:13:46 GMT

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

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

Github user vladimir-kotikov commented on the pull request:

    https://github.com/apache/cordova-lib/pull/304#issuecomment-139542072
  
    @TimBarham, agree with you, calling a `cordova.prepare` on each plugin add/rm might be
excess. Reworked.


> Add plugin or platform doesn't create www/plugins folder
> --------------------------------------------------------
>
>                 Key: CB-9617
>                 URL: https://issues.apache.org/jira/browse/CB-9617
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: Master
>            Reporter: Tim Barham
>            Assignee: Vladimir Kotikov
>              Labels: PlatformApi
>
> Since the new Platform API polyfill, adding a platform or a plugin doesn't create the
www/plugins folder, or copy the plugin/plugins there.
> *Repo adding a platform:*
> 1. Create a new blank project
> 2. {{cordova plugin add cordova-plugin-camera}}
> 3. {{cordova platform add browser}}
> *Expected:*
> The {{platforms/browser/www}} folder contains a {{plugins}} folder that contains a {{cordova-plugin-camera}}
folder.
> *Actual:*
> It doesn't.
> *Repo adding a plugin:*
> If you add the platform before the plugin, the same result occurs. Also, consider this
scenario:
> 1. Create a new blank project
> 2. {{cordova platform add browser}}
> 3. {{cordova plugin add cordova-plugin-camera}}
> 4. {{cordova prepare}}
> 5. {{cordova plugin add cordova-plugin-device}}
> *Expected:*
> The platforms\browser\www\plugins folder should contain folders for {{cordova-plugin-camera}}
and {{cordova-plugin-device}}.
> *Actual:*
> It only contains a folder for {{cordova-plugin-camera}}.



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


Mime
View raw message