determining-version-of-ditaot.dita 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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
  14. <indexterm>DITA-OT version</indexterm></indexterm>
  15. <indexterm>Linux
  16. <indexterm>DITA-OT version</indexterm></indexterm>
  17. <indexterm>Windows
  18. <indexterm>DITA-OT version</indexterm></indexterm>
  19. <indexterm>command line
  20. <indexterm>checking DITA-OT version</indexterm></indexterm>
  21. <indexterm>installing
  22. <indexterm>check current version</indexterm></indexterm>
  23. </keywords>
  24. </metadata>
  25. </prolog>
  26. <taskbody>
  27. <steps>
  28. <step>
  29. <cmd conkeyref="conref-task/open-terminal"/>
  30. </step>
  31. <step>
  32. <cmd>Issue the following command:</cmd>
  33. <choicetable frame="topbot" relcolwidth="1* 3*">
  34. <chrow platform="linux mac">
  35. <choption>Linux or macOS&#xA0;</choption>
  36. <chdesc>
  37. <cmdname>bin/dita</cmdname>
  38. <parmname>--version</parmname>
  39. </chdesc>
  40. </chrow>
  41. <chrow platform="windows">
  42. <choption>Windows</choption>
  43. <chdesc>
  44. <cmdname>bin\dita</cmdname>
  45. <parmname>--version</parmname>
  46. </chdesc>
  47. </chrow>
  48. </choicetable>
  49. <info>
  50. <note conkeyref="conref-task/dita-in-path"/>
  51. </info>
  52. </step>
  53. </steps>
  54. <result>
  55. <p>The DITA-OT version number appears on the console:</p>
  56. <codeblock><systemoutput>DITA-OT version <keyword keyref="maintenance-version"/></systemoutput></codeblock>
  57. </result>
  58. </taskbody>
  59. </task>