Eclipse

Last modified: April 8, 2009 - 03:15

Create patches using Eclipse

Please review this useful article at http://docs.moodle.org/en/Development:Setting_up_Eclipse that includes instructions on creating a cvs patch while in Eclipse. It says:

Creating a patch

In the synchronise view, right click on an item (file or folder) and choose Create Patch.... Or in the navigator, right click on an item and choose Team -> Create Patch....

This brings up a two-page wizard. On the first page you can select where you want the patch made. For small patches it can be useful to create them on the clipboard, but normally you will want to save them in a file.

On the second page, you can set some options, but normally you don't need to change the defaults which are Unified diff format, and Patch root set to Workspace. Well, sometimes it is helpful to change the second one to Project but it is not important.

There is a corresponding apply patch wizard that you can use to apply a patch to a project.

 
 

Drupal is a registered trademark of Dries Buytaert.