Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Configure "PHP Language library"
icon5.gif  Configure "PHP Language library" [message #654889] Thu, 17 February 2011 14:26 Go to next message
Lord_Navro  is currently offline Lord_Navro Friend
Messages: 3
Registered: January 2011
Junior Member
Hi,
i created a Remote project, added PHP support (right click -> configure -> add PHP support...., thus added 3 items to the PHP Explorer - PHP Include path, PHP Language Library and Javascript resources). However, the PHP Language Library is empty, and I cant find a way to change this. Note that when creating a local project ( == not using RSE), the Language Library comes filled with all the stuff (Core API etc.), but this does not happen by the remote one. Thanks for any suggestion.
Re: Configure "PHP Language library" [message #671639 is a reply to message #654889] Wed, 18 May 2011 14:38 Go to previous messageGo to next message
Eduardo Cuomo is currently offline Eduardo CuomoFriend
Messages: 2
Registered: May 2011
Junior Member
Add "Crore API" to "PHP Language Library" in Eclipse PHP Project.

Solution:

0) Close Eclipse.
1) Go to project path.
2) Open ".buildpath" with text editor (gedit, VIM, notepad, etc).
3) Add next line after "<buildpath>" line:
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>

Example:
Before:
<?xml version="1.0" encoding="UTF-8"?>
         <buildpath>
            <buildpathentry kind="src" path="library"/>
            <buildpathentry kind="src" path="public"/>
            <buildpathentry kind="src" path="application"/>
         </buildpath>

After:
<?xml version="1.0" encoding="UTF-8"?>
         <buildpath>
            <buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
            <buildpathentry kind="src" path="library"/>
            <buildpathentry kind="src" path="public"/>
            <buildpathentry kind="src" path="application"/>
         </buildpath>

4) Save file and exit!
5) Open Eclipse.
6) WORK!
Re: Configure "PHP Language library" [message #671649 is a reply to message #654889] Wed, 18 May 2011 14:57 Go to previous message
Eduardo Cuomo is currently offline Eduardo CuomoFriend
Messages: 2
Registered: May 2011
Junior Member
Add "Crore API" to "PHP Language Library" in Eclipse PHP Project.

Solution:

0) Close Eclipse.
1) Go to project path.
2) Open ".buildpath" with text editor (gedit, VIM, notepad, etc).
3) Add next line after "<buildpath>" line:
<buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>

Example:
Before:
<?xml version="1.0" encoding="UTF-8"?>
         <buildpath>
            <buildpathentry kind="src" path="library"/>
            <buildpathentry kind="src" path="public"/>
            <buildpathentry kind="src" path="application"/>
         </buildpath>

After:
<?xml version="1.0" encoding="UTF-8"?>
         <buildpath>
            <buildpathentry kind="con" path="org.eclipse.php.core.LANGUAGE"/>
            <buildpathentry kind="src" path="library"/>
            <buildpathentry kind="src" path="public"/>
            <buildpathentry kind="src" path="application"/>
         </buildpath>

4) Save file and exit!
5) Open Eclipse.
6) WORK!
Previous Topic:Error in Selection Job Title
Next Topic:Remote Debugging
Goto Forum:
  


Current Time: Fri Mar 29 01:57:12 GMT 2024

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

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

Back to the top