determining-version-of-ditaot.dita 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 version number of the DITA Open Toolkit from a command prompt.</shortdesc>
  10. <taskbody>
  11. <steps>
  12. <step>
  13. <cmd conref="../resources/conref-task.dita#ID/open-terminal"/>
  14. </step>
  15. <step>
  16. <cmd>Issue the following command:</cmd>
  17. <choicetable frame="topbot" relcolwidth="1.0* 3.0*">
  18. <chrow platform="linux osx">
  19. <choption>Linux or macOS&#xA0;</choption>
  20. <chdesc>
  21. <cmdname>bin/dita</cmdname>
  22. <parmname>--version</parmname>
  23. </chdesc>
  24. </chrow>
  25. <chrow platform="windows">
  26. <choption>Windows</choption>
  27. <chdesc>
  28. <cmdname>bin\dita</cmdname>
  29. <parmname>--version</parmname>
  30. </chdesc>
  31. </chrow>
  32. </choicetable>
  33. <info>
  34. <note conref="../resources/conref-task.dita#ID/dita-in-path"/>
  35. </info>
  36. </step>
  37. </steps>
  38. <result>
  39. <p>The DITA-OT version number appears on the console:</p>
  40. <codeblock><systemoutput>DITA-OT version <keyword keyref="maintenance-version"/></systemoutput></codeblock>
  41. </result>
  42. </taskbody>
  43. </task>