Re: Baking projects done right from console?
> in what way is suggesting "myapp" - a string you can (and should)
> change, and is unlikely to conflict with any existing applications
> you've got - strange?
> > while it should be just \app according to the doc suggestions:
Strange (to me) as I would expect /app folder to be suggested for a
new (empty) project. Still no big deal.
> > You decide to follow the docs and change it to <path_to_folder>\app
>
> Where in the docs does it say that if you bake a new project you
> should overwrite the app folder?
http://book.cakephp.org/2.0/en/installation/advanced-installation.html
"Your application code, in /app."
>Why would you expect baking a new project to overwrite an existing project?
I wouldn't expect it to do without saying so but got no warnings there
either.
> > and accept the copy of the skeleton, but not much is copied. You get
> > only the homepage and core.php and a message saying
>
> Given you forced overwriting an existing empty application with a new
> empty application, what changes were you expecting to see?
I was expecting to see files from skeleton copied to the empty
directories (and if existing ones found being overwritten after a
warning prompt).
> > All other folders have an "empty." file inside just like after the
> > extract.
>
> Can you clarify what you were expecting to happen?
Answer above.
> > > Instead if you keep the /myapp suggestion, the skeleton is copied
> > perfectly even though the message for "include_path" is displayed
> > again.
>
> what do you mean by "perfectly" - Have you edited your skeleton dir?
> Why have you done that before knowing how to use cake?
Nope. When the new app folder is completely empty the skeleton is
copied. If (even empty) directories exist it's not.
I am sensing some sort of "hostility" attitude here. Perhaps I have a
really stupid misconception of how things are supposed to work or
perhaps you have a misconception I'm a newbie falsely blaming cake.
I'm just pointing out this issue to perhaps sort it out.
So to clarify, if for example the <folder>/Model folder exists but
it's empty and you cake bake for <folder>, /Model/AppModel.php will
never appear. Same for every other file in skeleton apart from
home.ctp and core.php
If you feel it ought to be like it is then fine by me, but it still
doesn't feel right.
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home