How do I add a patch to an eclipse ide?

2019-08-19 00:15发布

问题:

About once every couple months I find out that some irritating thing that Zend Studio does "will be fixed in the next version - or you can add the patch now". Adding a patch isn't exactly intuitive though - I've deadended a couple times.

Could someone lay out the steps for me? For example, applying the patch mentioned in this post.

(I asked this question a while ago on the zend forums, but it was never answered.)

回答1:

To apply such a patch, you have to

  1. Download the source code of the corresponding Zend Studio/Eclipse plug-in into an Eclipse workspace that has the Plug-in development environment.
  2. Then you can right click on the project, and select Team/Apply patch from the context menu.
  3. And finally build and export the resulting plug-in, and install it into your environment.

Yes, it is not that simple, because in this case you have to recompile a part of the environment you are working with.