determining-version-of-ditaot.dita 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
  3. <!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
  4. <task id="determining-version-of-dita-ot">
  5. <title>Checking the DITA-OT version number</title>
  6. <titlealts>
  7. <navtitle>Checking the version</navtitle>
  8. </titlealts>
  9. <shortdesc>You can determine the DITA Open Toolkit version number from a command prompt.</shortdesc>
  10. <prolog>
  11. <metadata>
  12. <keywords>
  13. <indexterm>macOS<indexterm>DITA-OT version</indexterm></indexterm>
  14. <indexterm>Linux<indexterm>DITA-OT version</indexterm></indexterm>
  15. <indexterm>Windows<indexterm>DITA-OT version</indexterm></indexterm>
  16. <indexterm>command line<indexterm>checking DITA-OT version</indexterm></indexterm>
  17. <indexterm>installing<indexterm>check current version</indexterm></indexterm>
  18. </keywords>
  19. </metadata>
  20. </prolog>
  21. <taskbody>
  22. <steps>
  23. <step>
  24. <cmd conref="../resources/conref-task.dita#ID/open-terminal"/>
  25. </step>
  26. <step>
  27. <cmd>Issue the following command:</cmd>
  28. <choicetable frame="topbot" relcolwidth="1* 3*">
  29. <chrow platform="linux mac">
  30. <choption>Linux or macOS&#xA0;</choption>
  31. <chdesc>
  32. <cmdname>bin/dita</cmdname>
  33. <parmname>--version</parmname>
  34. </chdesc>
  35. </chrow>
  36. <chrow platform="windows">
  37. <choption>Windows</choption>
  38. <chdesc>
  39. <cmdname>bin\dita</cmdname>
  40. <parmname>--version</parmname>
  41. </chdesc>
  42. </chrow>
  43. </choicetable>
  44. <info>
  45. <note conref="../resources/conref-task.dita#ID/dita-in-path"/>
  46. </info>
  47. </step>
  48. </steps>
  49. <result>
  50. <p>The DITA-OT version number appears on the console:</p>
  51. <codeblock><systemoutput>DITA-OT version <keyword keyref="maintenance-version"/></systemoutput></codeblock>
  52. </result>
  53. </taskbody>
  54. </task>