want_to_be_calm
want_to_be_calm

Reputation: 1627

How to install a patch for Eclipse PDT bug fix

I have problem when running using xdebug for PHP. The step over is not work.

I found in google there is a bug fix for 3.3.1 PDT. I found this page https://bugs.eclipse.org/bugs/show_bug.cgi?id=445903#c3 and then follow this link in the page https://git.eclipse.org/r/34466. Then I issue the command

git clone git://git.eclipse.org/gitroot/pdt/org.eclipse.pdt

Then right click my PHP project and select Team-> Apply patch, however eclipse cannot find the patch file. Should I compile the code first or am I pulling the wrong git?

Thanks

Upvotes: 0

Views: 400

Answers (1)

zulus
zulus

Reputation: 2505

Patch was merged into master, so easiest way to "patch" is install latest nightly.

See also this thread: https://www.eclipse.org/forums/index.php/t/823451/

As an alternative, you can build own compilation:

  1. Build with -DskipTests based on this tutorial: https://wiki.eclipse.org/PDT/Contributing#Quick_guide
  2. Add local update site into your eclipse repository list: GITROOT/dev/org.eclipse.php-repository/target/repository
  3. Install by help->install new software.

Upvotes: 1

Related Questions