Apply a patch

From MapbenderWiki

Jump to: navigation, search

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

  1. right-click on "mapbender" directory Team Apply patch
  2. select the file "next"
  3. review the changes
  4. "Finish"


See also: Create a patch

Views
Personal tools