[
https://issues.apache.org/jira/browse/CB-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801853#comment-13801853
]
ASF subversion and git services commented on CB-5145:
-----------------------------------------------------
Commit 970569670f4871e1c0aeaf4057e1963c8a00c4c8 in branch refs/heads/master
from [~agrieve]
[
https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git;h=9705696
]
CB-5145 Move the res/ directory to a sibling of www/
> Why are non-android resources included in platforms/android assets folder?
> --------------------------------------------------------------------------
>
> Key: CB-5145
> URL: https://issues.apache.org/jira/browse/CB-5145
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.1.0
> Environment: Windows
> Reporter: Peter
> Priority: Minor
>
> The online guide
> http://cordova.apache.org/docs/en/edge/config_ref_images.md.html says
> {quote}
> When working in the CLI, icon source files are located within various
> platform-specific subdirectories within the project's www/res/icons
> directory. Newly created projects come with a default set of Cordova icons
> for you to replace for the platforms you wish to target.
> {quote}
> OK.
> But if I've only added the *android* platform to my CLI project then why
> would I want _non_-android resources copied into my
> platforms/_android_/assets/www/res folder?
> For example,
> {code}
> D:\IMAPS\peter>cordova create myapp com.peter myapp
> D:\IMAPS\peter>cd myapp
> D:\IMAPS\peter\myapp>cordova platform add android
> D:\IMAPS\peter\myapp>tree platforms/android/assets/www/res
> Folder PATH listing
> Volume serial number is AAB8-3216
> D:\IMAPS\PETER\MYAPP\PLATFORMS\ANDROID\ASSETS\WWW\RES
> +---icon
> ¦ +---android
> ¦ +---bada
> ¦ +---bada-wac
> ¦ +---blackberry
> ¦ +---blackberry10
> ¦ +---ios
> ¦ +---tizen
> ¦ +---webos
> ¦ +---windows-phone
> +---screen
> +---android
> +---bada
> +---bada-wac
> +---blackberry
> +---blackberry10
> +---ios
> +---tizen
> +---webos
> +---windows-phone
> D:\IMAPS\peter\myapp>
> {code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)