[
https://issues.apache.org/jira/browse/CB-13688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16295130#comment-16295130
]
KAI Development commented on CB-13688:
--------------------------------------
Cordova isn't setting these attributes, they are there because of source
control (I'd imagine it does this will all types of source control; mark the
files read only so you cannot edit them without checking them out) but it would
be great if cordova could remove these attributes when copying them into the
previously mentioned folders
> 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]