Search This Blog

Tuesday, June 1, 2010

Add Patches

I added a patch to the Jalview code for the first time. There's a bug with the annotations display preferences for the latest Jalview release (2.5), and Jim has implemented a patch with a temporary fix.

To add a patch in Eclipse:

  1. Menu > Windows > Open perspective > Others...> Team synchronizing

  2. Menu > Project > Apply patch...

  3. Select Clipboard and paste text from patch file, click next, select file you want to patch and click finish

You can also add a patch using the "patch" command on the command line:

  1. Open a terminal and change into the project directory.

  2. Apply the patch with
    patch -p0 -i patchfile

I found more information on applying patches here:

Info on applying patches

No comments:

Post a Comment