[jira] [Commented] (CB-5145) Why are non-android resources included in platforms/android assets folder?

2014-02-08 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13895623#comment-13895623
 ] 

Andrew Grieve commented on CB-5145:
---

I think that matches my understanding. Until CLI adds support for splashscreen 
 icons, then those will have to come from the platform templates. I don't 
think having them in the CLI template ever had an effect.

 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
Assignee: Andrew Grieve
Priority: Minor
 Fix For: 3.2.0


 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\petercordova create myapp com.peter myapp
 D:\IMAPS\petercd myapp
 D:\IMAPS\peter\myappcordova platform add android
 D:\IMAPS\peter\myapptree 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.5#6160)


[jira] [Commented] (CB-5145) Why are non-android resources included in platforms/android assets folder?

2014-02-07 Thread Marcel Kinard (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13894846#comment-13894846
 ] 

Marcel Kinard commented on CB-5145:
---

Andrew, I think this change has caused a side effect as described in CB-5908.

When the cli is creating a new project from the app-hello-world template, it 
copies only the www directory, not any peer directories. So essentially by 
moving res to a peer, res never gets copied into a project from app-hello-world.

I was wondering why the icons were still appearing in an Android project while 
splashscreens weren't, and it looks like those are coming from 
cordova-android/bin/templates/project. I can add the splashscreens there in 
cordova-android, but then it feels like duplicate content in cordova-android or 
the splashscreen png's in app-hello-world are orphaned.

Would it make sense to move both the icons and splashscreens for Android out of 
app-hello-world and into cordova-android/bin/templates/project?

I'm wondering if this whole scenario applies to other platforms also...

 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
Assignee: Andrew Grieve
Priority: Minor
 Fix For: 3.2.0


 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\petercordova create myapp com.peter myapp
 D:\IMAPS\petercd myapp
 D:\IMAPS\peter\myappcordova platform add android
 D:\IMAPS\peter\myapptree 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.5#6160)


[jira] [Commented] (CB-5145) Why are non-android resources included in platforms/android assets folder?

2013-10-22 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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\petercordova create myapp com.peter myapp
 D:\IMAPS\petercd myapp
 D:\IMAPS\peter\myappcordova platform add android
 D:\IMAPS\peter\myapptree 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)


[jira] [Commented] (CB-5145) Why are non-android resources included in platforms/android assets folder?

2013-10-22 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13801898#comment-13801898
 ] 

Andrew Grieve commented on CB-5145:
---

It's only for splash screens and icons, which currently need to be put in 
platform-specific places.

 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
Assignee: Andrew Grieve
Priority: Minor
 Fix For: 3.2.0


 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\petercordova create myapp com.peter myapp
 D:\IMAPS\petercd myapp
 D:\IMAPS\peter\myappcordova platform add android
 D:\IMAPS\peter\myapptree 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)


[jira] [Commented] (CB-5145) Why are non-android resources included in platforms/android assets folder?

2013-10-22 Thread Braden Shepherdson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13801896#comment-13801896
 ] 

Braden Shepherdson commented on CB-5145:


Is there a reason why this isn't using merges?

 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
Assignee: Andrew Grieve
Priority: Minor
 Fix For: 3.2.0


 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\petercordova create myapp com.peter myapp
 D:\IMAPS\petercd myapp
 D:\IMAPS\peter\myappcordova platform add android
 D:\IMAPS\peter\myapptree 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)