Comments on Set Up Eclipse PDT 2.0 On Eclipse 3.4 (Ganymede)
Set Up Eclipse PDT 2.0 On Eclipse 3.4 (Ganymede) This is a howto about setting up a proffessional PHP IDE using Eclipse by hand. I'll be using Eclipse PDT for PHP support. The PDT project provides a PHP Development Tools framework for the Eclipse platform. This project encompasses all development components necessary to develop PHP and facilitate extensibility. It leverages the existing Web Tools Project in providing developers with PHP capabilities. We will have in the end features like subversion support, edit remote files, database development, debugging and more.
60 Comment(s)
Comments
excellent guide!!!
This really helped me get through the installation. Appreciate the post.
Good blog site
Thank you very much admin
Nice tutorial. It was going along swimmingly until the final step; when I tried to add the PDT Feature, Eclipse complained about a missing dependency:
"Cannot complete the request. See the details.
Cannot find a solution satisfying the following requirements Match[requiredCapability: org.eclipse.equinox.p2.iu/javax.wsdl/[1.4.0.v200706111329,1.4.0.v200706111329]]."
Did you resolve the issue ?
Also has anyone come up against this issue & resolved it any help would be appreciated.
Brian
Follow this page install PDT 2.0 can skip over this dependency problem
http://wiki.eclipse.org/PDT/Installation#Eclipse_3.4_.2F_Ganymede_.2F_PDT_1.1
I build and run my PHP project successfully.
But Eclipse report PHP editor as below:
An error has occurred. See error log for more details.
org.eclipse.dltk.internal.ui.editor.EditorUtility.getEditorInputModelElement(Lorg/eclipse/ui/IEditorPart;Z)Lorg/eclipse/dltk/core/ISourceModule;
Didn't figure out root cause yet.
Same problem here
For Dynamic Languages Toolkit
Go to http://download.eclipse.org/technology/dltk/downloads/
Install the latest integration R1.0 instead of 0.95 and it should work
Finally i made it. Eclipse Ganymede with PDT 2.0 works very good. I love it!
PS: Nice Howto. Keep it going on!
Unsatisfied dependency: [org.eclipse.wst.common.ui 1.1.200.v200705302225] requiredCapability: osgi.bundle/org.eclipse.core.resources/[3.2.0,3.4.0) ??
What a royal pain. I've been working on this for over 2 hours and still can't get the pdt to install. The original article may have been great when it was written, but, following it in detail and trying each of the suggestions in the comments still will not yield a working setup.
Perhaps usability/ease-of-installation needs to be a focus of future Eclipse development.
One more thing to try and then I'm giving up.
Install the latest integration R1.0 instead of 0.95 and it should work
Go to the Software updates and add this site, then update from it:
http://download.eclipse.org/technology/dltk/updates-dev/1.0
That will get you the 1.0 version of the DLTK, which works. The 0.95 version will not work with PDT 2.0.
You only need the DLTK Core piece, although I usually get the Javascript IDE as well.
Thank you very much for this useful article and the comments. I love this site as it contains good materials.
Nevermind my comment from yesterday - I figured out my problem. My version of the JRE was too old...
thank you
thanks for post
thanks very nice
Everything works great for me except for saving files via SFTP with RSE and PDT. I get this error:
"Save could not be completed. Operation not supported for specified element types."
If I use the default text editor everything works perfectly. A bummer. I can't wait until RSE and PDT play nice together .
Did you end up finding a solution for not being able to save php files with the RSE? Every other type of file works for me.
... as is this otherwise excellent walkthrough *thanks*:
dltk (Dynamic Languages Toolkit) is currently under Ganymede > Enabling Features > Dynamic Languages Toolkit - Core Frameworks (Incubation)
Disregarding the adventurous we'll all be waiting for the official implementation of PDT2 though, through http://download.eclipse.org/tools/pdt/updates/ (or http://download.eclipse.org/tools/pdt/updates/2.0/ which I accidentally found in my ‘Classic’ Update Sites after manually installing PDT v2, but is not found on Internet ...?)
Thank you very much!
this article to set up php with eclipse 3.4 works great. thank you.
I'm having some troubles with this approach. At the last step, adding PDT, Eclipse would crash just after clicking "Install..." in the update manager. I reviewed the log, which said java.lang.outOfMemory, but doubling the mem available for allocation didn't help, and while throwing the PDT files into the Eclipse folder will "install" the PDT, Eclipse still crashes.
Unfortunately, it might turn out to be a really annoying debugging session ahead, since Kubuntu popped up with an adept notice about JRE6 updates being available, which I installed, so it's might be trixy figuring out where the problem really is...
I'm trying the 1.0 integration build for the DTK right now, gonna try different things, cause I really want this to work. It seems to be really tricky to get PDT & Eclipse play nice with eachother.
I ended up using the latest nightly build from here: http://www.eclipse.org/pdt/downloads/.
I'm using also the latest generic Eclipse (3.4.1) and not JRE5 as recommended in the link above, but JRE6 - and it's SO much faster than JRE5, absolutely amazing. Everything's 64 bits.
A couple of the links to what they're using are dead, namely the DLTK, but that's not an issue, you can set up DLTK using the update manager link for the 1.0 integration build that they provide here: http://download.eclipse.org/technology/dltk/downloads/
Note that what's called "DLTK RSE Integration 1.0 Runtime" on the PDT nightly builds prerequisites list is actually included in the DLTK update manager link from above, it's called "Dynamic Languages Toolkit - Remote Development Support (Incubation)".
Also, when I got to installing the RSE 3.0 Runtime, Eclipse told me that a newer version was already installed, so I didn't need it :) Here are snapshots of my installed software list and repos list:
Hope this helps anyone :) PDT2+Eclipse 3.4.1 RULES!!!
çok thanks ederim.
Target Management Services are available under Ganymede update as of October 8th 2008.
Use:
Ganymede -> Remote Access and Device Development -> Target Management Service Discovery
Go Chargers!
dTb
This thing bombed
Cannot complete the request. See the details.
Unsatisfied dependency: [org.eclipse.php_feature.feature.group 2.0.0.v20080909-7H--E7QYGHNHWHW] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php.ui/[2.0.0.v20080909,2.0.0.v20080909]
Unsatisfied dependency: [org.eclipse.php_feature.feature.group 2.0.0.v20080909-7H--E7QYGHNHWHW] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php.debug.core/[2.0.0.v20080909,2.0.0.v20080909]
Unsatisfied dependency: [org.eclipse.php_feature.feature.group 2.0.0.v20080909-7H--E7QYGHNHWHW] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php.help/[2.0.0.v20080909,2.0.0.v20080909]
Unsatisfied dependency: [org.eclipse.php_feature.feature.group 2.0.0.v20080909-7H--E7QYGHNHWHW] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php/[2.0.0.v20080909,2.0.0.v20080909]
Unsatisfied dependency: [org.eclipse.php_feature.feature.group 2.0.0.v20080909-7H--E7QYGHNHWHW] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php.server.ui/[2.0.0.v20080909,2.0.0.v20080909]
Unsatisfied dependency: [org.eclipse.php_feature.feature.group 2.0.0.v20080909-7H--E7QYGHNHWHW] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php.debug.daemon/[2.0.0.v20080909,2.0.0.v20080909]
Unsatisfied dependency: [org.eclipse.php_feature.feature.group 2.0.0.v20080909-7H--E7QYGHNHWHW] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php.debug.ui/[2.0.0.v20080909,2.0.0.v20080909]
Unsatisfied dependency: [org.eclipse.php_feature.feature.group 2.0.0.v20080909-7H--E7QYGHNHWHW] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php.server.core/[2.0.0.v20080909,2.0.0.v20080909]
Cannot find a solution where both Match[requiredCapability: osgi.bundle/org.eclipse.wst.validation/[1.2.0,1.3.0)] and Match[requiredCapability: osgi.bundle/org.eclipse.wst.validation/[1.1.0,1.2.0)] can be satisfied.
Unsatisfied dependency: [org.eclipse.wst.common.ui 1.1.200.v200705302225] requiredCapability: osgi.bundle/org.eclipse.core.resources/[3.2.0,3.4.0)
I had this one too and found that installing EMF will correct it as the PDT lists it as a dependency. I installed Ganymede -> Models and Model Development -> EMF - Eclipse modeling framework and tools, EMF Compare (Incubation), EMF SDK, EMF Search.
As mentioned below v1.0 of dltk is required but with those minor adjustments all is running nicely.
I've been using NetBeans and have been gradually getting more annoyed as the performance is reducing with every release, I'm glad to finally have an alternative Java/Javascript/PHP IDE to try and so far I'm quite impressed.
Great work on the howto.
Anyone having issues that pdt 2.0 lacks some features from 1.0? Maybe I have a bad build or an Aptana conflict, but Im not sure. It seems that the autocomplete isn't as intelligent as it once was. Before I could type in
/* @var $var My_Class */
anywhere in a method after the $var is set and it would automatically complete $var-> statements, now its limited to using properly commented class properties (i.e. $this->var), not inline variables. I also cant bind template proposals to keys, and the outline view doesn't go through the whole class hierarchy when extending from lib classes (zend framework, etc), just the current class.
Same problem here. This is a BIG step back as I used it all the time to check for inherited properties etc.
Does anybody know a way to solve this? Is there a preference somewhere?
Thank you sir, this worked perfectly for me after many frustrated attempts on my own to get it working. Using the integration download as opposed to the update site seemed to do the trick for me. Nice one!
thank you
Had to download dltk-core-S-1.0M2 to fix dependency issues.
For the Target Management I had to choose Service Discovery from v3.0 and the rest of the TM installs from v3.0.1
Last thing. I kept getting errors like OLE not registered or it threw random errors. So to avoid such errors create a new Workspace if your going to be installing PDT2 in to an existing Eclipse install.THANK YOU! Finally a PDT/Ganymede installation howto that works.
Cannot complete the request. See the details.
Unsatisfied dependency: [org.eclipse.php_feature.source.feature.group 2.0.0.v20081113] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.php_feature.source/[2.0.0.v20081113,2.0.0.v20081113]
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.doc.user/[3.0.1.v200809041200,3.0.1.v200809041200]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.doc.user/[3.0.0.v20080609,3.0.0.v20080609]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.processes.ui/[3.0.1.v20080714,3.0.1.v20080714]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.processes.ui/[3.0.0.v20080604,3.0.0.v20080604]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.files.ui/[3.0.1.v200809171600,3.0.1.v200809171600]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.files.ui/[3.0.0.v20080609,3.0.0.v20080609]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.shells.ui/[3.0.1.v20080710,3.0.1.v20080710]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.shells.ui/[3.0.0.v20080606,3.0.0.v20080606]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.team.ui/[3.4.1.r34x_20080827,3.4.1.r34x_20080827]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.team.ui/[3.4.0.I20080604,3.4.0.I20080604]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.cheatsheets/[3.3.101.v20080702_34x,3.3.101.v20080702_34x]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.cheatsheets/[3.3.100.v20080508,3.3.100.v20080508]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.intro/[3.2.201.v20080702_34x,3.2.201.v20080702_34x]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.intro/[3.2.200.v20080610,3.2.200.v20080610]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.core.feature.jar/[3.0.1.v200809171600-7Z379EB7sQS9S4YPJaHC,3.0.1.v200809171600-7Z379EB7sQS9S4YPJaHC]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.core.feature.jar/[3.0.0.v20080609-7Z3-EB7sQS9RiVd,3.0.0.v20080609-7Z3-EB7sQS9RiVd]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.equinox.security/[1.0.0.v20080512-1800,1.0.0.v20080512-1800]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.equinox.security/[1.0.1.R34x_v20080721,1.0.1.R34x_v20080721]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.ide/[3.4.1.M20080903-2000,3.4.1.M20080903-2000]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.ide/[3.4.0.I20080606-1300,3.4.0.I20080606-1300]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.navigator/[3.3.101.M20080827-0800,3.3.101.M20080827-0800]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.navigator/[3.3.100.I20080606-1300,3.3.100.I20080606-1300]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.ui/[3.0.1.v200809041200,3.0.1.v200809041200]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.ui/[3.0.0.v20080613,3.0.0.v20080613]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.core.resources/[3.4.1.R34x_v20080902,3.4.1.R34x_v20080902]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.core.resources/[3.4.0.v20080604-1400,3.4.0.v20080604-1400]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.platform/[3.3.101.v200809111700,3.3.101.v200809111700]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.platform/[3.3.100.v200806172000,3.3.100.v200806172000]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.debug.ui/[3.4.1.v20080811_r341,3.4.1.v20080811_r341]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.debug.ui/[3.4.0.v20080529-1300,3.4.0.v20080529-1300]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.subsystems.processes.shell.linux/[1.1.1.v20080714,1.1.1.v20080714]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.subsystems.processes.shell.linux/[1.1.0.v20080604,1.1.0.v20080604]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ltk.core.refactoring/[3.4.1.r341_v20080716-0800,3.4.1.r341_v20080716-0800]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ltk.core.refactoring/[3.4.0.v20080603-2000,3.4.0.v20080603-2000]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.subsystems.files.core/[3.0.1.v200809041200,3.0.1.v200809041200]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.subsystems.files.core/[3.0.0.v20080606,3.0.0.v20080606]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.services/[3.0.1.v200809091230,3.0.1.v200809091230]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.services/[3.0.0.v20080604,3.0.0.v20080604]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.core/[3.0.1.v200809111820,3.0.1.v200809111820]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rse.core/[3.0.0.v20080616,3.0.0.v20080616]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ltk.ui.refactoring/[3.4.1.r341_v20080716-0800,3.4.1.r341_v20080716-0800]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ltk.ui.refactoring/[3.4.0.v20080605-1800,3.4.0.v20080605-1800]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.views.properties.tabbed/[3.4.1.M20080730-0800,3.4.1.M20080730-0800]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.views.properties.tabbed/[3.4.0.I20080527-2000,3.4.0.I20080527-2000]] can be satisfied.
Cannot find a solution where both Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.search/[3.4.1.r341_v20080813-0800,3.4.1.r341_v20080813-0800]] and Match[requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.search/[3.4.0.v20080603-2000,3.4.0.v20080603-2000]] can be satisfied.
thanks a lots of.
This is wrong howto for stable PDT 2.0 :)
This is right howto:
http://wiki.eclipse.org/PDT/Installation#Eclipse_3.4_.2F_Ganymede_.2F_PDT_2.0
Thank you very much!
thank you very good
thanks.. ver much
thakns yo u
thanks a lot
thanks admin.. very good informations.
good article and post. thanks admin.
DLTK is comprised of a set of extensible frameworks designed to reduce the complexity of building full featured development environments for dynamic languages.
I follow your site constantly and offers a very good share.
This is a BIG step back as I used it all the time to check for inherited properties etc. Does anybody know a way to solve this? Is there a preference somewhere?
thank you admin very beatifull archile
Thank you very much for everything you share Mr. admin guys were good. good work.
I made it as far as the last step but when I downloaded
2.2.0 Integration Builds
I went to the file that I downloaded and looked at it but did not find the "PDT Feature"
Can someone tell me what I am missing.
I see it, thank you very much
This how-to was really helpful. I was pretty lost in eclipse before I found this post.
Very cool app. Can you tell me where to download the Help files? Apparently they didn’t make it during the install process, so it won’t load them. Thanks!
thanks for post admin. very nice article
Thank you for sharing, I previously had problems with that, couldn't apply to my system , but thanks to your post it works now!
Hi there, Nice guide! Here is a complete guide for ubuntu on how to setup a PHP development environment in Linux Ubuntu 10.04 or 11.04 with the new Eclipse Indigo 3.7 IDE, LAMP and Debugging. Check it out here: How To Setup a Local PHP Development Environment in Linux Ubuntu 11.04 with Eclipse Indigo 3.7, LAMP & Xdebug [Developer]