Reputation:
I have a basic project that was created from a remote system using the eclipse tools to setup that connection. I right clicked on the folder on my remote system and chose create a new project. Now, I want to add PHP to the build path, but it is just a basic project. How do I quickly add those libraries with Eclipse PDT or Zend Studio installed?
Upvotes: 5
Views: 5223
Reputation: 4464
If there's no file .buildpath
in the project's folder (and no "Buildpath" option to be found in the project's context menu), then just create a new file .buildpath
with this content:
<?xml version="1.0" encoding="UTF-8"?>
<buildpath>
<buildpathentry kind="src" path=""/>
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
</buildpath>
Upvotes: 0
Reputation: 761
When Add PHP Support is disabled but PHP libraries are not included.
Code:
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
Upvotes: 6
Reputation: 316969
Not sure if this what you are looking for, but try
In case you want to configure the include_path
:
If both of this is not what you are looking for, please clarify the question.
Upvotes: 3