Apply a patch
From MapbenderWiki
You can apply a patch in various ways:
command line
Change directory to the Mapbender directory and type
patch < filename
for further reading, visit Wikipedia's article on patch (UNIX)
A patch that is written against the svn-root needs to be aplied a slightly diffeent way when using it for mapbender installation that was installed from a tarball.
path -p2 < filename
'p2' instructs patch to removes 'branches/2.6/' from all the paths in the patchfile.
Eclipse
- right-click on "mapbender" directory → Team → Apply patch
- select the file → "next"
- review the changes
- "Finish"
See also: Create a patch
