You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikita Matrosov (JIRA)" <ji...@apache.org> on 2017/04/19 13:47:41 UTC

[jira] [Commented] (CB-12526) cordova platform add browser incorrectly copies extra files

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

Nikita Matrosov commented on CB-12526:
--------------------------------------

[~stevegill], it seems to me that this line might be the cause of this bug: https://github.com/apache/cordova-browser/blame/master/bin/lib/create.js#L50. It copies content of this folder (https://github.com/apache/cordova-browser/tree/master/bin/templates/project/www) into app/platforms/browser. I don't see why this is necessary. 

> cordova platform add browser incorrectly copies extra files
> -----------------------------------------------------------
>
>                 Key: CB-12526
>                 URL: https://issues.apache.org/jira/browse/CB-12526
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Browser
>            Reporter: Steve Gill
>
> Not sure what is going on
> Cordova platform add browser will add the browser platform.
> Go into myapp/platforms/browser and you will notice extra index.html, css, img and js folders. They belong to the hello world cordova app. Your actual app www gets copied into myapp/platforms/browser/www. So not sure why or where these files are coming from. Maybe the create script in browser?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org