List Info

Thread: Re: Eclipse 3.3.1 and Cake PHP 1.2




Re: Eclipse 3.3.1 and Cake PHP 1.2
user name
2008-02-24 08:49:03
Hi Technoguru,

I hope I understood your problem right:

Have you setup Eclipse to use the phpeditor as editor for
*.thtml ,
*.ctp and *.php files? See instructions on the article you
mentioned:
http://bakery.cakephp.org/articles/view/
setting-up-eclipse-to-work-wi...

If so: does the outline windows just say 'outline not
available' or
just nothing. Nothing means that you didn't have a
functions, class
etc in the current document. 'outline not available' means
that it
doesn't recognize the file as being php.

Have you called a core-class in your document? otherwise you
won't see
it in the ouline
Do you use Crtl-Space for autocomplete?
Is cake listed in the Include Path folder in the explorer
windows?

NB: I always -> File: import: 'import as existing
project' my apps.

Cheers,
Ape




On Feb 23, 5:26 pm, Technoguru <Mrtechnog...gmail.com> wrote:
> I have been following the tutorial athttp://bakery.cakephp.org/articles/view/
setting-up-eclipse-to-work-wi...,
> 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-phpgooglegroups.com
To unsubscribe from this group, send email to
cake-php-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )