title: How can I generate XML application configuration using Zend_Tool?
body: <p>When creating a new project using <code>zf create project myproject</code> it will create a default project layout with an application.ini in the configs folder. Where can I change these default settings so that it generates (and uses) an XML file (application.xml)? I've looked at the documentation for Zend_Tool (<a href="http://framework.zend.com/manual/en/zend.tool.html" rel="nofollow noreferrer">http://framework.zend.com/manual/en/zend.tool.html</a>), but there seems to be no information on how to do this.</p>
  
  <p>And suppose you'd like to use a different default folder layout (ie. use htdocs instead of public as your document root), is there a way to specify this as well?</p>
  
  <p>Any pointers to relevant information (btw I've looked at the Quickstart, nothing relevant is mentioned there unless I'm overlooking it)?</p>
  
  <p><strong><em>edit</em></strong></p>
  
  <p>I already tried creating a profile (stored in .zf/project/profiles), and used that to create a project (using <code>zf create project myproject myprofile</code>) but that doesn't change anything, even though the .zfproject.xml file in the root of the new project does contain the <code>&lt;applicationConfigFile type="xml"/&gt;</code> setting...</p>
  
  <p>The new project contains this (as you can see, it's just the default settings, only the type of applicationConfigFile has been changed) : </p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;projectProfile type="default" version="1.10"&gt;
    &lt;projectDirectory&gt;
      &lt;projectProfileFile filesystemName=".zfproject.xml"/&gt;
      &lt;applicationDirectory classNamePrefix="Application_"&gt;
        &lt;apisDirectory enabled="false"/&gt;
        &lt;configsDirectory&gt;
          &lt;applicationConfigFile type="xml"/&gt;
        &lt;/configsDirectory&gt;
        &lt;controllersDirectory&gt;
          &lt;controllerFile controllerName="Index"&gt;
            &lt;actionMethod actionName="index"/&gt;
          &lt;/controllerFile&gt;
          &lt;controllerFile controllerName="Error"/&gt;
        &lt;/controllersDirectory&gt;
        &lt;formsDirectory enabled="false"/&gt;
        &lt;layoutsDirectory enabled="false"/&gt;
        &lt;modelsDirectory/&gt;
        &lt;modulesDirectory enabled="false"/&gt;
        &lt;viewsDirectory&gt;
          &lt;viewScriptsDirectory&gt;
            &lt;viewControllerScriptsDirectory forControllerName="Index"&gt;
              &lt;viewScriptFile forActionName="index"/&gt;
            &lt;/viewControllerScriptsDirectory&gt;
            &lt;viewControllerScriptsDirectory forControllerName="Error"&gt;
              &lt;viewScriptFile forActionName="error"/&gt;
            &lt;/viewControllerScriptsDirectory&gt;
          &lt;/viewScriptsDirectory&gt;
          &lt;viewHelpersDirectory/&gt;
          &lt;viewFiltersDirectory enabled="false"/&gt;
        &lt;/viewsDirectory&gt;
        &lt;bootstrapFile filesystemName="Bootstrap.php"/&gt;
      &lt;/applicationDirectory&gt;
      &lt;dataDirectory enabled="false"&gt;
        &lt;cacheDirectory enabled="false"/&gt;
        &lt;searchIndexesDirectory enabled="false"/&gt;
        &lt;localesDirectory enabled="false"/&gt;
        &lt;logsDirectory enabled="false"/&gt;
        &lt;sessionsDirectory enabled="false"/&gt;
        &lt;uploadsDirectory enabled="false"/&gt;
      &lt;/dataDirectory&gt;
      &lt;docsDirectory&gt;
        &lt;file filesystemName="README.txt"/&gt;
      &lt;/docsDirectory&gt;
      &lt;libraryDirectory&gt;
        &lt;zfStandardLibraryDirectory enabled="false"/&gt;
      &lt;/libraryDirectory&gt;
      &lt;publicDirectory&gt;
        &lt;publicStylesheetsDirectory enabled="false"/&gt;
        &lt;publicScriptsDirectory enabled="false"/&gt;
        &lt;publicImagesDirectory enabled="false"/&gt;
        &lt;publicIndexFile filesystemName="index.php"/&gt;
        &lt;htaccessFile filesystemName=".htaccess"/&gt;
      &lt;/publicDirectory&gt;
      &lt;projectProvidersDirectory enabled="false"/&gt;
      &lt;temporaryDirectory enabled="false"/&gt;
      &lt;testsDirectory&gt;
        &lt;testPHPUnitConfigFile filesystemName="phpunit.xml"/&gt;
        &lt;testApplicationDirectory&gt;
          &lt;testApplicationBootstrapFile filesystemName="bootstrap.php"/&gt;
        &lt;/testApplicationDirectory&gt;
        &lt;testLibraryDirectory&gt;
          &lt;testLibraryBootstrapFile filesystemName="bootstrap.php"/&gt;
        &lt;/testLibraryDirectory&gt;
      &lt;/testsDirectory&gt;
    &lt;/projectDirectory&gt;
  &lt;/projectProfile&gt;
  </code></pre>