[
https://issues.apache.org/jira/browse/CB-13688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295298#comment-16295298
]
Jan Piotrowski (Sujan) commented on CB-13688:
---------------------------------------------
Why do you have files in `www` marked as readonly?
So the issues is that changes to "readonly" attributes in files are not
distributed to the platform www folders, correct?
> Running on android with source control in Visual Studio
> -------------------------------------------------------
>
> Key: CB-13688
> URL: https://issues.apache.org/jira/browse/CB-13688
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-android
> Affects Versions: [email protected]
> Environment: Windows 10
> Visual Studio 2017 with source control
> Reporter: KAI Development
> Assignee: Joe Bowser
> Priority: Minor
> Labels: build, easyfix
>
> When you run the command 'cordova run android', the 'www' folder is copied to
> the 'platforms\android\asset\www' and
> 'android\build\intermediates\assets\debug\www' folders. When using Visual
> Studio and source control, unless you have all of the files checked out, they
> are marked as read only. This attribute is copied over to the previously
> mentioned two folders, causing issues when changing files and then re-running
> the command 'cordova run android' as it won't update files that are marked as
> read only. The way around this is to delete the two folders and re-run the
> run command, but this isn't something we want to keep doing (we sometimes
> forget)
> Could the read only attributes be removed when copying to the two folders?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]