You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michal Mocny (JIRA)" <ji...@apache.org> on 2013/08/01 23:29:49 UTC

[jira] [Created] (CB-4484) cordova-cli fails to create project if www/ does not have an index.html, even if start page is set to something custom

Michal Mocny created CB-4484:
--------------------------------

             Summary: cordova-cli fails to create project if www/ does not have an index.html, even if start page is set to something custom
                 Key: CB-4484
                 URL: https://issues.apache.org/jira/browse/CB-4484
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 3.0.0
            Reporter: Michal Mocny
            Assignee: Filip Maj


Thanks to Michael Brooks' suggestion, I'm now able to create a new cordova-cli project with a custom start page by way of pre-creating the config.json file with the right www lib set.  However, I'm finding the cordova-cli halts fatally if it finds that there is no index.html file inside the www/ dir.

For mobile-chrome-apps however, we set a different default page by changing config.xml with a plugin.  As a workaround, I've just added a dummy index.html for now, but I would love to see this check just be removed.

--
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