Checking the DITA-OT version number

Post here questions and problems related to editing and publishing DITA content.
kate_lopresti
Posts: 2
Joined: Tue Aug 08, 2023 2:43 am

Checking the DITA-OT version number

Post by kate_lopresti »

How do I check the version of a DITA OT at a certain path?
Using the command

Code: Select all

dita --version
returns the OT I have installed locally, but my Oxygen projects can point to different team OTs. I'd like to double-check the version when I use them.
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Checking the DITA-OT version number

Post by Radu »

Hi Kate,
The command line looks correct:
https://www.dita-ot.org/dev/topics/dete ... -of-ditaot
What do you mean by "OT I have installed locally"? Did you change the environmental "PATH" variable in order to be able to run "dita" from any folder?
Maybe you could use the command prompt/terminal to navigate to the "DITA-OT\bin" folder and run from there "dita --version".
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
kate_lopresti
Posts: 2
Joined: Tue Aug 08, 2023 2:43 am

Re: Checking the DITA-OT version number

Post by kate_lopresti »

Thanks for the quick response. The environmental "PATH" variable was indeed the issue. I thought it had to do with the changing directory path. :/ Mystery solved.
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Checking the DITA-OT version number

Post by Radu »

Hi Kate,
Thanks for the update!
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply