cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7173) deleteDefaultResource fails to delete resources
Date Mon, 18 Jan 2016 21:43:39 GMT

     [ 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


Mime
View raw message