It's working for me when I don't choose the interactive way to bake
the views.
( CakePHP v1.2.0.6311 beta Console)

--- snip

What would you like to Bake? (D/M/V/C/P/Q)
> v
---------------------------------------------------------------
Bake View
Path: D:\playground\app\views\
---------------------------------------------------------------
Possible Models based on your current database:
1. Groups
2. Users
Enter a number from the list above, or type in the name of another
contro

> 2
Would you like bake to build your views interactively?
Warning: Choosing no will overwrite Users views if it exist. (y/n)
[y] > n
Would you like to create the views for admin routing? (y/n)
[y] >

Creating file D:\playground\app\views\users\index.ctp
Wrote D:\playground\app\views\users\index.ctp

Creating file D:\playground\app\views\users\view.ctp
Wrote D:\playground\app\views\users\view.ctp

Creating file D:\playground\app\views\users\add.ctp
Wrote D:\playground\app\views\users\add.ctp

Creating file D:\playground\app\views\users\edit.ctp
Wrote D:\playground\app\views\users\edit.ctp

Creating file D:\playground\app\views\users\admin_index.ctp
Wrote D:\playground\app\views\users\admin_index.ctp

Creating file D:\playground\app\views\users\admin_view.ctp
Wrote D:\playground\app\views\users\admin_view.ctp

Creating file D:\playground\app\views\users\admin_add.ctp
Wrote D:\playground\app\views\users\admin_add.ctp

Creating file D:\playground\app\views\users\admin_edit.ctp
Wrote D:\playground\app\views\users\admin_edit.ctp
---------------------------------------------------------------

View Scaffolding Complete.


---snap

it's not working in the interactive mode though.


-B.



On 10 Jan., 14:02, avairet <[EMAIL PROTECTED]> wrote:
> I have upgraded the console with nightly build release but problems
> always exist...
>
> Avairet
>
> On 10 jan, 11:34, avairet <[EMAIL PROTECTED]> wrote:
>
> > Hi everybody,
>
> > I found some problems with bake script in command line.
> > I'm using 1.2.0.6311 beta release, not the nightly.
>
> > 1) In a controller creation, if I answer "no" for: "Would you like to
> > include some basic class methods?", bake doesn't ask me creating Admin
> > routing methods...
>
> > 2) The validation criteria is not written in the model file!
>
> > 3) I can't select multiple validation criterias for one model...
>
> > Do you think I will create a ticket or bug report on trac for this
> > troubles?
>
> > BR
>
> > Avairet

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to