Reputation: 3137
i am using Cakephp2 and i am trying to baking my application using commandprompt
here is my steps
c:/>xampp\htdocs\projectname\app>..\cake\console\cake bake
it doesnot work .
But if i use cakephp1.3 with same steps it works fine and look like as
Interactive Bake Shell
[D]atebase Configuration
[M]odel
so on
AnyBody Tell me what to do ?
Thanks
Upvotes: 2
Views: 532
Reputation: 11
You can do it without changing your path variables. For window machine and xampp you can do following step to bake:-
Upvotes: 0
Reputation: 4411
The location of the Cake console has changed in 2.0. It's in: YOUR_CAKE_DIR/lib/Cake/Console/
. Change YOUR_CAKE_DIR to the path to your Cake installation and you should be able to invoke cake bake
again.
Just realised you're developing on Windows, I guess, in that case, the path becomes:
c:/>xampp\htdocs\projectname\app>..\lib\Cake\Console\cake bake
Upvotes: 3