On Nov 6, 4:17 am, John <[email protected]> wrote: > Let's take an empty folder, hereafter as... <folder> (!) and extract a > fresh cake 2.0 download. > > That leaves you with files in <folder>\app, <folder>\lib etc. > > Run "cake bake project" inside <folder>. Cake understands your app > name as <folder> and path as <path_to_folder>. > > Then strangely it offers <path_to_folder>\myapp as the path to the > project
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: > > <quote> > First, realize that there are three main parts to a Cake application: > > The core CakePHP libraries, in /lib/Cake. > Your application code, in /app. > The application’s webroot, usually in /app/webroot. > </quote> A cake install can have multiple applications the empty one that comes with the download is named app. > > 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? Why would you expect baking a new project to overwrite an existing project? > 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? > > Unable to set console path for app/Console. > CakePHP is not on your `include_path`, CAKE_CORE_INCLUDE_PATH will be > hard coded > . > You can fix this by adding CakePHP to your `include_path`. > Unable to set CAKE_CORE_INCLUDE_PATH, you should change it in > <path_to_folder>\app\webroot\index.php That doesn't sound like an error, it sounds like another misunderstanding/misreading of what it's telling you to do. > Project baked but with some issues.. > > All other folders have an "empty." file inside just like after the > extract. Can you clarify what you were expecting to happen? > > 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? AD -- 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
