Hi Srini,
You open your commandline and change to the directory ...\cake\console. Here is
what I do with my directory structure:
C:\Programme\xampp\htdocs\acltest\cake>cd console
The you type: cake bake -app C:\Programme\xampp\htdocs\cakebaketest
C:\Programme\xampp\htdocs\acltest\cake\console>cake bake -app
C:\Programme\xampp\htdocs\cakebaketest
The the output from the console should start. The items in teh square brackets
are suggestions from cake and when you just press enter cake uses teh
suggestion or you type in your own options.
Welcome to CakePHP v1.2.0.7692 RC3 Console
---------------------------------------------------------------
App : cakebaketest
Path: C:\Programme\xampp\htdocs\cakebaketest
---------------------------------------------------------------
What is the full path for this app including the app directory name?
Example: C:\Programme\xampp\htdocs\cakebaketest\myapp
[C:\Programme\xampp\htdocs\cakebaketest\myapp] >
Bake Project
Skel Directory: C:\Programme\xampp\htdocs\acltest\cake\console\libs\templates\sk
el
Will be copied to: C:\Programme\xampp\htdocs\cakebaketest\myapp
---------------------------------------------------------------
Look okay? (y/n/q)
[y] >
And so on....
Anja
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von Srini
Gesendet: Mittwoch, 19. November 2008 10:10
An: CakePHP
Betreff: Re: How to bake the controller/views from console
Hai Anja,
Can you please tell me how to add the -app parameter.. ?
Thanks,
Srini
On Nov 19, 1:37 pm, "Liebermann, Anja Carolin"
<[EMAIL PROTECTED]> wrote:
> Hi Srini,
>
> I had also trouble with bake first, but to make it work I didn't have to edit
> anything.
> But adding the -app parameter surely did help.
>
> Anja
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[EMAIL PROTECTED] Im
> Auftrag von Srini
> Gesendet: Mittwoch, 19. November 2008 08:09
> An: CakePHP
> Betreff: Re: How to bake the controller/views from console
>
> Hai Daniel,
>
> Thanks for giving the reply.Iam very new to cakePHP.iam using windows os.
>
> i had tried this on command prompt:
> start -> run -> cmd
>
> cd to/projectpath/cake/console
>
> then cake bake
>
> but it has been failed.
>
> Thanks,
> Srini
>
> On Nov 18, 7:08 pm, Daniel Hofstetter <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Srini,
>
> > > how to bake the cotroller from console in cake php.
> > > anyone can help me in this.
>
> > Have a look
> > athttp://book.cakephp.org/view/113/Code-Generation-with-Bake
>
> > Hope that helps!
>
> > --
> > Daniel Hofstetterhttp://cakebaker.42dh.com- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---