I'm trying to run "cake bake model all" but it dies. Here's a snippet from when I try to bake the table that blows up:
<code> --------------------------------------------------------------- Please select one of the following validation options: --------------------------------------------------------------- 1 - alphanumeric 2 - between ... 30 - uuid 31 - Do not do any validation on this field. ... or enter in a valid regex validation string. [31] > Would you like to define model associations (hasMany, hasOne, belongsTo, etc.)? (y/n) [y] > One moment while the associations are detected. --------------------------------------------------------------- Please confirm the following associations: --------------------------------------------------------------- Game hasMany GameEffect? (y/n) [y] > Game hasMany GameItem? (y/n) [y] > Game hasMany GameMob? (y/n) [y] > Would you like to define some additional model associations? (y/n) [n] > --------------------------------------------------------------- The following Model will be created: --------------------------------------------------------------- Name: Game DB Table: `games` Associations: Game hasMany GameEffect Game hasMany GameItem Game hasMany GameMob --------------------------------------------------------------- Look okay? (y/n) [y] > Baking model class for Game... Creating file C:\Zend\Apache2\htdocs\Eclipse\MVCBattle\cake\app\Model \Game.php Wrote `C:\Zend\Apache2\htdocs\Eclipse\MVCBattle\cake\app\Model \Game.php` PHPUnit is not installed. Do you want to bake unit test files anyway? (y/n) [y] > You can download PHPUnit from http://phpunit.de Baking test fixture for Game... File `C:\Zend\Apache2\htdocs\Eclipse\MVCBattle\cake\app\Test\Fixture \GameFixture .php` exists Do you want to overwrite? (y/n/q) [n] > Skip `C:\Zend\Apache2\htdocs\Eclipse\MVCBattle\cake\app\Test\Fixture \GameFixture .php` Bake is detecting possible fixtures... Fatal error: Cannot redeclare class Game in C:\Zend\Apache2\htdocs \Eclipse\MVCBa ttle\cake\app\Model\Game.php on line 67 </code> Any suggestions? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php