You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2016/01/18 22:43:39 UTC
[jira] [Updated] (CB-7173) deleteDefaultResource fails to delete
resources
[ https://issues.apache.org/jira/browse/CB-7173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-7173:
---------------------------
Labels: Android (was: )
Component/s: (was: CLI)
(was: Android)
> deleteDefaultResource fails to delete resources
> -----------------------------------------------
>
> Key: CB-7173
> URL: https://issues.apache.org/jira/browse/CB-7173
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: 3.5.0
> Environment: Windows
> Reporter: Remco Mokveld
> Labels: Android
>
> in https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/android_parser.js the function deleteDefaultResources fails because it is trying to delete drawable-{density}/{name}
> from the current working directory instead of the android/res directory.
> Fix: change android_parser.js:86 from
> var template = path.join(filename, name);
> to
> var template = path.join(res, filename, name);
> Also resources from the drawable directory are never deleted. because it does not contain the string 'drawable-'
--
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