I solved this point of the problem - again on Windows CD into your project directory
usae this CMD to CREATE *.\vendor\bin\doctrine.bat orm:schema-tool:create* Notice the full path, a relative path from project root and the slashes are backwards. I get this response... *No Metadata Classes to process.* The docs say this is normal. Now I'm stuck at step 2! *.\vendor\bin\doctrine orm:schema-tool::drop --force* * [InvalidArgumentException]* * There are no commands defined in the "orm:schema-tool:" namespace.* * Did you mean this?* * orm:schema-tool* I can't find any page via Google to get past this step. So I'm dead in the water at step 2. And it took me 3 days to get past step 1 On Thursday, November 29, 2012 at 3:06:35 PM UTC-6, Kai Neumann wrote: > > Now I just tried installing doctrine2 with composer. Indeed it is much > easier and faster. > > Still, the console does not work: > > (I am developing under Windows, btw) > > When I start the "doctrine.bat" in the folder "vendor/bin", it just outputs > > #!/usr/bin/env sh > SRC_DIR="`pwd`" > cd "`dirname "$0"`" > cd "../doctrine/orm/bin" > BIN_TARGET="`pwd`/doctrine.php" > cd "$SRC_DIR" > "$BIN_TARGET" "$@" > > The .bat file calls the Linux-Shell Script from within the > doctrine/orm/... folder. > When I edit the first .bat file so that it calls the ".bat" file within > doctrine/orm/... folder, it simply outputs that file > > @echo off > > if "%PHPBIN%" == "" set PHPBIN=@php_bin@ > 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_dir@\doctrine" %* > > So again, I'm stuck with the configuration. Do you have any ideas? > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
