migrating-to-3.0.dita 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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="migrating-to-3.0">
  5. <title>Migrating to release 3.0</title>
  6. <titlealts>
  7. <navtitle>To 3.0</navtitle>
  8. </titlealts>
  9. <shortdesc>DITA-OT 3.0 <ph id="summary">adds support for Markdown, normalized DITA output, and the alternative
  10. authoring formats proposed for Lightweight DITA. The map-first preprocessing approach provides a modern
  11. alternative to the default <codeph>preprocess</codeph> operation.</ph></shortdesc>
  12. <prolog>
  13. <metadata>
  14. <keywords>
  15. <indexterm>Lightweight DITA</indexterm>
  16. <indexterm>GitHub</indexterm>
  17. </keywords>
  18. </metadata>
  19. </prolog>
  20. <refbody>
  21. <section>
  22. <note>This topic provides a summary of changes in DITA-OT 3.0 that may require modifications to custom stylesheets
  23. or plug-ins. For more information on changes in this release, see the
  24. <xref keyref="3.0-release-notes"/>.</note>
  25. </section>
  26. <section conkeyref="reusable-components/use-xslt2"/>
  27. <section id="30-legacy-plugin-removal">
  28. <title>Legacy plug-ins removed</title>
  29. <div outputclass="div-index">
  30. <indexterm>JavaHelp</indexterm>
  31. <indexterm>deprecated features<indexterm>JavaHelp plug-in</indexterm></indexterm>
  32. <indexterm>plug-ins<indexterm>JavaHelp</indexterm></indexterm>
  33. </div>
  34. <p>DITA-OT 3.0 no longer includes the following legacy transformation plug-ins in the default distribution:</p>
  35. <table outputclass="table-hover" frame="none" colsep="0" rowsep="1">
  36. <title>Legacy plug-ins</title>
  37. <tgroup cols="2">
  38. <colspec colwidth="1*"/>
  39. <colspec colwidth="1*"/>
  40. <thead>
  41. <row>
  42. <entry>Plug-in </entry>
  43. <entry>Source code location</entry>
  44. </row>
  45. </thead>
  46. <tbody>
  47. <row>
  48. <entry>JavaHelp<indexterm>JavaHelp</indexterm></entry>
  49. <entry>
  50. <xref href="https://github.com/dita-ot/org.dita.javahelp" format="html" scope="external"/></entry>
  51. </row>
  52. </tbody>
  53. </tgroup>
  54. </table>
  55. <note>If necessary, legacy plug-ins may be re-installed from earlier DITA-OT distributions, but they are no longer
  56. actively maintained or supported by the core toolkit committers. The source code is available on GitHub for
  57. anyone interested in maintaining the plug-ins for use with future toolkit versions.</note>
  58. <p>To re-install the JavaHelp plug-in, run the following command:</p>
  59. <codeblock><cmdname>dita</cmdname> <parmname>--install</parmname>=<filepath>https://github.com/dita-ot/org.dita.javahelp/archive/2.5.zip</filepath></codeblock>
  60. </section>
  61. <section id="map-first">
  62. <title>Map-first preprocessing</title>
  63. <p><ph conref="../reference/map-first-preprocessing.dita#ID/map-first-preproc-desc"/></p>
  64. <p conkeyref="reusable-components/no-internal-preprocess2-ext"/>
  65. <note type="tip">See
  66. <xref keyref="map-first-preproc"/> for information on how to use (or test) map-first preprocessing, or revert to
  67. the default <codeph>preprocess</codeph> target.</note>
  68. </section>
  69. <section>
  70. <title>New <codeph>ant.import</codeph> extension point</title>
  71. <p>A new extension point has been added to make it easier to add new targets to the Ant processing pipeline.</p>
  72. <p>Earlier versions of DITA-OT use the <codeph>dita.conductor.target.relative</codeph> to call a wrapper file with
  73. a dummy task that imports the Ant project file. This approach is still supported for backwards compatibility,
  74. but the simpler <codeph>ant.import</codeph> approach should be used for all new customizations. </p>
  75. <note type="tip">See
  76. <xref keyref="plugin-anttarget"/> for details.</note>
  77. </section>
  78. </refbody>
  79. </reference>