How Can I Apply Patch? (Windows OS)#

I couldn't find any information about applying patch for JSPWiki in Windows OS. That's why I decided to create this page.
The problem is, that MS Windows hasn't patch.exe file by default. Solution is to download Patch For Windows, which you can find here http://gnuwin32.sourceforge.net/packages/patch.htm.
Install this stuff and copy patch.exe file from its folder to your c:\Windows folder.
Now you can apply patch, using command string patch −pnum <patchfile.
−pnum
Strip the smallest prefix containing num leading slashes from each file name found in the patch file. A sequence of one or more adjacent slashes is counted as a single slash. This controls how file names found in the patch file are treated, in case you keep your files in a different directory than the person who sent out the patch.
Example:

patch −p0 <rename-2.2.20.patch

-- Ihor Slabkyy (20-mar-2008)

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-5) was last changed on 20-Mar-2008 15:28 by IhorSlabkyy