[jira] [Commented] (CB-4485) Command line build ignoring content src in config.xml settings
[ https://issues.apache.org/jira/browse/CB-4485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728436#comment-13728436 ] Joshua McFarland commented on CB-4485: -- I'm not too familiar with the underbelly of Cordova. You're saying that when I use 'cordova build android' from the command prompt it copies everything, but doesn't generate an apk that takes into account the content src in the xml file? > Command line build ignoring content src in config.xml settings > -- > > Key: CB-4485 > URL: https://issues.apache.org/jira/browse/CB-4485 > Project: Apache Cordova > Issue Type: New Feature > Components: CLI >Affects Versions: 3.0.0 > Environment: Windows 8 x64 >Reporter: Joshua McFarland >Assignee: Michael Brooks >Priority: Minor > > I have specifically set the content src, but when building the application is > still uses the default of 'index.html' rather than what I have set. It's not > entirely ignoring the config file, because if I change the app name or id it > does get properly updated on build. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4485) Command line build ignoring content src in config.xml settings
[ https://issues.apache.org/jira/browse/CB-4485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727445#comment-13727445 ] Joe Bowser commented on CB-4485: [~mwbrooks] Right now, the create scripts don't take in any XML, nor do they know about any pre-defined icons. I would prefer to keep the scripts dumb so that they're easy to debug. I think that this belongs in the CLI, since this is a configuration step after create has been called, not something that the create scripts should handle. Furthermore, it's better that all the image processing be done in one place, and if possible, it'd be good if this didn't block the project creation process if it failed. > Command line build ignoring content src in config.xml settings > -- > > Key: CB-4485 > URL: https://issues.apache.org/jira/browse/CB-4485 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 3.0.0 > Environment: Windows 8 x64 >Reporter: Joshua McFarland >Assignee: Michael Brooks > > I have specifically set the content src, but when building the application is > still uses the default of 'index.html' rather than what I have set. It's not > entirely ignoring the config file, because if I change the app name or id it > does get properly updated on build. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-4485) Command line build ignoring content src in config.xml settings
[ https://issues.apache.org/jira/browse/CB-4485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727319#comment-13727319 ] Michael Brooks commented on CB-4485: [~bowserj] that CLI doesn't copy the icons or splashscreens to the correct area. [~filmaj] and I have discussed this a few times. The fact is that it is much easier for the CLI (node.js) to do this task compared to the platform-scripts. However, we know from experience that platforms need to take responsibility for their tasks, otherwise the whole system becomes brittle. My current thought is that we can implement this feature with the CLI and work with the platform-scripts later. As a platform supports {{config.xml}} definitions, we can remove them from the CLI. > Command line build ignoring content src in config.xml settings > -- > > Key: CB-4485 > URL: https://issues.apache.org/jira/browse/CB-4485 > Project: Apache Cordova > Issue Type: Bug > Components: CLI >Affects Versions: 3.0.0 > Environment: Windows 8 x64 >Reporter: Joshua McFarland >Assignee: Michael Brooks > > I have specifically set the content src, but when building the application is > still uses the default of 'index.html' rather than what I have set. It's not > entirely ignoring the config file, because if I change the app name or id it > does get properly updated on build. > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira