[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13900036#comment-13900036 ] ASF subversion and git services commented on CB-4153: - Commit e3ffdadc6c3f744e973097560bc2450b438ca910 in branch refs/heads/3.4.x from [~BBosman] [ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=e3ffdad ] CB-5964 createmobilespec.sh fails due to CB-4153 Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Mark Koudritsky Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13890188#comment-13890188 ] ASF subversion and git services commented on CB-4153: - Commit 6d05d94fc8190a40725c8792c4cf1371ecf806ca in branch refs/heads/master from [~kamrik] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=6d05d94 ] CB-4153 Update help.txt about --source - --copy-from Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Mark Koudritsky Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13888630#comment-13888630 ] ASF subversion and git services commented on CB-4153: - Commit 00d81a6606d83a7599340ba7dd2f09e5ef8d2cc9 in branch refs/heads/master from [~BBosman] [ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=00d81a6 ] CB-5964 createmobilespec.sh fails due to CB-4153 Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Mark Koudritsky Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13888046#comment-13888046 ] ASF subversion and git services commented on CB-4153: - Commit 6dedf20e30dcc68b7b9e2e144acfa4d8111235bf in branch refs/heads/master from [~kamrik] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=6dedf20 ] CB-4153 Change to --copy-from and --link-to instead of --src and --link. Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Mark Koudritsky Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13855867#comment-13855867 ] ASF subversion and git services commented on CB-4153: - Commit 9b7fedf843f9ca5aef8e738e1349581666e2f716 in branch refs/heads/master from [~kamrik] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9b7fedf ] CB-4153 Add --src --link to cordova create. Both --src and --source are accepted. The path is passed via the lib.www.uri of the configuration object that is later written to .cordova/config.json. Cordova will keep going into child www folder(s) of the provided path. Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Mark Koudritsky Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13814915#comment-13814915 ] Michal Mocny commented on CB-4153: -- Not that I'm aware of. Mark landed a patch to be add a parameter to create node api, so that you can set the www lib's src from node now. I think whats left is a matter of exposing that to the CLI. Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Ian Clelland Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13814333#comment-13814333 ] Braden Shepherdson commented on CB-4153: Didn't this get implemented? Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Ian Clelland Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13759368#comment-13759368 ] Ian Clelland commented on CB-4153: -- With CB-4650, we have the ability to do this now. CLI contains support for a template key in config.json. All we need to do for this is allow the command-line arg to specify that template as well, and pass it along to the appropriate platform create script. Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Ian Clelland Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- 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-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13759373#comment-13759373 ] Michal Mocny commented on CB-4153: -- Yes, I was confused since config.json has already always had support for a www param. I think there has been no movement on this. Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Ian Clelland Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- 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-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13753188#comment-13753188 ] Michal Mocny commented on CB-4153: -- Been thinking about this one recently. For mobile chrome apps we ended up using a solution originally proposed by Michael Brooks (and as used in PhoneGap CLI) -- namely, to pre-create the {app}/.cordova/config.json and set the {lib:{www:{..}} values. The issue with doing this from the command line, is that there are (currently) three parameters: path, id, version. This means with the current proposal we would need to create command to look like `cordova create --path=... --id=... --version=...` which I think is just too verbose. I consider there to be a better alternative: Instead of passing default www template parameters from the command line, why not just pass the path to a default config file: `cordova create --config=...`. I think that could have longer term value, anyway. Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Filip Maj Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- 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-4153) Add ability to select default app template at cordova create time
[ https://issues.apache.org/jira/browse/CB-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706992#comment-13706992 ] Michal Mocny commented on CB-4153: -- On ML, Andrew asked about what the folder points to: Might need to bring up app/ again here :P. Need to answer the question of what it is src= points to? a www/? If so, there's the issue of not being able to have merges/ nor put app icons outside of www/. Maybe we should just say that it points to a directory that contains a www/, where the config.xml is within the www/? And I proposed: I'de love to see an app folder concept, but I suspect best pragmatic approach for now is: assume path is the www unless there is a subdirectory called www/ ? Add ability to select default app template at cordova create time --- Key: CB-4153 URL: https://issues.apache.org/jira/browse/CB-4153 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 3.0.0 Reporter: Michal Mocny Assignee: Filip Maj Proposal, Implement src flag to cordova create: cordova create --src=... Where src is: * a valid path to a web app * from a set of special values, perhaps including: - default - blank - spec - easteregg -- 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