This page contains out of date or incorrect information.
Please help update this page or other pages requiring updating.
Creating a patch file
NB: Read ContributionGuidelines before submitting a patch
FIXME: Probably needs more work, especially to do with patching only selected files and not whole tree
Right click on the DSpace project, select 'Team -> Create Patch'. Select 'save in file system' and a file name. Click 'Finish' (default options are OK).
Applying a patch file
FIXME: Probably needs more work, especially to do with patching only selected files and not whole tree
Right click on the DSpace project, select 'Team -> Apply Patch'. Select the patch file from your local system.
Assuming all the files listed in the 'Verify Patch' screen have green checkmarks, then the patch is ready to apply immediately. Otherwise you may want to try some of the following options:
- Try clicking on the "Guess" button near the Maximum fuzz factor. This sometimes helps Eclipse determine where the patched code is within files which you've locally modified.
- Any files which still have a red exclamation mark next to them are unable to be fully patched. Unfortunately, you'll have to patch these files manually. However, sometimes Eclipse is nice enough to create a
file for those files which did not complete successfully (e.g.Code Block *.rej
forCode Block home.jsp.rej
). Looking for thoseCode Block home.jsp
files is extremely helpful in determining what changes you'll have to make manually.Code Block *.rej