Home Forums DITA and XMetaL Discussion How to prevent DITA-OT copy to user directory? Reply To: How to prevent DITA-OT copy to user directory?

jperkins

Reply to: How to prevent DITA-OT copy to user directory?

Sorry to resurrect such an old thread, but we finally addressed this problem and I wanted to post the solution in case it might help someone else.

If you want to use your own version of the DITA-OT, and don't want it copied into the Application Data folder, you need to comment out line 2466 of DITAXACssharedDitaRenditions.js:

[code]dita_ot_dir = this.CheckForDitaUpdate(dita_ot_dir);[/code]

We had been letting XMetaL copy our toolkit, and just updating the version number in dita_print.txt, as Derek suggested above. But it recently stopped working, and would prompt to copy the OT on every transform. Since we are still in active development and change our DITA-OT plugins frequently, we decided to bite the bullet, modify core, and shut the feature off.

Reply

Products
Downloads
Support