我想要开始学习Doctrine 2.并且我正在阅读他们的intro。我卡住试图运行Doctrine 2沙盒中的错误
D:\Projects\Websites\php\Doctrine\sandbox>doskey doctrine=php d:\resourcelibrary\frameworks\doctrine\bin\doctrine.php $*
D:\Projects\Websites\php\Doctrine\sandbox>doctrine --version
Doctrine Command Line Interface version 2.0-DEV
// from here u can see that doctrine works ... i used doskey to shorten typing
D:\Projects\Websites\php\Doctrine\sandbox>doctrine orm:schema-tool:create ./entities
[RuntimeException]
Too many arguments.
orm:schema-tool:create [--dump-sql] [-h|--help] [-q|--quiet] [-v|--verbose] [-V|--version] [-a|--ansi] [-n|--no-interact
ion] command
D:\Projects\Websites\php\Doctrine\sandbox>
我认为这是或多或少与教程完全相同的代码?
UPDATE
我发现,从http://www.doctrine-project.org/projects/orm/download包下载沙盒甚至不具备文件夹的实体,YAML & XML文件夹!来自SVN的...我认为onlye有DBAL包(我认为,在Doctrine中),剩下的在lib中。结构似乎关闭...这真的是一个不可用的测试版?
哪个beta版下载可以用来开始学习Doctrine 2?
是的,我使用了全命令'PHP d也试过:\全\路径\为\原则\ BIN \主义.php orm:schema-tool:create。/ entities'完全相同的错误... – 2010-07-17 04:39:45