migration.dita 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <reference id="ID">
  5. <title>Migrating customizations</title>
  6. <shortdesc>If you have XSL transformation overrides, plug-ins or other customizations written prior to DITA-OT
  7. <keyword keyref="release"/>, you may need to make changes to ensure your overrides work properly with the latest
  8. toolkit versions. </shortdesc>
  9. <prolog>
  10. <metadata>
  11. <keywords>
  12. <indexterm>upgrading<indexterm>plug-ins</indexterm></indexterm>
  13. <!-- LE: Only first alphabetical index-see-also prints in the index -->
  14. <indexterm>upgrading<index-see-also>migrating</index-see-also><index-see-also>installing</index-see-also></indexterm>
  15. <indexterm>migrating</indexterm> <!-- LE: Build crash for the line above if this line does not exist even though
  16. the line below does. Its existence causes duplicate page number to be emitted. Also, the line below does not generate a range. The @end is in migrating-to-1.5.4.dita. -->
  17. <indexterm start="migrate">migrating</indexterm>
  18. <indexterm>plug-ins<indexterm>upgrading</indexterm></indexterm>
  19. <indexterm>installing</indexterm>
  20. </keywords>
  21. </metadata>
  22. </prolog>
  23. <refbody>
  24. <section>
  25. <p>In some cases, you may be able to remove old code that is no longer needed. In other cases, you may need to
  26. refactor your code to point to the modified extension points, templates or modes in recent toolkit versions.</p>
  27. <p>When migrating customizations, identify the version of the toolkit you're currently using (base version) and
  28. the version of the toolkit you want to migrate to (target version). Then, review all of the migration changes
  29. described in <i>all</i> of the versions from the base through the target. For instance, if you're currently on
  30. 2.2 and want to move to 3.3, you should review all of the changes in 2.3 through 3.3. You may want to start at
  31. the oldest version and read forward so you can chronologically follow the changes, since it is possible that
  32. files or topics have had multiple changes. </p>
  33. <note><p conkeyref="conref-task/semver-info" conrefend="semver-plugins"/></note>
  34. </section>
  35. </refbody>
  36. </reference>