Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Include path not modified
Include path not modified [message #1182583] Tue, 12 November 2013 09:28 Go to next message
Alexandre Russo is currently offline Alexandre RussoFriend
Messages: 4
Registered: November 2013
Junior Member

Hi everybody,

i have one problem with eclipse, but i don't know if it's a problem with php's configuration or a bug with eclipse.

I have 2 projects (project A & project B).

Project A is a php framework

Project B need project A.

So with Eclipse, i right click on project B → properties → project references → Project A is checked.

But when i execute my code (project B) like :

<?php var_dump( get_include_path() ); ?>


My project A is not in the include path.

Someone can help me ?

Thank you.

I use Eclipse JUNO from eclipse.org (not debian repository) on Linux Debian.

[Updated on: Tue, 12 November 2013 15:02]

Report message to a moderator

Re: Include path not modified [message #1184046 is a reply to message #1182583] Wed, 13 November 2013 07:25 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
>So with Eclipse, i right click on project B → properties → project references → Project A is checked.

"Project References" has no relation to PDT. It is a feature of Eclipse Platform but PDT doesn't use it.
You need to configure "PHP Include Path".
Read Help contents, http://www.eclipse.org/pdt/help/html/adding_elements_to_a_project_s_include_path.htm also.(even though it is not up to date)
(Settings for IDE doesn't affect web server settings, to make sure)
Re: Include path not modified [message #1184095 is a reply to message #1184046] Wed, 13 November 2013 08:10 Go to previous messageGo to next message
Alexandre Russo is currently offline Alexandre RussoFriend
Messages: 4
Registered: November 2013
Junior Member

Sorry.

i make : right click on B project → properties → PHP Include Path → [Projects] → Add → I check my project A. But didn't work.

<?php
echo get_include_path(); ?>


don't contains my project.

[Updated on: Wed, 13 November 2013 08:12]

Report message to a moderator

Re: Include path not modified [message #1184162 is a reply to message #1184095] Wed, 13 November 2013 09:05 Go to previous message
Alexandre Russo is currently offline Alexandre RussoFriend
Messages: 4
Registered: November 2013
Junior Member

Ok i have found my problem. It's not a problem with Eclipse PDT but with my server configuration. Sorry and thank u Smile
Previous Topic:Debugging PHP using google-chrome and xdebug
Next Topic:Forms
Goto Forum:
  


Current Time: Thu Mar 28 08:28:28 GMT 2024

Powered by FUDForum. Page generated in 0.02440 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top