I've followed that article and it works great. I'm not an expert in eclipse, my only experience with it was that tutorial. So, once it worked, never touched it again.
I have this directory layout: $HOME/php/ <------- the webroot and eclipse workplace cake (the core) project1 (app for project1) project2 (app for project2) On 2/23/08, Technoguru <[EMAIL PROTECTED]> wrote: > > I have been following the tutorial at > http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake, > in order to setup a cakePHP and Eclipse Environment that will give me > the ability to use cakePHP code completion, as well as run the bake > script in the Eclipse Workspace. However it does not seem to work. I > am using CakePHP 1.2 and Eclipse 3.3.1 on a Windows XP, that has > Apache, PHP, and MYSQL already installed. I get to the point labeled > "Defining projects" in the tutorial, and can't get cake and my project > to link up. > Can someone explain how my files need to be setup (where do I place > the core, and where my projects go in relation to it), how to link the > cake core files into my project so I have access to its classes, how > to verify that the link was made, and finally the syntax to setup the > bake script. The more detail, the better. Thank you very much. > > UPDATE > > I have made some progress, but the controller still does not inherit > the core classes. Here is how far I have gotten: > 1. I installed Eclipse PDT > 2. I noticed that I was on the PHP navigator and not the PHP explorer > initially, so I opened the explorer by going to Windows -> Show View - > > Other -> PHP Explorer (Under PHP tools) > > 3. I had to convert the project to a PDT project in order to get the > "Include Path" ability. Right click the project, and click "Convert to > PDT project". Now if you right click you will see the "Include > Path"options. > After including the path to the cake core, it stills seems like it is > not working. I look in the Outline, and the core classes are not > present, and auto complete does not work. Can someone please help us > out. Thanks. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---