I get the same error after moving to cakephp2:

Brooksides-MacBook-Pro:app brooksidestudios$ cake bake model all

Welcome to CakePHP v2.0.0 Console
---------------------------------------------------------------
App : app
Path: /Users/brooksidestudios/Sites/grticket2/app/
---------------------------------------------------------------

You can download PHPUnit from http://phpunit.de
Baking Customer

Baking model class for Customer...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Model/
Customer.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Model/Customer.php`

Baking test fixture for Customer...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Test/Fixture/
CustomerFixture.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Test/Fixture/
CustomerFixture.php`
Bake is detecting possible fixtures...

Baking test case for Customer Model ...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Test/Case/
Model/CustomerTest.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Test/Case/Model/
CustomerTest.php`
Baking Device

Baking model class for Device...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Model/
Device.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Model/Device.php`

Baking test fixture for Device...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Test/Fixture/
DeviceFixture.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Test/Fixture/
DeviceFixture.php`
Bake is detecting possible fixtures...

Baking test case for Device Model ...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Test/Case/
Model/DeviceTest.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Test/Case/Model/
DeviceTest.php`
Baking Group

Baking model class for Group...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Model/
Group.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Model/Group.php`

Baking test fixture for Group...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Test/Fixture/
GroupFixture.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Test/Fixture/
GroupFixture.php`
Bake is detecting possible fixtures...

Baking test case for Group Model ...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Test/Case/
Model/GroupTest.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Test/Case/Model/
GroupTest.php`
Baking Inventory

Baking model class for Inventory...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Model/
Inventory.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Model/
Inventory.php`

Baking test fixture for Inventory...

Creating file /Users/brooksidestudios/Sites/grticket2/app/Test/Fixture/
InventoryFixture.php
Wrote `/Users/brooksidestudios/Sites/grticket2/app/Test/Fixture/
InventoryFixture.php`
Bake is detecting possible fixtures...

Fatal error: Cannot redeclare class Inventory in /Users/
brooksidestudios/Sites/grticket2/app/Model/inventory.php on line 186

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to