[Phpwm] PHP eclipse problem

pete graham petegraham1 at gmail.com
Wed Apr 26 09:10:17 BST 2006


I have been experimenting with PHPeclipse yesterday and today. Here is a
fairly big problem that I have run into that has stopped me from using it.

Eclipse generates a lot of warnings of type: "Include filename 'blah.php'
doesn't exist in project."

I tried to explicitly set the "Include Path" for the project in
"Project->Properties->PHP Project Settings->Include Paths" (although this
shouldn't be necessary because these paths are dynamically set by a
set_include_path() call in the script). This hasn't solved the problem.

All my projects have this structure

projectname/htdocs/        # actual website root
projectname/includes/      # mostly php classes and files with programming
logic
projectname/templates/   # html files, headers footers, etc

I find this an effective way of organising the files. It seems the only way
to get PHPeclipse to not generate the errors is to place all code in the
website root which I really don't want to do. Can anyone help me on this
problem?

I saw on a forum post that "working sets" may be able to solve my problem,
but I'm quite unclear on what these are.

Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/phpwm/attachments/20060426/25ce7fe8/attachment.html


More information about the Phpwm mailing list