title: Propel won't start
body: <p>I installed propel and want to test the example from <a href="http://propelorm.org/documentation/02-buildtime.html" rel="nofollow">http://propelorm.org/documentation/02-buildtime.html</a> . But when I want to generate the SQL-Code there is nothing happens.
  I tried it as described with: propel.bat sql:build –verbose</p>
  
  <ul>
  <li>But when I use CMD located at my test-folder (where the propel.ini, .json, .xml, .yaml and schema.xml located) nothing happens even no error.
  If I delete the propel.php file in my test-folder than I got this error:
  <br> <strong>[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]</strong><br>
  <strong>The child node "database" at path "propel" must be configured.</strong></li>
  <li>If I’m located at any other place I got this error:<strong><br>  [Propel\Common\Config\Exception\InvalidArgumentException]<br>
  Propel expects only one configuration file</strong></li>
  </ul>
  
  <p>I have set the PATH to PHP and to \vendor\bin from propel.
  I suppose that the problem is something between the file \vendor\propel\propel.php and the file propel.php in my testfolder.<br><br>
  I used the following files:<br></p>
  
  <ul>
  <li>List item</li>
  </ul>
  
  <p><em>Propel.php</em> (I’m not sure with the propel.php because on the page mentioned at the beginning it starts with “” is missing). I tried both.</p>
  
  <pre><code>&lt;?php
      return [
          'propel' =&gt; [
              'database' =&gt; [
                  'connections' =&gt; [
                      'bookstore' =&gt; [
                          'adapter'   =&gt; 'mysql',
                          'classname'  =&gt; 'Propel\Runtime\Connection\ConnectionWrapper',
                          'dsn'       =&gt; 'mysql:host=localhost;dbname=my_db_name',
                          'user'     =&gt; 'propel',
                          'password'   =&gt; 'propel',
                          'attributes' =&gt; []
                      ]
                  ]
              ],
              'runtime' =&gt; [
                  'defaultConnection' =&gt; 'bookstore',
                  'connections' =&gt; ['bookstore']
              ],
              'generator' =&gt; [
                  'defaultConnection' =&gt; 'bookstore',
                  'connections' =&gt; ['bookstore']
              ]
          ]
      ];
  </code></pre>
  
  <p><em>Propel.xml</em></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1" standalone="no"?&gt;
  &lt;config&gt;
      &lt;propel&gt;
          &lt;database&gt;
              &lt;connections&gt;
                  &lt;connection id="bookstore"&gt;
                      &lt;adapter&gt;mysql&lt;/adapter&gt;
                      &lt;classname&gt;Propel\Runtime\Connection\ConnectionWrapper&lt;/classname&gt;
                      &lt;dsn&gt;mysql:host=localhost;dbname=my_db_name&lt;/dsn&gt;
                      &lt;user&gt;propel&lt;/user&gt;
                      &lt;password&gt;propel&lt;/password&gt;
                      &lt;attributes&gt;&lt;/attributes&gt;
                  &lt;/connection&gt;
              &lt;/connections&gt;
          &lt;/database&gt;
          &lt;runtime&gt;
              &lt;defaultConnection&gt;bookstore&lt;/defaultConnection&gt;
              &lt;connection&gt;bookstore&lt;/connection&gt;
          &lt;/runtime&gt;
          &lt;generator&gt;
              &lt;defaultConnection&gt;bookstore&lt;/defaultConnection&gt;
              &lt;connection&gt;bookstore&lt;/connection&gt;
          &lt;/generator&gt;
      &lt;/propel&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p><em>Propel.yaml</em></p>
  
  <pre><code>propel:
      database:
          connections:
              bookstore:
                  adapter: mysql
                  classname: Propel\Runtime\Connection\ConnectionWrapper
                  dsn: "mysql:host=localhost;dbname=my_db_name"
                  user: propel
                  password: propel
                  attributes:
      runtime:
          defaultConnection: bookstore
          connections:
              - bookstore
      generator:
          defaultConnection: bookstore
          connections:
              - bookstore
  </code></pre>
  
  <p><em>Propel.json</em></p>
  
  <pre><code>{
      "propel": {
          "database": {
              "connections": {
                  "bookstore": {
                      "adapter": "mysql",
                      "classname": "Propel\Runtime\Connection\ConnectionWrapper",
                      "dsn": "mysql:host=localhost;dbname=my_db_name",
                      "user": "propel",
                      "password": "propel",
                      "attributes": []
                  }
              }
          },
          "runtime": {
              "defaultConnection": "bookstore",
              "connections": ["bookstore"]
          },
          "generator": {
              "defaultConnection": "bookstore",
              "connections": ["bookstore"]
          }
      }
  }
  </code></pre>
  
  <p><em>Propel.ini</em></p>
  
  <pre><code>[propel]
  ;
  ; Database section
  ;
  database.connections.bookstore.adapter    = mysql
  database.connections.bookstore.classname  = Propel\Runtime\Connection\ConnectionWrapper
  database.connections.bookstore.dsn        = mysql:host=localhost;dbname=my_db_name
  database.connections.bookstore.user       = propel
  database.connections.bookstore.password   = propel
  database.connections.bookstore.attributes =
  
  ;
  ; Runtime section
  ;
  runtime.defaultConnection = bookstore
  runtime.connections[0]    = bookstore
  
  ;
  ; Generator section
  ;
  generator.defaultConnection = bookstore
  generator.connections[0] = bookstore
  </code></pre>
  
  <p><em>schema.xml</em></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;database name="bookstore" defaultIdMethod="native"&gt;
      &lt;table name="book" phpName="Book"&gt;
          &lt;column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/&gt;
          &lt;column name="title" type="varchar" size="255" required="true" /&gt;
          &lt;column name="isbn" type="varchar" size="24" required="true" phpName="ISBN"/&gt;
          &lt;column name="publisher_id" type="integer" required="true"/&gt;
          &lt;column name="author_id" type="integer" required="true"/&gt;
          &lt;foreign-key foreignTable="publisher" phpName="Publisher" refPhpName="Book"&gt;
              &lt;reference local="publisher_id" foreign="id"/&gt;
          &lt;/foreign-key&gt;
          &lt;foreign-key foreignTable="author"&gt;
              &lt;reference local="author_id" foreign="id"/&gt;
          &lt;/foreign-key&gt;
      &lt;/table&gt;
  
      &lt;table name="author" phpName="Author"&gt;
          &lt;column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/&gt;
          &lt;column name="first_name" type="varchar" size="128" required="true"/&gt;
          &lt;column name="last_name" type="varchar" size="128" required="true"/&gt;
      &lt;/table&gt;
  
      &lt;table name="publisher" phpName="Publisher"&gt;
          &lt;column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true" /&gt;
          &lt;column name="name" type="varchar" size="128" required="true" /&gt;
      &lt;/table&gt;
  &lt;/database&gt;
  </code></pre>
  
  <p>These files were autogenerated from propel in vendor/bin<br>
  <em>Propel.bat</em></p>
  
  <pre><code>@ECHO OFF
  SET BIN_TARGET=%~dp0/../propel/propel/bin/propel
  php "%BIN_TARGET%" %*
  </code></pre>
  
  <p><em>propel</em></p>
  
  <pre><code>#!/usr/bin/env sh
  SRC_DIR="`pwd`"
  cd "`dirname "$0"`"
  cd "../propel/propel/bin"
  BIN_TARGET="`pwd`/propel"
  cd "$SRC_DIR"
  "$BIN_TARGET" "$@"
  </code></pre>
  
  <p>and these in vendor/bin/propel/propel/bin<br>
  <em>propel</em></p>
  
  <pre><code>#!/usr/bin/env php
  &lt;?php
  include('propel.php');
  </code></pre>
  
  <p><em>propel.bat</em></p>
  
  <pre><code>@echo off
  
  if "%PHPBIN%" == "" set PHPBIN=php
  if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH
  GOTO RUN
  :USE_PEAR_PATH
  set PHPBIN=%PHP_PEAR_PHP_BIN%
  :RUN
  "%PHPBIN%" "bin\propel" %*
  </code></pre>
  
  <p><em>Propel.php</em></p>
  
  <pre><code>&lt;?php
  
  if (!class_exists('\Symfony\Component\Console\Application')) {
      if (file_exists($file = __DIR__.'/../../../autoload.php') || file_exists($file = __DIR__.'/../autoload.php')) {
          require_once $file;
      } elseif (file_exists($file = __DIR__.'/../autoload.php.dist')) {
          require_once $file;
      }
  }
  
  use Symfony\Component\Console\Application;
  use Symfony\Component\Finder\Finder;
  
  use Propel\Runtime\Propel;
  
  $finder = new Finder();
  $finder-&gt;files()-&gt;name('*.php')-&gt;in(__DIR__.'/../src/Propel/Generator/Command')-&gt;depth(0);
  
  $app = new Application('Propel', Propel::VERSION);
  
  foreach ($finder as $file) {
      $ns = '\\Propel\\Generator\\Command';
      $r  = new \ReflectionClass($ns.'\\'.$file-&gt;getBasename('.php'));
      if ($r-&gt;isSubclassOf('Symfony\\Component\\Console\\Command\\Command') &amp;&amp; !$r-&gt;isAbstract()) {
          $app-&gt;add($r-&gt;newInstance());
      }
  }
  
  $app-&gt;run();
  </code></pre>