cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpogue <>
Subject [GitHub] cordova-android issue #321: CB-8978 Prepare copy resource-files from config....
Date Fri, 21 Apr 2017 07:20:59 GMT
Github user dpogue commented on the issue:
    With regards to point 1 above, I've found the root cause:
    In a project-level config.xml, `resource-file` is only supported under a `platform` tag.
These files get copied into the native platforms.
    Within each native platform, there's a config.xml specific to that platform. When the
`resouce-file` tags are copied into this file, they are not nested under a `platform` tag.
This means `ConfigParser.getFileResources` was not finding them, and hence returning an empty
list of files to clean.
    I've opened to add an option to `ConfigParser.getFileResources`
to return the top-level `resource-file` tags.
    I've also opened (iOS) and
(Android) to pass in that new option when cleaning.
    I will look into getting unit tests for Android's prepare step set up to address the rest
of the feedback.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message