[ 
https://issues.apache.org/jira/browse/CB-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097572#comment-14097572
 ] 

Jesse MacFadyen commented on CB-4650:
-------------------------------------

Okay, in the case of WP, 2+3+4 are the same, there is one template project that 
includes all of these items.

My  question ultimately is, what is expected to live in templateDir/ ?
1. project level scripts that will be copied to MyProject/cordova/run
2. www content
3. native code, projects and resources

Based on this: 
https://github.com/apache/cordova-ios/blob/master/bin/create#L105 it looks like 
everything except for cordova.js file comes from templateDir/ 

> Default native project templates should be overridable at project creation 
> time
> -------------------------------------------------------------------------------
>
>                 Key: CB-4650
>                 URL: https://issues.apache.org/jira/browse/CB-4650
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: WP8
>    Affects Versions: 3.0.0
>            Reporter: Ian Clelland
>            Assignee: Jesse MacFadyen
>
> The default native-code project templates for each platform should not be 
> unconditionally installed by the create scripts.
> There should be a command line option to specify the directory where the 
> project template can be found. If not present, then the default template 
> should be used.
> Custom templates should be subject to the same string substitution as their 
> default counterparts, so that it is easy to start a custom template as a 
> simple copy of the default.
> For platforms with a standard 'create' script, we can add a fourth argument 
> for the project template directory.
> {{bin/create [folder] [[packageName] [[appName] [templateDir]]]}}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to