Upgrading / Migrating Templates and Snippets Customizations |
First you need to view all changes you made on templates and snippets. You need to have both versions of each customized template and snippet, the original version and the customized one. You now need to use a diff tool that extracts all differences between both set of templates and snippets.
$ diff -u /some/where/original-snippet.xhtml /some/where/else/customized-snippet.xhtml > snippet.patch
$ diff -u /opt/gas/tpl/SetAjax/Image.xhtml /opt/gas/tpl/MyCustomSetAjax/Image.xhtml > Image.xhtml.patch
The recommended diff tool on Windows is the Open Source WinMerge tool.
Once WinMerge is installed, do the following:
Figure 1. Select WinMerge
Figure 2. Select Files or Folders dialog
Figure 3. Display of differences between files
Figure 4. Patch Generator dialog
Repeat theses steps for all you modified templates and/or snippets.