next up previous contents index
Next: PathConvert Up: Patch Previous: Parameters   Contents   Index

Examples

  <patch patchfile="module.1.0-1.1.patch"/>
applies the diff included in module.1.0-1.1.patch to the files in base directory guessing the filename(s) from the diff output.
  <patch patchfile="module.1.0-1.1.patch" strip="1"/>
like above but one leading directory part will be removed. i.e. if the diff output looked like
--- a/mod1.0/A  Mon Jun  5 17:28:41 2000
+++ a/mod1.1/A  Mon Jun  5 17:28:49 200
the leading a/ will be stripped.



Andrew Marlow 2003-07-08