[
https://issues.apache.org/jira/browse/CB-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100327#comment-14100327
]
Sergey Grebnov commented on CB-4650:
------------------------------------
I propose NOT to strictly limit the 'template files' for wp8 and just copy all
files from 'custom template' folder (if defined) over default platform template
files (preserve structure):
1. Copy default template files
2. (If custom template is specified) Copy files from custom template over
default template files
3. Do strings replacement (app name, uuid, etc).
[~iclelland][~purplecabbage] [~agrieve]?
> 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)